[FFmpeg-devel] [PATCH] Make mpeg probe slightly less aggressive.

Michael Niedermayer michaelni
Fri Feb 6 20:01:14 CET 2009


On Fri, Feb 06, 2009 at 01:30:49PM -0500, Alex Converse wrote:
> On Fri, Feb 6, 2009 at 8:26 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> >
> > On Thu, Feb 05, 2009 at 03:30:32PM -0500, Alex Converse wrote:
> > > Now that the mp3 probe isn't aggressively grabbing any file it can
> > > find with an id3v2 tag some files with id3v2 tags with extra padding
> > > past the end of the tag are getting misidentified as MPEG PES.
> >
> > can the padding be detected? if so it should be skiped
> >
> 
> This approach ameliorates a variety of related maladies such as
> oversized tags, undersized unpadded tags, as well as undersized padded
> tags.
> 
> >
> > > Currently it takes 500 mp3 frames to probe at 50 if the file has zeros
> > > at the beginning but only 2 PES packets to probe at 52. The attached
> > > patch makes the mpeg probe slightly less aggressive on audio files.
> >
> > you did attach a patch that is good but are you sure this is the correct
> > patch?
> >
> 
> Wrong patch, sorry.

looks ok

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

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090206/150c16e8/attachment.pgp>



More information about the ffmpeg-devel mailing list