Thread: Question about Video Encoding

  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    6

    Question about Video Encoding

    I'm not sure if this is too general a question to ask on this board, so please let me know if this is not appropriate.

    I'm wondering if there are any sites online that will give me the detailed specification for the exact structure popular video formats (like mpeg, realplayer, wmv, etc), with information such as this, which is for bmp:

    http://www.fortunecity.com/skyscrape.../bmpffrmt.html

    That is, which bits encode what, and what I need to know in order to decode frames of the video.

    I'm thinking about writing a program that can convert some popular formats into "keyframe only" format, and I feel like if I can decode the meaning in the video files, I might have a chance at doing that.

    Thanks

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    MPEG has a website, with some details about the spec -- google and you'll find it. I'm sure real and wmv are also findable, but that would take more effort than I'm willing to put it in right now

  3. #3
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    There are already codecs that do that for you. They are called lossless. One example if huffyuv.
    You also need to take into account the container. The container contains the video, the audio, subtitles and more. There are a few popular formats.
    The old avi. The somewhat rare ogm. The standard mp4. The all-powerful mkv.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Question about capDlgVideoSource
    By h3ro in forum Windows Programming
    Replies: 2
    Last Post: 09-01-2008, 02:43 PM
  2. Creating handheld video games(odd question)
    By nubby in forum Tech Board
    Replies: 0
    Last Post: 03-11-2008, 04:18 PM
  3. Design layer question
    By mdoland in forum C# Programming
    Replies: 0
    Last Post: 10-19-2007, 04:22 AM
  4. I have a video question
    By Shadow in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 02-15-2003, 10:13 PM