[FFmpeg-devel] [PATCH] MXF index table based seeking
georg.lippitsch at gmx.at
Sun May 29 21:40:08 CEST 2011
Here is my second version of the MXF index table based seeking patch.
The changes are:
- Support clip-wrapped files. This is based on Maksym Veremeyenkos patch,
but instead of parsing ULs for clip-wrapping, it checks if the current klv
length is larger than the size of the current index entry. If this is
the case, it only reads "size of current index entry"-bytes at once.
- Support multiple index table segments
Am 16.05.2011, 10:27 Uhr, schrieb Tomas Härdin <tomas.hardin at codemill.se>:
>> 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.
> This seems OK, but it'll be very slow for large frame wrapped files.
Yes. I have not yet merged with your parsing code, but your patch
certainly provides a decent solution for that.
It seems that this is not set by avio_skip, so this will fail if avio_skip
is called at the end instead of read.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 13870 bytes
Desc: not available
More information about the ffmpeg-devel