[FFmpeg-trac] #10150(undetermined:new): Variable framerate with a maximum value

FFmpeg trac at avcodec.org
Wed Jan 25 21:36:13 EET 2023


#10150: Variable framerate with a maximum value
-------------------------------------+-------------------------------------
             Reporter:  Zoont        |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:  fps          |               Blocked By:
  framerate vfr cfr vsync            |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 I have been using the -fps_mode option together with -fps_max to to allow
 my videos to have variable framerate while at the same time limiting it to
 30 fps, similar to how handbrake have a peak framerate setting. But now
 when I do that it gives this error message "//One of -r/-fpsmax was
 specified together a non-CFR -vsync/-fps_mode. This is contradictory.//".
 I found out that this was a recent change, specifically
 [https://github.com/FFmpeg/FFmpeg/commit/260f3918937463f1b90e1b77cba80b917f3cb8c1
 This] commit on git master. The description of this commit talks about how
 -r should always give constant framerate but it doesn't talk about
 -fpsmax. If this is intentional I would like to know how to achieve
 something like handbrake's peak framerate option with ffmpeg with this new
 restriction. Thanks in advance!

 How to reproduce:
 {{{
 % ffmpeg -i input -fps_mode vfr -fpsmax 30 -c:v libx264 -crf 20 -c:a copy
 output
 ffmpeg version git-master
 built on 22/1/2023
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10150>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list