[FFmpeg-trac] #6703(undetermined:new): ffmpeg rounds duration_ts and duration
FFmpeg
trac at avcodec.org
Sat Sep 30 12:34:48 EEST 2017
#6703: ffmpeg rounds duration_ts and duration
-------------------------------------+-------------------------------------
Reporter: mucikiki | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: ntsc, | Blocked By:
duration, duration_ts, | Reproduced by developer: 0
codec_time_base |
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
if you use NTSC videos (29.97fps), duration_ts and duration are rounded,
so codec_time_base is wrong.
For example, if input video has duration=74.574500, it become
duration=74.575000 (note the last 3 zeros), if duration=60.093367 it
become duration=60.094000.
How to reproduce:
{{{
/usr/local/bin/ffmpeg -i input.mp4 -r ntsc -c:v libx264 -profile:v main
-level:v 3.1 -crf 18 output.mp4
}}}
ffmpeg version N-85647-g59d219b
built with gcc 4.9.2 (Debian 4.9.2-10)
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6703>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list