[Libav-user] How to control ffmpeg's key-frame generation?
stefasab at gmail.com
Wed Jan 2 17:53:25 CET 2013
In data Wednesday 2013-01-02 15:30:39 +0900, Quy Pham Sy ha scritto:
> I'm making a segmenter that intervene ffmpeg's write_frame function and
> Here is my questions:
> is that true that ffmpeg generate keyframes at irregular intervals (and
> interval time can be up to few second (eg. 6)?
Yes, look for GOP size.
> How can we control the ffmpeg key frame generation? (i guess there
> should be a ffmpeg command's argument for this, -force_key_frames maybe,
> but I'm not sure)
-force_key_frames, and check the ffmpeg-devel archive for:
ffmpeg: implement -force_key_frames expression evalution
More information about the Libav-user