Opened 12 days ago

Last modified 12 days ago

#7016 new defect

Timecode incorrect when transcoding 59.94 to 29.97

Reported by: mcoliver Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: timecode
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

% ffmpeg.exe -y -r 59.94 -i SRC.mov -acodec copy -c:v libx265 -crf 28 -vf "transpose=1" -r 29.97 DST.mov
ffmpeg version: N-89955-g118e1b0b33

Timecode when transcoding from 59.94 --> 29.97 timecode is not being calculated correctly resulting in incorrect start and end timecodes. Tested on multiple input and output codecs including prores, h264, h265

Start timecode on 59.97 is 09:31:58:30.
Start timecode on 29.97 is 09:31:59:00.
It should be 09:31:58:15

Attachments (4)

plate.json (6.4 KB) - added by mcoliver 12 days ago.
original 59.94 prores ffprobe json output
h265.json (4.8 KB) - added by mcoliver 12 days ago.
transcoded h265 29.97 ffprobe output
h265-timecodeissue.log (5.2 KB) - added by mcoliver 12 days ago.
encoding log file
plate.mov (668.7 KB) - added by mcoliver 8 days ago.
Source Plate showing timecode 09:31:58:30

Download all attachments as: .zip

Change History (7)

Changed 12 days ago by mcoliver

original 59.94 prores ffprobe json output

Changed 12 days ago by mcoliver

transcoded h265 29.97 ffprobe output

Changed 12 days ago by mcoliver

encoding log file

comment:1 Changed 12 days ago by cehoyos

  • Version changed from 3.4 to git-master

Please provide a small input file that allows to reproduce the issue.

comment:3 Changed 12 days ago by cehoyos

Please attach a file of approximately 1 MB here to the ticket.

Changed 8 days ago by mcoliver

Source Plate showing timecode 09:31:58:30

Note: See TracTickets for help on using tickets.