博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
[CentOS_7.4]Linux编译安装ffmpeg
阅读量:4554 次
发布时间:2019-06-08

本文共 957 字,大约阅读时间需要 3 分钟。

安装过程: 下载安装源,配置,编译,安装,设置环境变量。

# wget http://www.ffmpeg.org/releases/ffmpeg-3.1.tar.gz# tar -zxvf ffmpeg-3.1.tar.gz# cd ffmpeg-3.1# ./configure --prefix=/usr/local/ffmpeg# make && make install等待安装完成...# vi /etc/profile在最后PATH添加环境变量:PATH=$PATH:/usr/local/ffmpeg/binexport PATH保存退出# source /ect/profile   设置生效# 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 && make install

  

结束!

 

转载于:https://www.cnblogs.com/miaosha5s/p/7670447.html

你可能感兴趣的文章
C teaching
查看>>
分隔指定内容,提取章节数
查看>>
this point
查看>>
验证登录信息是否合法
查看>>
线程池
查看>>
git版本控制器的基本使用
查看>>
Redis 笔记与总结4 set 和 zset 类型
查看>>
jQuery Ajax 回调函数中调用$(this)的问题 [ 转 ]
查看>>
thymeleaf:字符串拼接+输出单引号
查看>>
springboot:集成fastjson(教训)
查看>>
网络流 Edmons-Karp 算法讲解
查看>>
「NOIP2018模拟9.10」公约数 - 找规律 - gcd
查看>>
使用java理解程序逻辑(15)
查看>>
bzoj 1879 状压dp
查看>>
python 一些特殊用法和坑
查看>>
WIFI密码破解全攻略
查看>>
c++string各种函数
查看>>
errno.h含义
查看>>
字典树(模型体)
查看>>
盒模型详解
查看>>