[FFmpeg-user] Error building ffmpeg with x265 support

Lou Logan lou at lrcd.com
Wed Feb 7 02:56:34 EET 2018

On Mon, Feb 5, 2018, at 8:13 PM, David Turner wrote:
> 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

Which Ubuntu version? Did you compile x265 or install the libx265-dev package? (The guide offers either option.)

More information about the ffmpeg-user mailing list