精准切割
裁剪前 10 秒:
ffmpeg -ss 0:0 -t 0:10 -i input.mov output.mp4
-ss
开始时间
-t
持续时间
裁剪最后 10 秒:
ffmpeg -sseof -0:10 -i input.mov output.mp4
-sseof
相对于文件末尾的开始时间
精准切割
ffmpeg -ss 0:0 -t 0:10 -i input.mov output.mp4
-ss
开始时间-t
持续时间ffmpeg -sseof -0:10 -i input.mov output.mp4
-sseof
相对于文件末尾的开始时间