ffmpeg之视频合并

需求:

合并两个视频文件

准备文件:

pbfilelist.txt

里面的内容为:

file 'an1.1.mp4'
file 'an1.2.mp4'

这两个文件跟 pbfilelist.txt在同一级目录

脚本:

ffmpeg -f concat -i c:/db/pbfilelist.txt  -c copy c:/db/annew.mp4

其中:

-c copy 可以不加

猜你喜欢

转载自snv.iteye.com/blog/2406683