Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#949 closed defect (worksforme)

Unable to compile ffmpeg with new libvpx version (1.0.0)

Reported by: xanadonf Owned by:
Priority: normal Component: build system
Version: git-master Keywords: libvpx
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no



Since yesterday, I am unable to compile ffmpeg with libvpx on debian squeeze.

A minimalistic configure for purpose:

./configure --prefix=$TOOLS_MULTIMEDIA_DIR --enable-shared --enable-libtheora --enable-libvorbis --enable-libvpx --enable-pthreads --enable-nonfree --disable-decoder=libvpx

ERROR: libvpx encoder version must be >=0.9.6

I used both libvpx trunk and 1.0.0 code on

ll /opt/xxx/multimedia/lib/libvpx*
-rw-r--r-- 1 root root 885284 29 janv. 12:40 /opt/mediatech/multimedia/lib/libvpx.a
lrwxrwxrwx 1 root root 15 29 janv. 12:40 /opt/mediatech/multimedia/lib/ ->
lrwxrwxrwx 1 root root 15 29 janv. 12:40 /opt/mediatech/multimedia/lib/ ->
lrwxrwxrwx 1 root root 15 29 janv. 12:40 /opt/mediatech/multimedia/lib/ ->
-rwxr-xr-x 1 root root 701973 29 janv. 12:40 /opt/mediatech/multimedia/lib/

libvpx compiled with
./configure --enable-vp8 --prefix=$TOOLS_MULTIMEDIA_DIR --enable-pic --enable-shared


Change History (2)

comment:1 Changed 5 years ago by cehoyos

  • Keywords compile error removed
  • Resolution set to worksforme
  • Status changed from new to closed

I just installed libvpx-v1.0.0 from and compiling ffmpeg with --enable-libvpx works fine (and webm files can be encoded).

If you installed libvpx into /opt/mediatech/multimedia, you have to add correct --extra-cflags and --extra-ldflags to your FFmpeg configure line, probably --extra-cflags=-I/opt/mediatech/multimedia/include --extra-ldflags=-L/opt/mediatech/multimedia/lib

comment:2 Changed 5 years ago by xanadonf

Thanks. I do not understand why it was compiling for two years now ut it works now.

I do not understand those directives yet, but it compiles now ... i will search on it.

Note: See TracTickets for help on using tickets.