ffmpeg合并多个MP4文件教程

在MP4文件夹里新建一个文本文档,命名为 list.txt ,文本内输入命令:

file 0.mp4
file 1.mp4
file 2.mp4
file 3.mp4
file 4.mp4
file 5.mp4
file 6.mp4
file 7.mp4
file 8.mp4
file 9.mp4
file 10.mp4
file 11.mp4
file 12.mp4
file 13.mp4
file 14.mp4
file 15.mp4
file 16.mp4
file 17.mp4
file 18.mp4
file 19.mp4
file 20.mp4
file 21.mp4
file 22.mp4
file 23.mp4
file 24.mp4
file 25.mp4
file 26.mp4
file 27.mp4
file 28.mp4
file 29.mp4
file 30.mp4
file 31.mp4
file 32.mp4
file 33.mp4
file 34.mp4
file 35.mp4
file 36.mp4
file 37.mp4
file 38.mp4
file 39.mp4
file 40.mp4
file 41.mp4
file 42.mp4
file 43.mp4
file 44.mp4
file 45.mp4

记得把需要合并的MP4命名为以上数字

 

在命令窗口输入以下命令:

ffmpeg -f concat -i list.txt -c copy cqt.mp4