Page 1 of 1

How to integrate new version of x264 encoder?

Posted: Sat Apr 28, 2018 6:58 pm
by treki
Description of problem or question:

I have compiled the newest version of x264. x264 --version says:
x264 0.152.x
built on Apr 28 2018, gcc: 5.4.0 20160609
But MediaInfo from a encoded movie still says: Writing library : x264 core 148 r2643 5c65704


How i can integrate the new x264 core into Handbrake?


HandBrake version (e.g., 1.0.0):

1.1.0


Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):

Linux Mint 18.3 mate 64bit

Re: How to integrate new version of x264 encoder?

Posted: Sat Apr 28, 2018 8:05 pm
by Woodstock
handbrake does not call x264's EXE file. You would have to build handbrake with the new library, including all of the patches that are done to make it work.

Re: How to integrate new version of x264 encoder?

Posted: Sat Apr 28, 2018 8:18 pm
by treki
How i rebuild Handbrake?
Do you have a link to a tutorial?

Edit: Ok, i have found a tutorial.
Txh

Re: How to integrate new version of x264 encoder?

Posted: Sat Apr 28, 2018 8:32 pm
by s55
There is no tutorial for upgrading x264. It's deliberately locked to specific versions which are known to work and be stable.

We periodically upgrade it. Running the nightly builds is your best option as you'll get updates much quicker. Right now though, we are still on a slightly older revision.

There isn't anything major worth upgrading for.

Re: How to integrate new version of x264 encoder?

Posted: Sat Apr 28, 2018 10:07 pm
by treki
Unfortunately is in the nightly build (Linux) r2643 :(
In the Windows version is r2893.
I must have a new version.

Re: How to integrate new version of x264 encoder?

Posted: Sun Apr 29, 2018 8:31 am
by rollin_eng
treki wrote: Sat Apr 28, 2018 10:07 pm I must have a new version.
Is there a reason such as a bug?

Re: How to integrate new version of x264 encoder?

Posted: Sun Apr 29, 2018 1:26 pm
by treki
Lol. That is a wish :D
Is there a solution to integrate in the Linux version r2893?
Creating a build myself does not work for me.
Which library do I have to replace before I compile?

.....sorry, my english is terrible.

Re: How to integrate new version of x264 encoder?

Posted: Sun Apr 29, 2018 1:28 pm
by s55
Sorry, your asking for something that's not supported and asking volunteers to give up their free time helping you with no reasonable justification.

You're on your own with this one I'm afraid.

If you can define a good reason to upgrade, we'll put it on our lists to upgrade sooner. Otherwise it'll happen next time we get a chance.

Re: How to integrate new version of x264 encoder?

Posted: Sun Apr 29, 2018 3:04 pm
by Woodstock
treki, you still have not said why you must have the particular version of x264.

Re: How to integrate new version of x264 encoder?

Posted: Sat Jun 09, 2018 9:31 am
by treki
Sorry. I can not say.
On I3 it works with newest libs perfectly.
On the 2nd not. (Ryzen7 1800x 32gb ram)
And Linux Mint 19 mate beta have a prob with compiling (automake)

Re: How to integrate new version of x264 encoder?

Posted: Mon Jun 11, 2018 4:05 pm
by JohnAStebbins
On linux platforms (with the exception of flatpak builds) HandBrake gets libx264 from your system libs (i.e. we do not build it). If Mint 19 doesn't have the version of libx264 that you want in it's repository, you'll have to figure out how to build and install it yourself.