[Live-devel] testH264VideoToTransportStream Frame Rates

Warren Young warren at etr-usa.com
Wed Aug 14 09:37:38 PDT 2013


On 8/13/2013 15:25, Ross Finlayson wrote:
> If you really want to
> change a video stream from 25 fps to 10 fps, then you should be dropping
> frames from the input;

That would give very stuttery video -- 10 doesn't divide evenly into 25 
-- and isn't practical for an inter-frame codec like H.264 anyway.  You 
can't drop a P frame that has B frames referring to it.

What's wrong with just rewriting the timing information in the stream. 
I don't know H.264 internals, but in MPEG-2 terms, wouldn't scaling all 
the PTS and DTS values by 2.5x give the desired result?


More information about the live-devel mailing list