1. 编辑文件目录文件 files.txt
file '/test/01.mp4'
file '/test/02.mp4'
file '/test/03.mp4'
file '/test/04.mp4'
file '/test/05.mp4'
file '/test/06.mp4'
file '/test/07.mp4'
file '/test/08.mp4'
file '/test/09.mp4'
file '/test/10.mp4'
file '/test/11.mp4'
file '/test/12.mp4'
2. 使用 ffmpeg 合并
ffmpeg.exe -f concat -safe 0 -i files.txt -c copy -y o1.mp4
-f concat 是指合并
-safe 为了避免权限报错
-c copy 一定要指定,不然会重新封装,数据文件就会变大。
很赞哦! ( 0 )
上一篇:解决git每次提交都需要输入密码
下一篇:git 克隆到指定分支