[FFmpeg-devel] [PATCH] fix playback of partial DV files
Mon Feb 9 03:05:16 CET 2009
Reimar D?ffinger wrote:
> currently libavformat handles it badly or not at all when you cut out a
> part of the dv file in the middle.
> This is because it does not checks at all if the headers are actually at
> the place where it expects them.
> Proper error concealment needs more modifications, but attached patch at
> least makes it search for a DV header in dv_read_header, which is enough
> for simple cases like http://multimedia.cx/dv/spacejam-title.40MB.dv
> I also think that based on this a proper auto-detection of DV should be
> possible - for my pet project (http://sourceforge.net/projects/extractor-gtk)
> I implemented it by search for the bytes 1f 07 00 3f or 0x1f 07 00 bf,
> skipping the next four bytes and then checking that the next 8 bytes are all
Here is the probe function.
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
FFmpeg maintainer http://www.ffmpeg.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 966 bytes
Desc: not available
More information about the ffmpeg-devel