[FFmpeg-devel] [PATCH 2/2] CrystalHD: Add AVOption to control packed b-frame bug workaround.

Michael Niedermayer michaelni at gmx.at
Sun Apr 24 12:36:16 CEST 2011


On Wed, Apr 20, 2011 at 09:58:58PM -0700, Philip Langdale wrote:
> Some xvid-in-avi files with packed b-frames trigger strange
> hardware behaviour, with the result that the packed frame is
> output twice and we need to drop one of them to maintain
> correct playback.

the hardware isnt that wrong with behaving that way


> 
> However, it turns out that some other files, which seem to use
> the same packing mechanism *do not* trigger the duplicate frame,
> but do exhibit the missing timestamp behaviour that I was
> using to detect the bug. So, worst possible world.
> 
> For now, the only way to distinguish the two cases is by hand,
> hence this option.

patch ok

also maybe you want to look at decode_user_data() and divx_packed
maybe some of that could be used to detect the variants

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110424/d92c2c06/attachment.asc>


More information about the ffmpeg-devel mailing list