当前位置:网站首页>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
边栏推荐
- Interviewer: let's talk about the process of class loading and the mechanism of class loading (parental delegation mechanism)
- GIS数据处理-cesium中模型位置设置
- Epoll's et, lt working mode -- example program
- Brute force of DVWA low -- > High
- go基础 反射
- 如何打开Win10启动文件夹?
- Swift: entry of program, swift calls OC@_ silgen_ Name, OC calls swift, dynamic, string, substring
- MySQL error packet out of order
- Leetcode167 - sum of two numbers II - double pointer - bisection - array - Search
- Select receives both normal data and out of band data
猜你喜欢
1N5408-ASEMI整流二极管1N5408
8.3 语言模型与数据集
大文件如何快速上传?
do(Local scope)、初始化器、内存冲突、Swift指针、inout、unsafepointer、unsafeBitCast、successor、
UML项目实例——抖音的UML图描述
Detailed comparison between asemi three-phase rectifier bridge and single-phase rectifier bridge
三、梯度下降求解最小θ
What is the main purpose of PCIe X1 slot?
编程哲学——自动加载、依赖注入与控制反转
Want to be an architect? Tamping the foundation is the most important
随机推荐
[proteus simulation] automatic range (range < 10V) switching digital voltmeter
ASEMI三相整流桥和单相整流桥的详细对比
线程同步、生命周期
[stc8g2k64s4] introduction of comparator and sample program of comparator power down detection
利用 MATLAB 编程实现最速下降法求解无约束最优化问题
牛客网数据库SQL实战详细剖析(26-30)
LeetCode167-两数之和II-双指针-二分-数组-查找
Pnpm installation and use
LeetCode165-比较版本号-双指针-字符串
Epoll's et, lt working mode -- example program
Explanation and example application of the principle of logistic regression in machine learning
Leetcode167 - sum of two numbers II - double pointer - bisection - array - Search
小红书 timestamp2 (2022/04/22)
科技的成就(二十一)
[detailed explanation of factory mode] factory method mode
Introduction to dirty reading, unrepeatable reading and phantom reading
like和regexp差别
Comment eolink facilite le télétravail
Realization of four data flow modes of grpc based on Multilingual Communication
Contraction mapping theorem