[MPlayer-users] Need your help in software engineering
moritz at bunkus.org
Thu Apr 24 22:31:11 CEST 2003
Usually the different media formats can be identified by inspecting the
first few (or more) bytes of a file. A lot of formats have a unique
signature right at the beginning. So for your ficitive project you'd
have to gather information about these signatures.
Once you've got the signatures you also need to know each format's
layout. Some formats, like MP3, are very limited in what they can store,
and others, like AVI or Ogm, can contain a lot of other codecs. For
these formats you usually create structs that will hold the headers from
that file. Some header fields usually contain a description of the
codec. One common description is the FourCC, a four byte long
number/string which might read 'DivX'.
==> Ciao, Mosu (Moritz Bunkus)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the MPlayer-users