当前位置:网站首页>ffmpeg安装遇错:nasm/yasm not found or too old. Use --disable-x86asm for a crippled build.
ffmpeg安装遇错:nasm/yasm not found or too old. Use --disable-x86asm for a crippled build.
2022-04-23 14:54:00 【sayyy】
前言
- centos 7
- 源码编译安装ffmpeg
错误
编译FFMPEG时,出现了错误 nasm/yasm not found or too old. Use --disable-x86asm for a crippled build.
。
原因
这是因为 FFMPEG为了提高编译速度,使用了汇编指令,如MMX和SSE等。如果系统中没有yasm
指令的话,就会该错误。
解决办法
安装yasm
。
安装yasm
Windows系统安装yasm
如果是Windows系统, 从网上下载一个 yasm.exe
并安装在mingw/bin
下面,重新编译,就不会出现该错误了。
Linux系统安装yasm
如果是Linux系统,则更简单,直接在终端输入 yum install yasm
, 安装好后,重新编译就 OK了。
除了使用yum
安装yasm
,还可以编译安装,如下:
在http://www.tortall.net/projects/yasm/releases下面找到适合自己平台的yasm版本。然后进行安装。举例如下:
1)下载:wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
2)解压:tar zxvf yasm-1.3.0.tar.gz
3)切换路径: cd yasm-1.3.0
4)执行配置: ./configure
5)编译:make
6)安装:make install
参考
https://blog.csdn.net/yzhang6_10/article/details/75635734
https://blog.csdn.net/ranxiedao/article/details/16359183
版权声明
本文为[sayyy]所创,转载请带上原文链接,感谢
https://sayyy.blog.csdn.net/article/details/124337834
边栏推荐
- 科技的成就(二十一)
- 如何打开Win10启动文件夹?
- [proteus simulation] automatic range (range < 10V) switching digital voltmeter
- 线程同步、生命周期
- 在游戏世界组建一支AI团队,超参数的多智能体「大乱斗」开赛
- Flink datastream type system typeinformation
- Advanced application of I / O multiplexing: Processing TCP and UDP services at the same time
- eolink 如何助力远程办公
- Comment eolink facilite le télétravail
- Leetcode167 - sum of two numbers II - double pointer - bisection - array - Search
猜你喜欢
《JVM系列》 第七章 -- 字节码执行引擎
eolink 如何助力远程办公
MySQL error packet out of order
Svn detailed use tutorial
Leetcode167 - sum of two numbers II - double pointer - bisection - array - Search
在游戏世界组建一支AI团队,超参数的多智能体「大乱斗」开赛
eolink 如何助力遠程辦公
免费在upic中设置OneDrive或Google Drive作为图床
[stc8g2k64s4] introduction of comparator and sample program of comparator power down detection
自动化的艺术
随机推荐
eolink 如何助力远程办公
How do I open the win10 startup folder?
Redis主从同步
8.3 语言模型与数据集
Daily question - leetcode396 - rotation function - recursion
Don't you know the usage scenario of the responsibility chain model?
Leetcode153 - find the minimum value in the rotation sort array - array - binary search
GIS数据处理-cesium中模型位置设置
脏读、不可重复读和幻读介绍
多语言通信基础 06 go实现grpc的四种数据流模式实现
1N5408-ASEMI整流二极管1N5408
Achievements in science and Technology (21)
三、梯度下降求解最小θ
Epoll's et, lt working mode -- example program
MySQL error packet out of order
async void 导致程序崩溃
科技的成就(二十一)
Share 3 tools, edit 5 works at home and earn more than 400
What is the effect of Zhongfu Jinshi wealth class 29800? Walk with professional investors to make investment easier
每日一题-LeetCode396-旋转函数-递推