Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error installing ffmpeg on ubuntu: opus not found using pkg-config

Tags:

ffmpeg

ubuntu

When I try to install ffmpeg on my ubuntu 14.10 machine, I keep getting this:

ERROR: opus not found using pkg-config

at this step:

PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \
  --prefix="$HOME/ffmpeg_build" \
  --extra-cflags="-I$HOME/ffmpeg_build/include" \
  --extra-ldflags="-L$HOME/ffmpeg_build/lib" \
  --bindir="$HOME/bin" \
  --enable-gpl \
  --enable-libass \
  --enable-libfdk-aac \
  --enable-libfreetype \
  --enable-libmp3lame \
  --enable-libopus \
  --enable-libtheora \
  --enable-libvorbis \
  --enable-libvpx \
  --enable-libx264 \
  --enable-nonfree

I've followed all the previous installation steps and it went all successful. I'm really new to Ubuntu. Could anybody give me a hint?

like image 206
fangda Avatar asked Mar 05 '15 18:03

fangda


1 Answers

This helped for me...

apt-get install libopus-dev
like image 104
John Avatar answered Nov 13 '22 02:11

John