[MPlayer-users] information about video headers needed

Alban Bedel albeu at free.fr
Wed Mar 27 00:15:02 CET 2002


Hi phoen][x,

on 26 Mar 2002 23:16:00 +0100 you wrote:

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> hoy
> 
> i know that i might be in the wrong place. but i'm so desperate that i
> have to try to find help on this very mailing list:
> 
> i want to write a program which detects the movie resolution and some
> other informations of my video files. (like fourcc in avi). avi just
> works great - i found the specs after 5 mins of browsing, but i cant
> find informations about the mpeg header anywhere on the net. (i
> performed lotsa google searches, but nothing was useful)
> 
> i also tried to find the appropriate lines of code in mplayer, but i'm
> not a master of c so i didnt get any far.
> 
> well, lets hope that somebody knows a link (or the header specifications
> by heart).
> 

Quick awnser. Study libmpdemux, each format is handlled in the demux_*.c files.
Some formats even have a *header.c wich only handle header parsing. For the others
they either have a dedicated function or it's done inside the open function.
	Albeu




More information about the MPlayer-users mailing list