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

Ross Finlayson finlayson at live555.com
Mon Nov 17 15:45:56 PST 2008


>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.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list