jsBaek
jsBaek

Reputation: 131

How can I limit maximum fps with ffmpeg?

Is there any way that I can limit fps with certain value?

For example, using filter graph such as fps=min(original_fps, MAX_FPS).

Upvotes: 6

Views: 4531

Answers (1)

rogerdpack
rogerdpack

Reputation: 66741

Unfortunately, typically the answer with ffmpeg is "not as easily as you'd like"

You can parse out the original fps, then do the "min" calculation in some pre-existing script I suppose, or you may be able to set your output to "vfr" (variable frame rate) mode, then use the select filter to try to not allow frames in too quickly. GL!

Upvotes: 1

Related Questions