6

I am trying to build FFmpeg to run under Ubuntu Server 16.04. I am running these commands:

sudo apt-get build-dep ffmpeg

git clone https://github.com/FFmpeg/FFmpeg.git

cd FFmpeg

./configure   --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared --disable-stripping --enable-avresample --enable-avisynth --enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-openal --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid --enable-libzvbi --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-libssh --enable-libsoxr --enable-libx264 --enable-libopencv --enable-libx265

make -j8
sudo make install

I am getting this error:

ERROR: frei0r.h header not found

What am I missing here?

2
  • 1
    That seems like an excessive amount of less than useful external libraries that you are enabling support for. Do you really need a fixed-point MP3 encoder, non-native RTMP support, WebPee support, a text-to-speech encoder, etc, etc, etc?
    – llogan
    Sep 5, 2016 at 0:22
  • Follow the Compilation Guide at ffmpeg to avoid any errors. P.S.:- Since you are enabling all the codecs, make sure you have installed all of them prior to the final compilation command of ffmpeg.
    – Raphael
    Sep 5, 2016 at 2:39

2 Answers 2

7

frei0r.h is in the frei0r-plugins-dev packcage.
Try install that package(e.g. sudo aptitude install frei0r-plugins-dev).

0

you could also remove --enable-frei0r from the arguments given to configure.

assuming it's not necessary to you.

1
  • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review Mar 13 at 12:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .