[FFmpeg-trac] #10954(ffmpeg:new): ffmpeg should not round the frame rate from 23.976 fps to 23.98 fps

FFmpeg trac at avcodec.org
Wed Apr 10 10:07:41 EEST 2024


#10954: ffmpeg should not round the frame rate from 23.976 fps to 23.98 fps
-------------------------------------+-------------------------------------
             Reporter:  milahu       |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  minor        |                Component:  ffmpeg
              Version:  6.1.1        |               Resolution:
             Keywords:  framerate    |               Blocked By:
  rounding formatting                |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Marton Balint):

 Why does this matter? 23.976 is not exact either. If you are parsing the
 frame rate from the stream details as written, you are doing something
 wrong, and you should be using the output of ffprobe instead, such as:

 {{{
 ffprobe -select_streams v -show_entries stream=avg_frame_rate -of csv
 test.mp4
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10954#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list