当前位置: 首页 > news >正文

linux下安装ffmpeg的详细教程、ffmpeg is not installed

1、下载解压

wget http://www.ffmpeg.org/releases/ffmpeg-6.0.tar.gz
tar -zxvf ffmpeg-6.0.tar.gz 

2、 进入解压后目录,输入如下命令/usr/local/ffmpeg为自己指定的安装目录

cd ffmpeg-6.0
./configure --prefix=/usr/local/ffmpeg
make 
sudo make install

3、配置变量

vi /etc/profile
在最后PATH添加环境变量:
export PATH=$PATH:/usr/local/ffmpeg/bin
保存退出
查看是否生效
source /ect/profile  设置生效

4、查看版本

ffmpeg -version    查看版本

注意(可能出现的错误):

若安装过程中出现以下错误:

yasm/nasm not found or too old.

Use –disable-yasm for a crippled build. If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file “config.log” produced by configure as this will help solve the problem.

需要安装 yasm

wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
tar -zxvf yasm-1.3.0.tar.gz
cd yasm-1.3.0
./configure
make 
sudo make install

linux下安装ffmpeg的详细教程-腾讯云开发者社区-腾讯云

http://www.lryc.cn/news/190504.html

相关文章:

  • ctfshow-ssti
  • 【ES6 03】变量解构赋值
  • RustDay03——记录刷完Rust100题
  • 微软10月补丁 | 修复103个漏洞,包括2个零日漏洞,13个严重漏洞
  • ubuntu编写makefile编译c++程序
  • 详解COCO数据格式的json文件内容
  • 2023.10.12
  • antd Form shouldUpdate 关联展示 form 数组赋值
  • vue实现一个简单导航栏
  • 每日leetcode_LCP01猜数字
  • 接口自动化测试_L1
  • Windows提权
  • 香港服务器的优势?
  • 关于开展2023年度光明科学城出站博士后生活资助申报工作的通知
  • “.NET视频总结:认识框架的结构和组件,掌握开发工具的奥妙“
  • STM32 CubeMX PWM三种模式(互补,死区互补,普通)(HAL库)
  • Linux系统导入导出docker容器的sql数据
  • SpringBoot之使用Redis和注解实现接口幂等性
  • 《3D 数学基础》几何检测-相交性检测
  • 文字与视频结合效果
  • 大数据Doris(九):配置BE步骤
  • BuyVM 纽约 VPS 测评
  • H3C交换机的40G堆叠线 ,可以插在普通光口做堆叠吗?
  • 【Java 进阶篇】JavaScript三元运算符详解
  • MySQL数据库技术笔记(4)
  • 批量图片转文字识别OCR身份证件信息提取软件
  • Mac/Wins Matlab如何查看APPs源码
  • Web应用-Thinkphp框架-开发指南
  • LeetCode【300】最长递增子序列
  • JRebel在IDEA中实现热部署 (JRebel实用版)