[MPlayer-users] Need your help in software engineering

Moritz Bunkus moritz at bunkus.org
Thu Apr 24 22:31:11 CEST 2003


Hi.

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
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20030424/6c7db930/attachment.pgp>


More information about the MPlayer-users mailing list