6.11.3 ffmpeg 视频连接

将需要连接的视频文件名根据自己需要的顺序放在in.txt文件中,每个文件一行:
file '0390-3917.mp4'
file '3918-7446.mp4'
连接视频和音频:ffmpeg -f concat -i in.txt -c copy out.mp4
只连接视频,丢弃音频:ffmpeg -f concat -i in.txt -c:v copy -an out.mp4
只连接音频,丢弃视频:ffmpeg -f concat -i in.txt -c:v none -c:a copy out.mp3

Copyright © DOSU community 2020 all right reserved,powered by Gitbook该文章修订时间: 2020-09-12 12:06:10

results matching ""

    No results matching ""