[FFmpeg-user] Error building ffmpeg with x265 support

Frank Haefemeier media at frank.haefemeier.eu
Wed Feb 7 01:30:16 EET 2018

Am Dienstag, den 06.02.2018, 05:13 +0000 schrieb David Turner:
> I worked my through the tutorial on compiling ffmpeg with h.265 support found at https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu. The last thing it instructed me to do is 
> PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure   --prefix="$HOME/ffmpeg_build"   --pkg-config-flags="--static"   --extra-cflags="-I$HOME/ffmpeg_build/include"   --extra-ldflags="-L$HOME/ffmpeg_build/lib"   --extra-libs="-lpthread -lm"   --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-libx265   --enable-nonfree
> to which I got the following error:
> ERROR: x265 not found using pkg-config
You must install the developer package (header files) of x265 library.
E.g. on fedora you must install 'dnf install x265-devel'. It will
install the header, pkg-config files and (if missing) the library
itself. If you have another package manager the concept is equal.


More information about the ffmpeg-user mailing list