当前位置:网站首页>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
边栏推荐
- 1N5408-ASEMI整流二极管1N5408
- 解决computed属性与input的blur事件冲突问题
- 1 - first knowledge of go language
- Async keyword
- 22年了你还不知道文件包含漏洞?
- January 1, 1990 is Monday. Define the function date_ to_ Week (year, month, day), which realizes the function of returning the day of the week after inputting the year, month and day, such as date_ to
- 【JZ46 把数字翻译成字符串】
- Frame synchronization implementation
- 填充每个节点的下一个右侧节点指针 II [经典层次遍历 | 视为链表 ]
- Epoll's et, lt working mode -- example program
猜你喜欢
![[servlet] detailed explanation of servlet (use + principle)](/img/7e/69b768f85bad14a71ce9fcef922283.png)
[servlet] detailed explanation of servlet (use + principle)

LeetCode151-颠倒字符串中的单词-字符串-模拟

UML项目实例——抖音的UML图描述

1 - first knowledge of go language

LeetCode165-比较版本号-双指针-字符串

Svn detailed use tutorial

Borui data and F5 jointly build the full data chain DNA of financial technology from code to user

Arduino for esp8266串口功能简介

LeetCode149-直线上最多的点数-数学-哈希表

你還不知道責任鏈模式的使用場景嗎?
随机推荐
Select receives both normal data and out of band data
Epoll's et, lt working mode -- example program
How to upload large files quickly?
eolink 如何助力遠程辦公
8.3 语言模型与数据集
你还不知道责任链模式的使用场景吗?
we引用My97DatePicker 实现时间插件使用
Realization of four data flow modes of grpc based on Multilingual Communication
分享 20 个不容错过的 ES6 的技巧
raised exception class EAccexxViolation with ‘Access violation at address 45EFD5 in module 出错
你還不知道責任鏈模式的使用場景嗎?
Swift - literal, literal protocol, conversion between basic data types and dictionary / array
MySQL报错packet out of order
Swift: entry of program, swift calls OC@_ silgen_ Name, OC calls swift, dynamic, string, substring
Provided by Chengdu control panel design_ It's detailed_ Introduction to the definition, compilation and quotation of single chip microcomputer program header file
ASEMI三相整流桥和单相整流桥的详细对比
Svn detailed use tutorial
Unity_ Code mode add binding button click event
Frame synchronization implementation
博睿数据携手F5共同构建金融科技从代码到用户的全数据链DNA