[MPlayer-dev-eng] [PATCH] seekbar support for mp4 files

Jérôme Petazzoni jp at enix.org
Mon Dec 13 12:59:03 CET 2004


MPEG4 file format is handled thru the "mov" demuxer, but it doesn't 
handle proper seekbar support (you won't see the total running time of 
the file, and in the GUI for instance, the seekbar won't be usable at all).

An example of such a file is here :
http://skaya.enix.org/misc/gladiator.mp4

And I attached a very simple patch to provide basic seekbar support for 
those files.

There is a slight problem that I don't know (yet) how to fix : if 
someone seeks past the end of the file, it seems to wrap back to the 
beginning of the file (this isn't caused by the patch itself, since 
mplayer already exhibits this behaviour with the mp4 files I have here).

regards,
Jérôme Petazzoni <jp at enix dot org>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mov-demux-seekbar.diff
Type: text/x-patch
Size: 3027 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20041213/1ca20282/attachment.bin>


More information about the MPlayer-dev-eng mailing list