[FFmpeg-devel] [PATCH] MXF index table based seeking

Georg Lippitsch georg.lippitsch at gmx.at
Sun May 15 15:35:04 CEST 2011


Here is my first try to add image table based seeking to the MXF demuxer.

What the patch basically does is:
1. Parse through the whole file in mxf_read_header (instead of breaking at  
the first essence container). If an index table is found, it is parsed and  
stored in an MXFIndexTableSegment.
2. In mxf_parse_structural_metadata, the MXFIndexTableSegments are parsed  
and an AVIndexEntry array is created from them
Seeking is then done based on the AVIndexEntry array.


What I didn't really understand is how to link between MXF tracks and the  
slices in the index table. Sometimes, there is a track for every slice in  
the index table, sometimes there is not. So this part of the code is  
probably wrong, but help on this is very appreciated!

Regards,

Georg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-MXF-index-table-based-seeking.patch
Type: application/octet-stream
Size: 13273 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110515/45f6234e/attachment.obj>


More information about the ffmpeg-devel mailing list