[FFmpeg-trac] #9814(avformat:open): time_scale / num_units_in_tick is not infinite precision

FFmpeg trac at avcodec.org
Thu Aug 24 19:24:12 EEST 2023


#9814: time_scale / num_units_in_tick is not infinite precision
-------------------------------------+-------------------------------------
             Reporter:  Balling      |                    Owner:  Elon Musk
                 Type:  enhancement  |                   Status:  open
             Priority:  wish         |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Balling):

 [trace_headers @ 0000027e73374480] 119         num_units_in_tick
 00000000000000000000111110100100 = 4004
 [trace_headers @ 0000027e73374480] 151         time_scale
 00000000000000111010100110000000 = 240000
 [trace_headers @ 0000027e73374480] 183         fixed_frame_rate_flag
 1 = 1

 My file has and that means 59.94 tbr is wrong. It is 59.9400599400... tbr,
 not 59.94 tbr.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9814#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list