[FFmpeg-devel] [PATCH] dts in avi fix

Benjamin Larsson banan
Mon May 21 17:35:30 CEST 2007


Michael Niedermayer skrev:
> Hi
>
> On Mon, May 21, 2007 at 07:06:18AM +0200, Benjamin Larsson wrote:
>   
>> Benjamin Larsson wrote:
>>     
>>> $topic
>>>
>>> Playing this file doesn't work to well.
>>>
>>> http://samples.mplayerhq.hu/A-codecs/DTS/dtsac3audiosample.avi
>>>
>>> With parsing it works abit better but the decoder still complains.
>>>
>>> MvH
>>> Benjamin Larsson
>>>
>>>       
>> I'll apply this in a few days. If noone speaks up.
>>     
>
> this patch is wrong, parsing is already enabled, you changes just disables
> the timestamp interpolation
>
> and feel free to rename AVSTREAM_PARSE_TIMESTAMPS to a more intuitive name
>
> [...]
>
>   


Well without the patch the decoder is called with frames larger then the 
allowed max frame size. I just assumed that dts in avi is just as hacked 
up as mp3 in avi. (Fragmented frames.) And that the way to fix it is to 
let the parser collect complete frames. So what am I missing ?

MvH
Benjamin Larsson






More information about the ffmpeg-devel mailing list