[FFmpeg-user] ffmpeg - ERROR: opus not found

David Favor david at davidfavor.com
Sat Jul 19 18:31:11 CEST 2014

shobin b wrote:
> Hi,
>   I am doing ffmpeg for screen capture purpose.when i am configuring it is
> showing some error.Please tell me why i am getting the error,
> [yash at localhost ffmpeg]$ ./configure --prefix="$HOME/ffmpeg_build"
> --extra-cflags="-I$HOME/ffmpeg_build/include"
> --extra-ldflags="-L$HOME/ffmpeg_build/lib" --bindir="$HOME/bin"
> --disable-yasm --extra-libs="-ldl" --enable-gpl --enable-libass
> --enable-libfreetype --enable-libmp3lame --enable-libopus
> --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264
> --enable-nonfree --enable-x11grab
> ERROR: opus not found
> 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 at 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.

You may also require installing the associated foo-dev packages also.

For example on Ubuntu...

     biz-net2# apt-file search opus.h
     libopus-dev: /usr/include/opus/opus.h
     thunderbird-dev: /usr/include/thunderbird/opus/opus.h
     z88dk-data: /usr/share/z88dk/include/zxopus.h

Notice the opus.h file (what ffmpeg looks for + requires) lives in
the libopus-dev package, rather than the libopus package.

- David

More information about the ffmpeg-user mailing list