linux 编辑视频工具 ffmpeg
作者:互联网
安装
$ sudo apt install ffmpeg
转mp4,节省空间
$ ffmpeg -i 16300022.AVI -strict -2 -qscale 0 output.mp4
从第一分钟开始,剪辑10秒钟
$ fmpeg -ss 00:01:00 -i output.mp4 -t 10 -c copy cut.mp4
$ ls -lh *avi *mp4 *AVI
-rw-r--r-- 1 chrism chrism 394M Oct 18 2021 16300022.AVI
-rw-rw-r-- 1 chrism chrism 21M Oct 17 20:18 cut.avi
-rw-rw-r-- 1 chrism chrism 17M Oct 17 20:08 cut.mp4
-rw-rw-r-- 1 chrism chrism 274M Oct 17 19:45 output.mp4
标签:rw,ffmpeg,--,视频工具,mp4,cut,linux,chrism,Oct 来源: https://blog.csdn.net/mishuang2017/article/details/120815519