[Live-devel] Suggestions on the proper way to deal with frame size changes in the middle of H264 stream

Matt Schuckmann matt at schuckmannacres.com
Tue Nov 18 06:42:20 PST 2008


That's pretty much what I thought, you seem pretty knowledgeable in this 
area and I wanted to see if anything popped out at you.
I haven't got much of a response from the FFMPEG list so I think I 
pretty much on my own.

Thanks
Matt S.

Ross Finlayson wrote:
>> 8. Here is where the 80% comes in. Most of the time it the FFMPEG 
>> decoder sees the new frame size and correctly handles it and 
>> everything is good but about 20% the time it doesn't and FFMPEG crashes.
>
> Therefore, there's a bug in FFMPEG.  That's what you need to address 
> first (on some other mailing list, of course).
>
>> It seems like what I'm doing should be ok I'm thinking that this is 
>> just a untested "feature" in FFMPEG (how many people actually create 
>> videos where the the frame size changes mid stream) and I'm just 
>> going to need to get setup on a Linux box to debug FFMPEG. I'm not 
>> sure and I'm wondering if there is a better way to do this or if 
>> there is something that the server should insert in the stream to 
>> signal this event to the client so that it can better prepare the 
>> decoder for the change in frame size or? I thought the just the 
>> presents of the changed IDR frames would be enough.
>
> This is completely independent of our software.  You will need to ask 
> about this on some other (FFMPEG-related) forum.


More information about the live-devel mailing list