[FFmpeg-user] Libvpx encoder version
Amos Treiber
amos.treiber at gmail.com
Fri Jun 12 15:53:01 CEST 2015
Hi,
I want to compile ffmpeg with just webm codecs (vp8 and opus) in MinGW. I
compiled libopus and libvpx and both are recognized by pkg-config:
$ cat /usr/local/lib/pkgconfig/vpx.pc
# pkg-config file from libvpx v1.4.0
prefix=/usr/local
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
Name: vpx
Description: WebM Project VPx codec implementation
Version: 1.4.0
Requires:
Conflicts:
Libs: -L${libdir} -lvpx -lm
Libs.private: -lm
Cflags: -I${includedir}
but when I run configure:
$ ./configure --enable-memalign-hack --extra-cflags="-I$HOME/local/include"
--extra-ldflags="-L$HOME/local/lib" --disable-everything --disable-ffplay
--disable-ffprobe --enable-libvpx --enable-libopus --enable-indevs
--enable-encoder=libvpx_vp8,pcx,png,opus
--enable-protocol=cache,pipe,concat,md5,file,md5,data,crypto
--enable-parser=png,bmp,vp8,opus
--enable-muxer=image2pipe,md5,avi,bit,rawvideo,crc,data,null,webm,gif,wav
--enable-demuxer=image2pipe,rawvideo,avi,bit,gif,wav --enable-filters
--disable-filter=dctdnoiz
ERROR: libvpx encoder version must be >=0.9.7
In the config.log it says:
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1 -D__printf__=__gnu_printf__
-I/home/Amos/local/include -std=c99 -fomit-frame-pointer
-IC:/MinGW/msys/1.0/local/include/opus -LC:/MinGW/msys/1.0/local/lib -c -o
/tmp/ffconf.sDCZewGN.o /tmp/ffconf.ORDBzyRx.c
gcc -L/home/Amos/local/lib -Wl,--nxcompat -Wl,--dynamicbase
-Wl,--large-address-aware -Wl,--as-needed
-IC:/MinGW/msys/1.0/local/include/opus -LC:/MinGW/msys/1.0/local/lib -o
/tmp/ffconf.YwgEqewE.exe /tmp/ffconf.sDCZewGN.o -lopus -lm -lpsapi
-ladvapi32 -lshell32
check_lib2 vpx/vpx_encoder.h vpx/vp8cx.h vpx_codec_enc_init_ver
VP8E_SET_MAX_INTRA_BITRATE_PCT -lvpx
check_func_headers vpx/vpx_encoder.h vpx/vp8cx.h vpx_codec_enc_init_ver
VP8E_SET_MAX_INTRA_BITRATE_PCT -lvpx
check_ld cc -lvpx
check_cc
BEGIN /tmp/ffconf.ORDBzyRx.c
1 #include <vpx/vpx_encoder.h>
2 #include <vpx/vp8cx.h>
3 long check_vpx_codec_enc_init_ver(void) { return (long)
vpx_codec_enc_init_ver; }
4 long check_VP8E_SET_MAX_INTRA_BITRATE_PCT(void) { return (long)
VP8E_SET_MAX_INTRA_BITRATE_PCT; }
5 int main(void) { return 0; }
END /tmp/ffconf.ORDBzyRx.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1 -D__printf__=__gnu_printf__
-I/home/Amos/local/include -std=c99 -fomit-frame-pointer
-IC:/MinGW/msys/1.0/local/include/opus -c -o /tmp/ffconf.sDCZewGN.o
/tmp/ffconf.ORDBzyRx.c
C:/Users/Amos/AppData/Local/Temp/ffconf.ORDBzyRx.c:1:29: fatal error:
vpx/vpx_encoder.h: No such file or directory
#include <vpx/vpx_encoder.h>
^
compilation terminated.
ERROR: libvpx encoder version must be >=0.9.7
I already tried uninstalling any possible older versions of libvpx and
reinstalling the newest version but other than that I'm out of ideas since
opus seems to be recognized. Any suggestions for fixing that error would be
appreciated.
Cheers and thanks in advance,
Amos
More information about the ffmpeg-user
mailing list