[FFmpeg-devel] [PATCH] CrystalHD: Add auto-detection of packed b-frame bug.

Michael Niedermayer michaelni at gmx.at
Sat Apr 30 02:58:02 CEST 2011


On Fri, Apr 29, 2011 at 03:00:02PM -0700, Philip Langdale wrote:
> On Fri, 29 Apr 2011 22:16:44 +0200
> Michael Niedermayer <michaelni at gmx.at> wrote:
> 
> > On Thu, Apr 28, 2011 at 07:33:08PM -0700, Philip Langdale wrote:
> > > I still don't fully understand the cause but the difference between
> > > the samples that trigger the bug and the samples that don't is
> > > that the former uses delay frames and the later uses drop frames
> > > as placeholders for the packed frame. So, if we see the one type
> > > of frame, we can assume the bug will or won't be present.
> > 
> > maybe the user data "xvid / divx + version number" could be usefull
> 
> Maybe you missed my earlier email - I did a binary diff on the two
> files and there was no difference except in these frames.

you could look at decode_vop_header() which parses that stuff



[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I hate to see young programmers poisoned by the kind of thinking
Ulrich Drepper puts forward since it is simply too narrow -- Roman Shaposhnik
-------------- 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/20110430/dcef7558/attachment.asc>


More information about the ffmpeg-devel mailing list