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

Anatol anatol2002 at gmail.com
Sat May 2 21:11:30 CEST 2015

Its a real problem, if the streams are un-aligned, the playback gets into
jump-forward-backward mood.
It's not a problem to get source file key frames and to have them encoded
into the rest of the files.
The problem is with a live streaming, because it is not possible to query
it for the keyframe lications

The whole idea is to avoid intense CPU consumption for LIVE streaming.

On Sat, May 2, 2015 at 8:31 PM, Reuben Martin <reuben.m at gmail.com> wrote:

> 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
> resources.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

More information about the ffmpeg-user mailing list