Skip to content

Instantly share code, notes, and snippets.

@Teaonly
Created May 19, 2014 03:33
Show Gist options
  • Save Teaonly/2cd2734d9d9383068af3 to your computer and use it in GitHub Desktop.
Save Teaonly/2cd2734d9d9383068af3 to your computer and use it in GitHub Desktop.
使用ffmpeg合并文件
采用文件列表的方法:
1. 编辑file.list
```
file 1.mp4
file 2.mp4
```
ffmpeg 命令
```
ffmpeg -v 0 -y -f concat -i file.list -vcodec libx264 -crf 20 -acodec libfaac out.mp4
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment