小编Ria*_*ndy的帖子

ffmpeg concat 使视频更长

我有 2 个要使用 ffmpeg 连接的视频文件

initial.mp4 视频:h264(高)(avc1 / 0x31637661)、yuv420p(tv)、720x720、1077 kb/s、15.98 fps、16 tbr、600 tbn、1200 tbc(默认)

Ending.mp4 视频:h264(高)(avc1 / 0x31637661),yuv420p(tv,bt470bg),720x720 [SAR 1:1 DAR 1:1],1287 kb/s,25 fps,25 tbr,25 kbt,2 (默认

video_instructions_with_ending.txt

file initial.mp4
file initial.mp4
file initial.mp4
file ending.mp4
Run Code Online (Sandbox Code Playgroud)

FFmpeg 命令

ffmpeg -f concat -i video_instructions_with_ending.txt -c copy output.mp4 -y
Run Code Online (Sandbox Code Playgroud)

output.mp4视频: h264 (High) (avc1 / 0x31637661), yuv420p(tv), 720x720, 27 kb/s, 0.43 fps, 48 tbr, 19200 tbn, 38400 tbc (default)

输出文件应该是 6 秒。但输出文件是 3 分 32 秒。

任何帮助将不胜感激

对于我使用的文件,您可以从以下位置获取:这里

video ffmpeg

6
推荐指数
1
解决办法
3395
查看次数

标签 统计

ffmpeg ×1

video ×1