0

我正在我的 64 位 Ubuntu 14 机器上编译 FFMPEG。一切都编译得很好,除了 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

我遵循了这个指南:https ://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu 我不知道这个错误是什么意思,但是在某处读到用 NASM 编译 libvpx 被破坏了,但我不知道如何编译否则。安装 1.2 或 1.1 版没有任何区别。有任何想法吗?

4

1 回答 1

3

用 Yasm 编译它就可以了:

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

假设 Yasm 在主目录中编译

于 2014-09-29T13:30:46.630 回答