【发布时间】:2017-09-20 14:11:46
【问题描述】:
我有 2 个要使用 ffmpeg 连接的视频文件
initial.mp4 视频:h264(高)(avc1 / 0x31637661)、yuv420p(tv)、720x720、1077 kb/s、15.98 fps、16 tbr、600 tbn、1200 tbc(默认)
结尾.mp4 视频:h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt470bg), 720x720 [SAR 1:1 DAR 1:1], 1287 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc (默认
video_instructions_with_ending.txt
file initial.mp4
file initial.mp4
file initial.mp4
file ending.mp4
FFmpeg 命令
ffmpeg -f concat -i video_instructions_with_ending.txt -c copy output.mp4 -y
output.mp4 视频:h264 (High) (avc1 / 0x31637661), yuv420p(tv), 720x720, 27 kb/s, 0.43 fps, 48 tbr, 19200 tbn, 38400 tbc (默认)
输出文件应该是 6 秒。但是输出文件是3分32秒。
任何帮助将不胜感激
对于我使用的文件,您可以从:HERE获取它
【问题讨论】:
-
请参考this answer,我想这将是您的解决方案。