第1年3月9日 FFmpeg 如何裁剪剪切MP4视频时长

1.

假设MP4视频的时长是5分钟,我只想裁剪其中的1分钟开始,到第二分钟结束的时间的视频,如何实现?
以下代码即实现了截取第一分到第二分之间视频的功能,并输出结果到outputname.mp4。

ffmpeg -ss 00:01:00 -t 00:02:00 -accurate_seek -i inputname.mp4 -codec copy outputname.mp4

https://shipengliang.com/software-exp/ffmpeg-%E5%A6%82%E4%BD%95%E8%A3%81%E5%89%AA%E5%89%AA%E5%88%87mp4%E8%A7%86%E9%A2%91%E6%97%B6%E9%95%BF.html

原文地址:https://www.cnblogs.com/javastart/p/14503894.html