ffmpeg -i a.mp4 -f mp3 -vn a.mp3
ffmpeg -i a.mp4 -vcodec copy -an b.mp4
ffmpeg -i a1.mp4 -i a2.mp3 -vcodec copy -acodec copy b.mp4
ffmpeg -i "outputfile.flv" -qscale 0 "outputfile.mp4"
ffmpeg -f concat -i file-list.txt -c copy outputfile_part3.mp4
file-list.txt
file 'a1.mp4'
file 'a2.mp4'
ffmpeg -i outputfile.mp4 -t 00:00:10 -c copy outputfile_part1.mp4 -ss 00:00:10 -codec copy outputfile_part2.mp4
从 10
秒开始截取分为 2 段。
ffmpeg -i a.mp4 -filter_complex "[0:v]setpts=0.9*PTS[v];[0:a]atempo=1.1[a]" -map "[v]" -map "[a]" b.mp4
0.9
:原来的 0.9
倍速度