[FFmpeg-user] Custom windows FFmpeg with libx24

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Jan 23 00:21:05 EET 2018

2018-01-19 23:27 GMT+01:00 Rod Yk <y2k4thandlong-at-yahoo.com at ffmpeg.org>:
> I am trying to create a custom build of ffmpeg and include libx264 for windows.
> I have spent the day reading articles and trying diffident things with no success.
> I have pulled down and built the libx264, however configure doesn't find it.

> I have attached the config.log

> test.c:2:18: fatal error: x264.h: No such file or directory
> #include <x264.h>

Were did you install the x264 headers?

> This is one of many commands I tried.
>  ./configure --prefix=ffmpeg/ --enable-shared --disable-debug --disable-yasm
> --enable-libx264 --enable-gpl --enable-static

Iirc, Windows cannot support "--enable-shared --enable-static", you have
to decide what you want.
The combination "--disable-debug --disable-yasm" usually makes no sense:
Typically, you either want a debug binary without yasm or a non-debug
binary, then not using yasm is bad idea.

Carl Eugen

More information about the ffmpeg-user mailing list