[FFmpeg-trac] #9390(undetermined:new): Wrong FPS used for timecode computation mangles timecodes
FFmpeg
trac at avcodec.org
Sat Aug 28 18:56:56 EEST 2021
#9390: Wrong FPS used for timecode computation mangles timecodes
-------------------------------------+-------------------------------------
Reporter: Marcelo | Owner: (none)
Magnasco |
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution:
Keywords: timecode | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Marcelo Magnasco):
Ohhh, it does not do that in your system? What timecode do you get?
I'm on a Mac, freshly installed ff* binaries. Maybe it's a Mac-specfic
bug? I will test from our linux boxes on Monday.
{{{
% uname -a
Darwin xxxx 19.6.0 Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST
2021; root:xnu-6153.141.16~1/RELEASE_X86_64 x86_64
% ffprobe C5GL010008.mp4
ffprobe version 4.2.1-tessus https://evermeet.cx/ffmpeg/ Copyright (c)
2007-2019 the FFmpeg developers
built with Apple LLVM version 10.0.1 (clang-1001.0.46.4)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-
version=tessus --enable-avisynth --enable-fontconfig --enable-gpl
--enable-libaom --enable-libass --enable-libbluray --enable-libdav1d
--enable-libfreetype --enable-libgsm --enable-libmodplug --enable-
libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-
libopus --enable-librubberband --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-
libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-
libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-
libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-
flags=--static --disable-ffplay
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff3ed808600] Using non-standard frame rate
59/1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C5GL010008.mp4':
Metadata:
major_brand : mp41
minor_version : 538120216
compatible_brands: mp41
creation_time : 2021-08-27T08:55:37.000000Z
firmware : HD9.01.01.60.70
Duration: 00:00:03.84, start: 0.000000, bitrate: 2842 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuvj420p(pc,
bt709), 848x480 [SAR 1:1 DAR 53:30], 2523 kb/s, 59.94 fps, 59.94 tbr, 60k
tbn, 119.88 tbc (default)
Metadata:
creation_time : 2021-08-27T08:55:37.000000Z
handler_name : GoPro AVC
encoder : GoPro AVC encoder
timecode : 09:04:09:02
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
stereo, fltp, 187 kb/s (default)
Metadata:
creation_time : 2021-08-27T08:55:37.000000Z
handler_name : GoPro AAC
timecode : 09:04:09:02
Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
Metadata:
creation_time : 2021-08-27T08:55:37.000000Z
handler_name : GoPro TCD
timecode : 09:04:09:02
Stream #0:3(eng): Data: bin_data (gpmd / 0x646D7067), 62 kb/s
(default)
Metadata:
creation_time : 2021-08-27T08:55:37.000000Z
handler_name : GoPro MET
Unsupported codec with id 0 for input stream 2
Unsupported codec with id 100359 for input stream 3
}}}
Indeed as you state, stream 2 is not supported, this is known, but the
telemetry stream (gpmd, 3) while unsupported is copied verbatim without
issue. Those are not my problems.
Replying to [comment:6 Balling]:
> Interesting. Ffprobe does not print on your first file that '''here'''!
Ha. Okay, will test further. Please note that it does not support 2
streams in it. That is known AFAIK, #8338.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9390#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list