本文共 1049 字,大约阅读时间需要 3 分钟。
ffmpeg的官网地址是:https://www.ffmpeg.org/
ffmpeg的Github项目地址是:
https://github.com/FFmpeg/FFmpeg https://github.com/FFmpeg/FFmpeg/releases https://github.com/FFmpeg/FFmpeg/archive/n4.3.1.tar.gz下载地址:
http://ffmpeg.org/download.html#build-linux 此处下载是编译好的二进制可执行文件。 首先的查看当前操作系统的体系架构 https://blog.csdn.net/raoxiaoya/article/details/109130613archx86_64
于是选择 amd64 的。
下载
cd /datawget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xztar -xf ffmpeg-release-amd64-static.tar.xzcd ffmpeg-4.3.1-amd64-staticll-rwxr-xr-x. 1 1000 1000 75270088 七月 22 11:31 ffmpeg-rwxr-xr-x. 1 1000 1000 75167880 七月 22 11:31 ffprobe-rw-r--r--. 1 1000 1000 35147 七月 22 11:31 GPLv3.txtdrwxr-xr-x. 2 1000 1000 4096 七月 22 11:31 manpagesdrwxr-xr-x. 7 1000 1000 255 七月 22 10:59 model-rwxr-xr-x. 1 1000 1000 690888 七月 22 11:31 qt-faststart-rw-r--r--. 1 1000 1000 2109 七月 22 11:31 readme.txt./ffmpeg -version./ffmpeg -h移动目录
mv ffmpeg-4.3.1-amd64-static ffmpeg
添加到环境变量
vi /etc/profileexport PATH=$PATH:/data/ffmpegsource /etc/profileffmpeg -version