截取视频某一时间的帧:
ffmpeg -y -i 123456.mp4 -vframes 1 -q:v 5 -ss cutTime ts.png
截取某段时间开始多长的音频:
ffmpeg -i 123456.mp3 -ss fromTime -t longTime -c copy ts.mp3
截取某段时间开始多长的视频:
ffmpeg -i 123456.mp4 -ss fromTime -t longTime -c copy ts.mp4
视频去掉原声:
ffmpeg -i 123456.mp4 -c:v copy -an ts.mp4
视频压缩:
ffmpeg -i 123456.mp4 -b:v 600k ts.mp4
自定义多音轨插入时间:
ffmpeg -i 123456.mp4 -i 123.mp3 -i 456.mp3 -filter_complex "[1]adelay=0|0[aud1];[2]adelay=0|0[aud2];[aud1][aud2]amix=inputs=2[aud0]" -map 0:v -map "[aud0]" -c:v copy -shortest ts.mp4
倒放视频:
ffmpeg -y -i 123456.mp4 -vf reverse ts.mp4