[FFmpeg-devel] [PATCH] MXF index table based seeking
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!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 13273 bytes
Desc: not available
More information about the ffmpeg-devel