ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
[TOC] ## 裁剪 截取原始视频里面的一个片段,可以指定开始时间(start)和持续时间(duration),也可以指定结束时间(end) ``` $ ffmpeg -ss [start] -i [input] -t [duration] -c copy [output] $ ffmpeg -ss [start] -i [input] -to [end] -c copy [output] ``` 实例 ``` $ ffmpeg -ss 00:01:50 -i [input] -t 10.5 -c copy [output] $ ffmpeg -ss 2.5 -i [input] -to 10 -c copy [output] //-c copy表示不改变音频和视频的编码格式,直接拷贝,这样会快很多 ```