Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Programming and Hacking > Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 28th June 2019, 13:51   #1  |  Link
AlucardSama04
Registered User
 
Join Date: Jan 2019
Location: Romania
Posts: 5
x264 Compile

Hi! I want to compile x264 with Patches (fade-compensate, opts, etc) but when I compile, the patches aren't applied.

OS: Windows 10
AlucardSama04 is offline   Reply With Quote
Old 28th June 2019, 19:16   #2  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,033
Quote:
Originally Posted by AlucardSama04 View Post
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:
  1. Clone x264 source code from official Git repository – or pull in the latest changes, if you have a local copy
  2. 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
  3. 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!
__________________
There was of course no way of knowing whether you were being watched at any given moment.
How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.



Last edited by LoRd_MuldeR; 28th June 2019 at 19:26.
LoRd_MuldeR is offline   Reply With Quote
Old 28th June 2019, 19:54   #3  |  Link
AlucardSama04
Registered User
 
Join Date: Jan 2019
Location: Romania
Posts: 5
Well, the problem is: I don't know how to apply patches on x264.
AlucardSama04 is offline   Reply With Quote
Old 28th June 2019, 20:19   #4  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,033
Quote:
Originally Posted by AlucardSama04 View Post
Well, the problem is: I don't know how to apply patches on x264.
Quote:
Originally Posted by LoRd_MuldeR View Post
Anyway, the general procedure will be as follows:
  1. Clone x264 source code from official Git repository – or pull in the latest changes, if you have a local copy
  2. 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.)
__________________
There was of course no way of knowing whether you were being watched at any given moment.
How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.



Last edited by LoRd_MuldeR; 28th June 2019 at 20:22.
LoRd_MuldeR is offline   Reply With Quote
Old 29th June 2019, 09:23   #5  |  Link
jpsdr
Registered User
 
Join Date: Oct 2002
Location: France
Posts: 1,748
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 ?
__________________
My github.
jpsdr is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:18.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.