- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
(注意:我知道标题与 this question 几乎相同,但它的解决方案仅适用于我在自己的系统上构建的情况。我正在为嵌入式 ARM 设备构建。)
我正在尝试构建一个针对 arm 设备的交叉编译 FFmpeg 库,而 ./configure 命令告诉我 libvpx 已过时。
我的libvpx版本如下:
$ pkg-config --modversion vorbis
1.3.2
$ ./configure --prefix=/home/test/Dev/build-arm/ffmpeg-armhf/ --enable-cross-compile --cross-prefix=${CCPREFIX} --arch=armhf --target-os=linux --pkg-config-flags="--libs vpx --static --cflags" --enable-shared --enable-libvpx
ERROR: libvpx decoder version must be >=0.9.1
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.
/usr/share/pkgconfig
.因为它是针对不同的目标( ARM ),我应该把这个文件放在其他地方吗? :
# pkg-config file from libvpx v1.6.0-322-gc325fb7
prefix=/home/test/Dev/build-arm/libvpx
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
Name: vpx
Description: WebM Project VPx codec implementation
Version: 1.6.0
Requires:
Conflicts:
Libs: -L${libdir} -lvpx -lm
Libs.private: -lm -lpthread
Cflags: -I${includedir}
(...lots of text...)
arm-openwrt-linux-gnueabi-gcc -Werror=missing-prototypes -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -march=armv7-a -std=c99 -fomit-frame-pointer -marm -fPIC -pthread -c -o /tmp/ffconf.cZcBLWc3.o /tmp/ffconf.sWjTIULb.m
arm-openwrt-linux-gnueabi-gcc: /tmp/ffconf.sWjTIULb.m: Objective-C compiler not installed on this system
check_pkg_config vpx >= 0.9.1 vpx/vpx_decoder.h vpx/vp8dx.h vpx_codec_vp8_dx
false --exists --print-errors vpx >= 0.9.1
check_lib2 vpx/vpx_decoder.h vpx/vp8dx.h vpx_codec_dec_init_ver -lvpx
check_func_headers vpx/vpx_decoder.h vpx/vp8dx.h vpx_codec_dec_init_ver -lvpx
check_ld cc -lvpx
check_cc
BEGIN /tmp/ffconf.gM9G9FSQ.c
1 #include <vpx/vpx_decoder.h>
2 #include <vpx/vp8dx.h>
3 long check_vpx_codec_dec_init_ver(void) { return (long) vpx_codec_dec_init_ver; }
4 int main(void) { return 0; }
END /tmp/ffconf.gM9G9FSQ.c
arm-openwrt-linux-gnueabi-gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -march=armv7-a -std=c99 -fomit-frame-pointer -marm -fPIC -pthread -c -o /tmp/ffconf.cZcBLWc3.o /tmp/ffconf.gM9G9FSQ.c
/tmp/ffconf.gM9G9FSQ.c:1:29: fatal error: vpx/vpx_decoder.h: No such file or directory
compilation terminated.
ERROR: libvpx decoder version must be >=0.9.1
最佳答案
找到了。
我的图书馆位于
/home/test/Dev/build-arm/libvpx/lib
$ arm-openwrt-linux-gnueabi-pkg-config --libs vpx
-L/home/test/Dev/build-arm/home/test/Dev/build-arm/libvpx/lib -lvpx
#!/bin/sh
SYSROOT=/home/test/Dev/build-arm
export PKG_CONFIG_LIBDIR=${SYSROOT}/pkgconfig
export PKG_CONFIG_SYSROOT_DIR=${SYSROOT}
exec pkg-config "$@"
#!/bin/sh
SYSROOT=/home/test/Dev/build-arm
export PKG_CONFIG_LIBDIR=${SYSROOT}/pkgconfig
export PKG_CONFIG_SYSROOT_DIR=
exec pkg-config "$@"
关于ffmpeg - ffmpeg : libvpx decoder version must be >=0. 9.1 的交叉编译,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39135103/
当我运行时 ffmpeg -y -i test.mov -threads 8 -f webm -aspect 16:9 -vcodec libvpx -deinterlace -g 120 -leve
我有以下 ffserver.conf 配置: Port 8090 # Port to bind the server to BindAddress 0.0.0
在我的 jni 目录中,我运行以下命令: $ ./libvpx/configure --target=armv7-android-gcc --disable-examples --sdk-path=/
我正尝试按照此处提到的步骤为 Android 构建 CSipSimple https://sourceforge.net/p/csipsimple/wiki/HowToBuild/?version=1
我已经使用 MSYS(对于 MinGW)构建了 libvpx.a 和 header 。当我尝试编译 example 时出现大量对 vpx 成员的 undefined reference : g++ -
我正在尝试将 libvpx 构建为静态库,以便稍后在 FFmpeg 构建中使用,但我遇到了麻烦。我使用的libvpx版本是1.6.0。 这是我的配置: ./configure --prefix=/ho
FFMpeg 本周更新,导致构建中断。 我的选择是: 将 ffmpeg 固定到以前的版本?如果是这样,我如何固定到当前版本之前的版本? 更新python dockerfile版本 输出: Step 8
我使用以下命令安装 libvorbis 和 libvpx。 yum install libvpx yum install libvorbis 请帮我启用这些模块。我正在使用centos 7服务器。 最
我尝试使用 ./configure --target=x86-win32-gcc --enable-static-msvcrt --prefix=/MinGW 在 MinGW 上编译 libvpx 并
我正在我的 64 位 Ubuntu 14 机器上编译 FFMPEG。一切都编译得很好,除了 libvpx 库,它不断抛出错误: [AS] vp9/common/x86/vp9_subpixel_8t_
已关闭。这个问题是 off-topic 。目前不接受答案。 想要改进这个问题吗? Update the question所以它是on-topic用于堆栈溢出。 已关闭10 年前。 Improve th
我正在尝试使用 ./configure --target=x86-win32-gcc --enable-static-msvcrt --prefix=/MinGW 在 MinGW 上编译 libvpx
需要一些关于在 Windows 上启用 libvpx 编译 ffmpeg 的信息。这是我遵循的步骤和我得到的错误 在 windows 上安装 msys2 并安装所需的包(git、pkg-config、
我使用的命令是: C:\cmd\ffmpeg\bin\ffmpeg.exe -i "C:\Users\user\Dropbox\Workspace - C#\SnowflakeGenerator\ou
关闭。这个问题是off-topic .它目前不接受答案。 想改进这个问题? Update the question所以它是on-topic对于堆栈溢出。 9年前关闭。 Improve this que
我需要添加到 android 项目原子处理器支持。使用参数在 x86 下配置和构建 libvpx 库: ./configure --disable-examples --sdk-path = '/ A
(注意:我知道标题与 this question 几乎相同,但它的解决方案仅适用于我在自己的系统上构建的情况。我正在为嵌入式 ARM 设备构建。) 我正在尝试构建一个针对 arm 设备的交叉编译 FF
我有一个带有一个用 VP9 (libvpx-vp9) 编码的视频流的 WebM 文件。 我编写了一个 C++ 程序来从视频流中提取帧并将它们保存为 PNG。除了生成的 PNG 缺少 alpha 之外,
这是我目前正在关注的过程: 安装依赖 sudo apt-get remove ffmpeg x264 libx264-dev sudo apt-get update sudo apt-get inst
我正在开发一个使用 Linphone 的 SIP 应用程序。我从以下位置获得了 git 存储库: git clone git://git.linphone.org/linphone-android.g
我是一名优秀的程序员,十分优秀!