[FFmpeg-user] Ffmpeg build on Ubuntu

Thomas Hehl thomas.hehl at lexmark.com
Fri Dec 4 18:33:47 CET 2015


/tmp/ffconf.Ydk6LmVB.c:3:2: error: #error "unsatisfied condition:
 #error "unsatisfied condition: X264_MPEG2"
check_pkg_config x265 x265.h x265_api_get
pkg-config --exists --print-errors x265
check_func_headers x265.h x265_api_get -I/home/thomas/ffmpeg_build/include
-L/home/thomas/ffmpeg_build/lib -lx265 -lstdc++ -lm -lrt -ldl
check_ld cc -I/home/thomas/ffmpeg_build/include
-L/home/thomas/ffmpeg_build/lib -lx265 -lstdc++ -lm -lrt -ldl
check_cc -I/home/thomas/ffmpeg_build/include -L/home/thomas/ffmpeg_build/lib
BEGIN /tmp/ffconf.Ydk6LmVB.c
    1    #include <x265.h>
    2    long check_x265_api_get(void) { return (long) x265_api_get; }
    3    int main(void) { return 0; }
END /tmp/ffconf.Ydk6LmVB.c
-I/home/thomas/ffmpeg_build/include -std=c99 -fomit-frame-pointer -pthread
-I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi
-I/usr/include/freetype2 -I/home/thomas/ffmpeg_build/include
-I/usr/include/freetype2 -I/usr/include/opus
-I/home/thomas/ffmpeg_build/include -I/home/thomas/ffmpeg_build/include
-I/home/thomas/ffmpeg_build/include -I/home/thomas/ffmpeg_build/include
-I/home/thomas/ffmpeg_build/include -L/home/thomas/ffmpeg_build/lib -c -o
/tmp/ffconf.CdxUfdFo.o /tmp/ffconf.Ydk6LmVB.c
In file included from /tmp/ffconf.Ydk6LmVB.c:1:0:
/home/thomas/ffmpeg_build/include/x265.h:103:5: error: unknown type name
     bool             bScenecut;
ERROR: x265 not found using pkg-config

But if that's it, why didn't changing the header make it better?

On Fri, Dec 4, 2015 at 10:52 AM, Moritz Barsnick <barsnick at gmx.net> wrote:

> On Fri, Dec 04, 2015 at 15:21:37 +0100, Nicolas George wrote:
> > If this is a snapshot of the latest hg tree, then it is probably because
> the
> > "bool" bug. Add "#include <stdbool.h>" somewhere in the beginning of
> x265.h
> > and it should work.
> From what I can tell, that was fixed here:
> http://hg.videolan.org/x265/rev/86b915fdd88a
> But it's worth a try.
> Otherwise, we need Thomas's config.log, or at least the end of it.
> @Thomas, can you check the end of config.log for messages regarding
> x265?
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

More information about the ffmpeg-user mailing list