[MPlayer-dev-eng] [PATCH] mov fragments support for demux_mov
David Romacho Rosell
romaxin2002 at yahoo.com.au
Mon Oct 29 14:50:12 CET 2007
Hi all,
This is my second attempt to have this patch revised. This patch adds
support for movie fragments in mov files (as specified in the
ISO/IEC-14496). The changes only affect the libmpdemux/demux_mov.c file.
This feature is not supported by the libavformat demuxer.
Regarding the size of the patch, I would like to list all the new
features that this patch adds:
- Support for multiple 'mdat' atoms.
- 'mvex','mehd' and 'trex' atoms parsing. Those atoms, which are
located inside the 'moov' atom, warn about presence of movie fragments
that extend one or several tracks.
- Support for 'moof' atoms (header for each movie fragment). It
includes 'mfhd','traf','tfhd' and 'trun' atoms which are contained
inside the 'moof'.
- Support for 'mfra' atoms that contain movie fragment random access
information (using 'tfra' and mfro' atoms).
This patch reads and adds the movie fragment information to each present
track. New functionality is implemented in new functions that parse the
content of the mentioned atoms and rebuild sample indexes. The lschunks
function only suffers minor changes.
I put some effort to have this new functionality working and it would be
nice to see it included in the MPlayer source code. I hope someone will
think that it is useful and will spend some time reviewing it.
Greetings,
David
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mov_fragment_support.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071029/91f24bd0/attachment.asc>
More information about the MPlayer-dev-eng
mailing list