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

Alex Converse alex.converse
Mon Feb 9 02:46:14 CET 2009


On Fri, Feb 6, 2009 at 2:01 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> 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
>

Applied




More information about the ffmpeg-devel mailing list