[FFmpeg-user] Ffmpeg build on Ubuntu

Moritz Barsnick barsnick at gmx.net
Fri Dec 4 14:49:08 CET 2015


On Fri, Dec 04, 2015 at 07:43:02 -0500, Thomas Hehl wrote:
> thomas at thomas-linux-box:~/ffmpeg_sources/ffmpeg$ 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" \
> >   --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
> ERROR: x265 not found using pkg-config

That's peculiar, because your first email showed that it installed
this:
/home/thomas/ffmpeg_build/lib/pkgconfig/x265.pc

So, please try execute for us and show us the output:
$ ls -l /home/thomas/ffmpeg_build/lib/pkgconfig/x265.pc
$ pkg-config --libs x265
$ (export PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"; pkg-config --libs x265)
$ (export PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"; pkg-config --cflags x265)
$ (export PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"; pkg-config --libs --static x265)
$ (export PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"; pkg-config --cflags --static x265)

Thanks,
Moritz


More information about the ffmpeg-user mailing list