视频处理ffmpeg

相关网站或文档

FFmpeg

下载:

保持更新的,Win64-GPL ,从Github下载:

https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-win64-gpl.zip

2022-05-02的,N-106764-g40f2ea971f-win64-gpl ,从“资源下载”下载

资源下载

适用于Ubuntu的下载:

https://launchpad.net/ubuntu/+source/ffmpeg

保持更新的,Linux64-GPL ,从Github下载:

https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-linux64-gpl.tar.xz

ffmpeg 目录视频合并

cd 文件目录
(for %i in (*.flv) do @echo file '%i') > list.txt
ffmpeg -f concat -safe 0 -i list.txt -c copy 0merge.flv
文本框 – 单行文本框

常用命令

视频的裁剪

-ss 开始的时间 -t 结束的时间 -i 要导入的视频 output 要导出的视频的文件名

ffmpeg -ss 00:00:00 -t 00:00:00 -i input.flv -vcodec copy -acodec copy output.flv