我使用以下命令对视频进行截取
ffmpeg -i 7.mp4 -ss 00:05:00.00 -to 00:06:00.0 -c copy 7_cut.mp4
发现音画不同步,-ss选项放在-i选项前后是不同含义的,将-ss选项放在-i前面
ffmpeg -ss 00:05:00.00 -i 7.mp4 -to 00:06:00.0 -c copy 7_cut.mp4
发现原本应该1分钟的视频变成了1分25秒
索性将-ss和-to选项都放在-i选项前面
ffmpeg -ss 00:05:00.0 -to 00:06:00.00 -i 7.mp4 -c copy 7_cut.mp4
才裁剪出来正确的视频