我有一个 60 fps 的 Pro Res 视频文件,我想保留每 4 帧(其他帧是重复的,因此实际上为 15 fps)。音频在输出文件中必须保持相同(不因转换而移动)。似乎 mpdecimate 应该可以解决问题,但保持相同的质量和音频并不容易。
15 和 20 fps 的错误:
mov @ 0x7fe9e3003800] Timecode frame rate 20/1 not supported
Output #0, mov, to 'AA.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf55.48.100
Stream #0:0(eng): Video: prores (apch) (apch / 0x68637061), yuv422p10le, 1280x1024, q=2-31, 200 kb/s, 20 fps, 10240 tbn, 20 tbc (default)
Metadata:
handler_name : DataHandler
timecode : 00:00:00:00
encoder : Lavc55.69.100 prores
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
handler_name : DataHandler
encoder : Lavc55.69.100 aac
Stream mapping:
Stream #0:0 -> #0:0 (prores (native) -> prores (native))
Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Could not write header for output file #0 (incorrect codec parameters ?): Not yet implemented in FFmpeg, patches welcome