简体   繁体   English

为FFMPEG编译libvpx时出现编译错误

[英]Compilation error when compiling libvpx for FFMPEG

I'm compiling FFMPEG on my 64bit Ubuntu 14 machine. 我正在64位Ubuntu 14计算机上编译FFMPEG。 Everything compiled well, except for the libvpx library, which keeps throwing errors: 一切都编译良好,但libvpx库除外,该库始终会引发错误:

[AS] vp9/common/x86/vp9_subpixel_8t_ssse3.asm.o
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:856: warning: label alone on a line without a colon might be in error
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:897: warning: label alone on a line without a colon might be in error
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:970: warning: label alone on a line without a colon might be in error
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:1002: warning: label alone on a line without a colon might be in error
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:340: error: invalid combination of opcode and operands
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:457: error: invalid combination of opcode and operands
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:897: error: invalid combination of opcode and operands
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:1002: error: invalid combination of opcode and operands
make[1]: *** [vp9/common/x86/vp9_subpixel_8t_ssse3.asm.o] Error 1
make: *** [.DEFAULT] Error 2

I followed this guide: https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu I don't know what this error means, but read somewhere that compiling libvpx with NASM is broken, but I don't know how to compile it otherwise. 我遵循了该指南: https : //trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu我不知道此错误是什么意思,但是在某处读到用NASM编译libvpx已损坏,但我不知道如何编译否则。 Installing version 1.2 or 1.1 makes no difference whatsoever. 安装1.2或1.1版没有任何区别。 Any ideas? 有任何想法吗?

Compiling it with Yasm did the trick: 使用Yasm进行编译可以达到以下目的:

PATH="$PATH:$HOME/bin" ./configure --prefix="$HOME/ffmpeg_build" --disable-examples
PATH="$PATH:$HOME/bin" make

Assuming Yasm is compiled in the home directory 假设Yasm编译在主目录中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM