[FFmpeg-trac] #9492(undetermined:new): ffmpeg reads wrong timecode

FFmpeg trac at avcodec.org
Fri Feb 11 13:23:49 EET 2022


#9492: ffmpeg reads wrong timecode
-------------------------------------+-------------------------------------
             Reporter:  marku        |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  timecode     |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by NoKi):

 Hi,
 I noticed this issue too, when transcoding 50 fps videos with timecode
 from Panasonic cameras (x1500, GH5). It seems to happen on videos with
 framerates higher than 30 fps, which is (to my knowledge) the highest fps
 rate SMPTE timecode is standardized for.

 So, it looks like that for compatibility reasons the cameras write a 25 or
 30 fps timecode to the file, although the video actually is 50/60 fps.
 Most video NLEs (like Resolve) are aware of this and correctly calculate
 the timecode based on the standardized 25 or 30 fps rates.

 FFMPEG seems to read the 25 fps timecode of a 50 fps video incorrectly
 with 50 fps. So, the incorrect timecode is always half of what it should
 be.

 My workaround is to read the correct timecode with exiftool and use this
 for the file transcoded by FFMPEG. Though, I hope this will be fixed in
 FFMPEG.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9492#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list