[FFmpeg-devel] [PATCH 1/4] mxfdec: Index table based seeking

Georg Lippitsch georg.lippitsch at gmx.at
Wed Sep 28 21:59:32 CEST 2011


Am 27.09.2011, 11:08 Uhr, schrieb Tomas Härdin <tomas.hardin at codemill.se>:

> I took the liberty of refactoring and fixing a few bugs in your patch,
> in addition to rebasing my partition parsing code on top of it and
> adding some patches to support the V210 sample at
> http://titan.codemill.se/~tomhar/samples/multiindex/

Here is a patch that makes the XDCAM HD files from your sample-directory
seekable.

These files were indeed weird. They had every index entry doubled, and  
therefore the nb_index_entries value was twice the index_duration. Even  
mxfdump only parsed the indices for half of the file.

I therefore added some code to remove double entries. Also, the sizes of  
the index entries were not calculated if nb_delta_entries was 0, which  
I've added now.


Regards,

Georg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mxfdec-Avid-XDCAM.patch
Type: application/octet-stream
Size: 4685 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110928/5040db48/attachment.obj>


More information about the ffmpeg-devel mailing list