[FFmpeg-user] Use force_key_frames to obtain keyframes at exactly the same positions as in the input stream?

Reuben Martin reuben.m at gmail.com
Sat May 2 19:31:34 CEST 2015


On Saturday, May 02, 2015 06:00:32 PM Haris Zukanovic wrote:
> My case is live streaming.
> I have tried it and definitely keyframes are not aligned between input
> and output streams.
> For all encoded output streams it is very simple to obtain alignement
> with setting the fixed GOP size. But the PTS and keyframes of input are
> never aligned with that.
> 

I’ve had success with it as long as I encode all the derivative streams at 
once from the same encoder process. This of course can consume significant CPU 
resources.


More information about the ffmpeg-user mailing list