[FFmpeg-user] Configure error

Lou lou at lrcd.com
Wed Oct 17 00:12:28 CEST 2012


On Tue, 16 Oct 2012 11:55:40 +0100
Darren Goulden <darren.goulden at gmail.com> wrote:

> Hi,
> 
> I'm getting a configuration error when using the switches below
> "ERROR: libvpx encoder version must be >=0.9.7"
> 
> ./configure --prefix=/usr --enable-avfilter --enable-vdpau
> --enable-bzlib --enable-libgsm --enable-libschroedinger
> --enable-libspeex --enable-libtheora --enable-libvorbis
> --enable-pthreads --enable-zlib --disable-stripping
> --enable-runtime-cpudetect --enable-libmp3lame --enable-libfaac
> --enable-nonfree --enable-gpl --enable-postproc --enable-swscale
> --enable-x11grab --enable-libxvid --enable-libx264
> --enable-libopencore-amrnb --enable-version3
> --enable-libopencore-amrwb --enable-version3 --enable-libdc1394
> --enable-libvpx --enable-shared --enable-pic

You don't need all of these. Some are autodetected (or obsolete). Simple
is good:

./configure --enable-libvorbis --enable-libmp3lame --enable-libfaac \
--enable-nonfree --enable-gpl --enable-x11grab --enable-libx264 \
--enable-libvpx

...should be more than enough for most users. Installing to /usr is
generally not recommended for compiling on Ubuntu. You can omit prefix
and it will automatically install to /usr/local.

> I'm running on Ubuntu - Linux dvsMCU10 3.0.0-12-server #20-Ubuntu SMP
> Fri Oct 7 16:36:30 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
> 
> root at dvsMCU10:/usr/local/src/ffmpeg# dpkg -s libvpx0

The package you need is libvpx-dev, but see below.

> Package: libvpx0
> Status: install ok installed
> Priority: optional
> Section: libs
> Installed-Size: 696
> Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
> Architecture: amd64
> Source: libvpx
> Version: 0.9.6-1

As the error mentioned, FFmpeg requires libvpx >=0.9.7, but Oneiric
supplies 0.9.6.

See: https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide


More information about the ffmpeg-user mailing list