博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
linux安装ffmpeg详细教程
阅读量:3987 次
发布时间:2019-05-24

本文共 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/109130613

archx86_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
你可能感兴趣的文章
自定义Viewgroup实现流式布局(3):实现流式布局
查看>>
React-native封装view
查看>>
React-native Alert弹出多个按钮
查看>>
Android圆形角标
查看>>
GetSafeHwnd()的调用正确时机
查看>>
coursesa课程 Python 3 programming course_2_assessment_1
查看>>
coursesa课程 Python 3 programming 统计文件有多少单词
查看>>
coursesa课程 Python 3 programming 输出每一行句子的第三个单词
查看>>
coursesa课程 Python 3 programming Dictionary methods 字典的方法
查看>>
coursesa课程 Python 3 programming Accumulating Multiple Results In a Dictionary 统计文件的字母数量
查看>>
Returning a value from a function
查看>>
coursesa课程 Python 3 programming Functions can call other functions 函数调用另一个函数
查看>>
coursesa课程 Python 3 programming Tuple Assignment with Unpacking
查看>>
coursesa课程 Python 3 programming The while Statement
查看>>
course_2_assessment_6
查看>>
coursesa课程 Python 3 programming course_2_assessment_7 多参数函数练习题
查看>>
coursesa课程 Python 3 programming 排序函数sorted的可选参数
查看>>
coursesa课程 Python 3 programming course_2_assessment_8 sorted练习题
查看>>
visca接口转RS-232C接口线序
查看>>
在unity中建立最小的shader(Minimal Shader)
查看>>