我使用 ffmpeg 生成代理文件,但不知何故时间码错误。当我在 DaVinci Resolve 中打开原始文件时,它总是显示 ffmpeg (ffprobe) 读取的两倍时间码。例如,Resolve 中的原始视频显示 Start TC 00:00:24:00,而 ffprobe 显示 00:00:12:00。当我将原始视频转换为 ProRes 时,它会将时间码更改为错误的时间码。
编辑:Resolve 的时间码与摄像机的时间码一致
有办法纠正这个问题吗?
原始视频:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'DSCF6599.MOV':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2021-11-01T11:46:42.000000Z
original_format : Digital Camera
original_format-eng: Digital Camera
comment : FUJIFILM DIGITAL CAMERA X-T3
comment-eng : FUJIFILM DIGITAL CAMERA X-T3
Duration: 00:00:07.00, start: 0.000000, bitrate: 207092 kb/s
Stream #0:0(eng): Video: hevc (Main 10) (hvc1 / 0x31637668), yuv420p10le(pc, bt2020nc/bt2020/arib-std-b67), 4096x2160, 198547 kb/s, 50 fps, 50 tbr, 50k tbn, 50 tbc (default)
Metadata:
creation_time : 2021-11-01T11:46:42.000000Z
timecode : 00:00:12:00
Stream #0:1(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 2 channels, s32 (24 bit), 2304 kb/s (default)
Metadata:
creation_time : 2021-11-01T11:46:42.000000Z
timecode : 00:00:12:00
Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 1 kb/s (default)
Metadata:
creation_time : 2021-11-01T11:46:42.000000Z
timecode : 00:00:12:00
Unsupported codec with id 0 for input stream 2
转换后的视频:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'DSCF6599.MOV':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf58.45.100
comment : FUJIFILM DIGITAL CAMERA X-T3
comment-eng : FUJIFILM DIGITAL CAMERA X-T3
Duration: 00:00:07.00, start: 12.000000, bitrate: 14238 kb/s
Stream #0:0(eng): Video: prores (Proxy) (apco / 0x6F637061), yuv422p10le(tv, bt2020nc/bt2020/reserved, progressive), 2048x1080, 12694 kb/s, 50 fps, 50 tbr, 50k tbn, 50k tbc (default)
Metadata:
handler_name : VideoHandler
encoder : Lavc58.91.100 prores
timecode : 00:00:12:00
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s
Metadata:
handler_name : TimeCodeHandler
timecode : 00:00:12:00
使用此命令转换:
ffmpeg -hwaccel cuda -i DSCF6599.MOV -acodec pcm_s16le -vcodec prores -profile:v 0 -vf scale=-1:1080 ./Proxy/DSCF6599.MOV