Log in

View Full Version : x264 Compile


AlucardSama04
28th June 2019, 13:51
Hi! I want to compile x264 with Patches (fade-compensate, opts, etc) but when I compile, the patches aren't applied.

OS: Windows 10

LoRd_MuldeR
28th June 2019, 19:16
Hi! I want to compile x264 with Patches (fade-compensate, opts, etc) but when I compile, the patches aren't applied.

OS: Windows 10

Hello!

If you don't explain what exactly you have been doing so far, it will be next to impossible to give a useful advice!

Anyway, the general procedure will be as follows:
Clone x264 source code from official Git repository – or pull in the latest changes, if you have a local copy
Apply any "custom" patches that you want to include, e.g. via "patch -p1 < /foo/bar/some_patch.diff" command, and make sure that they applied cleanly
Now you compile x264 as usual, i.e. run "./configure" followed by "make"

(I'm assuming here that you already have a basic understand of how to compile software from the sources in a Unix-like build environment)

Warning: Patch files are intended to be applied to a specific version of x264. As the development of x264 proceeds and the code changes, patch files will often need to be updated in order to still apply cleanly. And even if the patch file did apply cleanly, you cannot be sure that changes at other places haven't rendered the patch obsolete or incompatible. So, please be sure to apply the right patch to the correct version of x264!

AlucardSama04
28th June 2019, 19:54
Well, the problem is: I don't know how to apply patches on x264.

LoRd_MuldeR
28th June 2019, 20:19
Well, the problem is: I don't know how to apply patches on x264.

Anyway, the general procedure will be as follows:
Clone x264 source code from official Git repository – or pull in the latest changes, if you have a local copy
Apply any "custom" patches that you want to include, e.g. via "patch -p1 < /foo/bar/some_patch.diff" command, and make sure that they applied cleanly

If you are facing any specific problem, please post the details! (error message, etc. pp.)

jpsdr
29th June 2019, 09:23
Shouldn't you, in that case, look for an allready patched build of x264 ? Or is there a specific reason you want to build it yourself ?