On 16-02-2019 05:03 AM, Nick wrote:
Hi,
why was the "Modified force_key_frames option to accept frame numbers"
(2014) declined?

https://ffmpeg.org/pipermail/ffmpeg-devel/2014-November/165167.html
You can even specify frame numbers in the current ffmpeg version using:
-force_key_frames expr:gte(n,n_forced*96)
Using a framerate of 24 means a keyframe every 4s.
I think it is very useful to have something like

/force_key_frames n:0,25,50,75,100/

For a regular pattern like that one, you can already use

    -force_key_frames expr:not(mod(n,25))

Expressions are be evaluated using the interface documented at https://ffmpeg.org/ffmpeg-utils.html#Expression-Evaluation


Gyan
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to