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

Alex Converse alex.converse
Fri Feb 6 19:30:49 CET 2009


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.

[...]

--Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpeg-probe-less-aggressive.diff
Type: text/x-diff
Size: 689 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090206/e7ff6513/attachment.diff>



More information about the ffmpeg-devel mailing list