ffmpeg 视频合并

转载:实战详细讲解ffmpeg命令的使用(来自一线的经验,视频合并&avi转MP4&补空白音频【收藏下来一定用的到】)

视频合并示例:

# filelist.txt:
#file 'a.flv'
#file 'b.flv'

# -f concat : 合并操作
# -safe 0 : 避免操作输入流的权限问题
# -c copy : 指定输入和输出视频流编码格式保持一致
# -strict -2 : 避免 opus in MP4 support is experimental 问题

ffmpeg -f concat -safe 0 -y -i filelist.txt -c copy -strict -2 output.flv
posted @ 2022-09-04 09:22  keep-minding  阅读(82)  评论(0编辑  收藏  举报