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 > Video Encoding > MPEG-4 AVC / H.264
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th August 2008, 04:53   #801  |  Link
kemuri-_9
Compiling Encoder
 
kemuri-_9's Avatar
 
Join Date: Jan 2007
Posts: 1,348
Quote:
Originally Posted by Ranguvar View Post
So, march=athlon should be the best choice for AMD, as it works with both of those but doesn't require much else
confirmed

pentium2 (for ez link access)
AMD Series:
k6, k6-2, athlon

k6 was slow to p2.
k6-2 was better, but still slower than p2.
athlon was where it hit faster than p2 on a nearly consistent basis.
__________________
custom x264 builds & patches | F@H | My Specs
kemuri-_9 is offline   Reply With Quote
Old 27th August 2008, 05:24   #802  |  Link
Ranguvar
Registered User
 
Ranguvar's Avatar
 
Join Date: Feb 2007
Location: ::1
Posts: 1,236
rang_x264_r0950

http://sites.google.com/site/ranguvar13/x264-builds

Direct download, Mirrors

Code:
x264 r950 from Git (patched).

Open this archive with the free, multi-platform tools 7-Zip or p7zip. Compressed with LZMA.
The src folder contains the patched source code.
The bin folder contains a binary executable for Athlon and later AMD CPUs (those with 3DNow! and 3DNow!+ support), 
and one for those without. There are also DLLs for those apps that use them (NOT for AviDemux).

Official source and vanilla builds:      http://x264.nl/
Changelog:                               http://git.videolan.org/gitweb.cgi?p=x264.git;a=shortlog
Patches and discussion at Doom9's forum: http://forum.doom9.org/


Applied patches (included, unchanged, in the patches folder):

patch -p1 < ../x264diffs/x264_dll_alignment_fix.01.diff
patch <     ../x264diffs/x264.progress.indication.01.diff
patch -p1 < ../x264diffs/x264_hrd_pulldown.09_interlace.diff
patch -p1 < ../x264diffs/x264-psyrd-0.6.r950.diff
patch -p1 < ../x264diffs/x264.new.bframes.decision.04.5.diff


Compiled by Ranguvar on August 27th, 2008, with GCC 4.3.1 on Windows XP Professional x64 SP2.

CLI used for non-AMD build: ./configure --enable-shared --extra-cflags="-march=pentium2 -pipe" && make fprofiled VIDS="../enctests/deadline_cif.y4m"
CLI used for AMD build:     ./configure --enable-shared --extra-cflags="-march=athlon -pipe" && make fprofiled VIDS="../enctests/deadline_cif.y4m"

Platform:   X86
System:     MINGW
asm:        yes
avis input: yes
mp4 output: yes
pthread:    yes
gtk:        no
debug:      no
gprof:      no
PIC:        no
shared:     yes
visualize:  no
Ranguvar is offline   Reply With Quote
Old 27th August 2008, 05:28   #803  |  Link
Ranguvar
Registered User
 
Ranguvar's Avatar
 
Join Date: Feb 2007
Location: ::1
Posts: 1,236
Thanks, kemuri, for the continued research!
Ranguvar is offline   Reply With Quote
Old 27th August 2008, 05:28   #804  |  Link
gigah72
Registered User
 
Join Date: Feb 2002
Location: OF/Germany
Posts: 111
ot:
where can i get the needed package/tools to add the version info to the build?
or can someone upload the needed files?
gigah72 is offline   Reply With Quote
Old 27th August 2008, 05:31   #805  |  Link
Ranguvar
Registered User
 
Ranguvar's Avatar
 
Join Date: Feb 2007
Location: ::1
Posts: 1,236
Kemuri, I believe, posted the list of stuff needed a while back. Find that and then use Google. First search with "mingw" added to see if there's a binary out there, otherwise, compile from source.

Hint: I believe everything you need is on the MinGW Sourceforge page, except for Git, which can be found by installing msysgit and then grabbing its stuff. Doing a ./configure will tell you if you're missing something.
Ranguvar is offline   Reply With Quote
Old 27th August 2008, 05:40   #806  |  Link
bob0r
Pain and suffering
 
bob0r's Avatar
 
Join Date: Jul 2002
Posts: 1,337
Quote:
Originally Posted by Ranguvar View Post
bob0r, skystrife, may I ask how you are compiling the DLL? I know how to do it, but x264 seems to need some modifications before the DLL will work in AviDemux. Is that exactly what you have done?

My .dll has no modifications, other than the patches themself.
Compared to the GIT-code.
bob0r is offline   Reply With Quote
Old 27th August 2008, 05:52   #807  |  Link
kemuri-_9
Compiling Encoder
 
kemuri-_9's Avatar
 
Join Date: Jan 2007
Posts: 1,348
Quote:
Originally Posted by kemuri-_9 View Post
if the build doesn't include the revision number which it's automatically configured to do on compilation, then it doesn't have access to some CLI utils:
GIT CLI : git-rev-list, git-status
binutils: awk (usually via gawk or mawk), grep, head, join, sed, sort, wc
be sure these binaries are on the PATH environment variable or it won't be able to include the revision number within the build.
many of these are part of Msys:
https://sourceforge.net/project/show...ckage_id=24963
coreutils package: head, join, sort, wc
msysCORE package: sed
gawk package: awk (via gawk)

the GIT CLI i have via msysgit:
http://code.google.com/p/msysgit/downloads/list
msysgit has LOTS of stuff in it besides just git cli binaries as well...
as it can fully create a working bash shell to for cli usage if you don't want to use the gui and don't want to have it in your windows PATH variable to use within the command prompt.
in fact msysgit comes with awk (via gawk), grep, head, sed, sort, wc (only missing join for needed purposes)
__________________
custom x264 builds & patches | F@H | My Specs

Last edited by kemuri-_9; 27th August 2008 at 05:56.
kemuri-_9 is offline   Reply With Quote
Old 27th August 2008, 05:52   #808  |  Link
Ranguvar
Registered User
 
Ranguvar's Avatar
 
Join Date: Feb 2007
Location: ::1
Posts: 1,236
@bob0r: OK, so your DLL is b0rked, too... read back a few pages
Ranguvar is offline   Reply With Quote
Old 27th August 2008, 06:09   #809  |  Link
gigah72
Registered User
 
Join Date: Feb 2002
Location: OF/Germany
Posts: 111
Quote:
Originally Posted by kemuri-_9 View Post
many of these are part of Msys:
https://sourceforge.net/project/show...ckage_id=24963
coreutils package: head, join, sort, wc
msysCORE package: sed
gawk package: awk (via gawk)

the GIT CLI i have via msysgit:
http://code.google.com/p/msysgit/downloads/list
msysgit has LOTS of stuff in it besides just git cli binaries as well...
as it can fully create a working bash shell to for cli usage if you don't want to use the gui and don't want to have it in your windows PATH variable to use within the command prompt.
in fact msysgit comes with awk (via gawk), grep, head, sed, sort, wc (only missing join for needed purposes)
thanks,
i put all the files together, but now this:
fatal: Not a git repository

any idea what's wrong in the setup?
gigah72 is offline   Reply With Quote
Old 27th August 2008, 06:09   #810  |  Link
Ranguvar
Registered User
 
Ranguvar's Avatar
 
Join Date: Feb 2007
Location: ::1
Posts: 1,236
@gigah72: You need to download x264 from Git, and make sure not to delete the .git folder in the downloaded files. (git clone git://git.videolan.org/x264.git)

@all: r950 was b0rked until now, only use binaries compiled after this post...
Ranguvar is offline   Reply With Quote
Old 27th August 2008, 06:10   #811  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by Ranguvar View Post
Warning to all: r950 was b0rked until now, only use binaries compiled after this post...
Correct, I made a typo in the commit and modified history in order to fix it. You'll have to re-update your sources and recompile.
Dark Shikari is offline   Reply With Quote
Old 27th August 2008, 06:21   #812  |  Link
Ranguvar
Registered User
 
Ranguvar's Avatar
 
Join Date: Feb 2007
Location: ::1
Posts: 1,236
rang_x264_r950-2

http://sites.google.com/site/ranguvar13/x264-builds

Direct download, Mirrors

Code:
x264 r950 (NON-B0RKED VERSION) from Git (patched).

Open this archive with the free, multi-platform tools 7-Zip or p7zip. Compressed with LZMA.
The src folder contains the patched source code.
The bin folder contains a binary executable for Athlon and later AMD CPUs (those with 3DNow! and 3DNow!+ support), 
and one for those without. There are also DLLs for those apps that use them (NOT for AviDemux).

Official source and vanilla builds:      http://x264.nl/
Changelog:                               http://git.videolan.org/gitweb.cgi?p=x264.git;a=shortlog
Patches and discussion at Doom9's forum: http://forum.doom9.org/


Applied patches (included, unchanged, in the patches folder):

patch -p1 < ../x264diffs/x264_dll_alignment_fix.01.diff
patch <     ../x264diffs/x264.progress.indication.01.diff
patch -p1 < ../x264diffs/x264_hrd_pulldown.09_interlace.diff
patch -p1 < ../x264diffs/x264-psyrd-0.6.r950.diff
patch -p1 < ../x264diffs/x264.new.bframes.decision.04.5.diff


Compiled by Ranguvar on August 27th, 2008, with GCC 4.3.1 on Windows XP Professional x64 SP2.

CLI used for non-AMD build: ./configure --enable-shared --extra-cflags="-march=pentium2 -pipe" && make fprofiled VIDS="../enctests/deadline_cif.y4m"
CLI used for AMD build:     ./configure --enable-shared --extra-cflags="-march=athlon -pipe" && make fprofiled VIDS="../enctests/deadline_cif.y4m"

Platform:   X86
System:     MINGW
asm:        yes
avis input: yes
mp4 output: yes
pthread:    yes
gtk:        no
debug:      no
gprof:      no
PIC:        no
shared:     yes
visualize:  no
Ranguvar is offline   Reply With Quote
Old 27th August 2008, 08:37   #813  |  Link
egrimisu
Registered User
 
egrimisu's Avatar
 
Join Date: Jan 2008
Location: Romania - neighbor of Dracula
Posts: 327
hi where can i get the latest and a good one x264 encoder with psyrdo 0.6?
__________________
I7 920 @ 3.60GHz + Thermalright Ultra 120 Extreme
Asus P6T Deluxe, 6GB Corsair XMS3 1600MHZ 8-8-8-24
2x1TB Samsung + 1x500GB Samsung,
Corsair 520W, Thermaltake Soprano DX
GeForge GTX280
egrimisu is offline   Reply With Quote
Old 27th August 2008, 08:56   #814  |  Link
alfadude
Registered User
 
Join Date: Jan 2003
Posts: 14
Quote:
Originally Posted by egrimisu View Post
hi where can i get the latest and a good one x264 encoder with psyrdo 0.6?
In this thread only a few posts back.
alfadude is offline   Reply With Quote
Old 27th August 2008, 09:06   #815  |  Link
egrimisu
Registered User
 
egrimisu's Avatar
 
Join Date: Jan 2008
Location: Romania - neighbor of Dracula
Posts: 327
Quote:
Originally Posted by alfadude View Post
In this thread only a few posts back.
and who's build would you recomad?
__________________
I7 920 @ 3.60GHz + Thermalright Ultra 120 Extreme
Asus P6T Deluxe, 6GB Corsair XMS3 1600MHZ 8-8-8-24
2x1TB Samsung + 1x500GB Samsung,
Corsair 520W, Thermaltake Soprano DX
GeForge GTX280
egrimisu is offline   Reply With Quote
Old 27th August 2008, 09:12   #816  |  Link
alfadude
Registered User
 
Join Date: Jan 2003
Posts: 14
Skystrife builds them to my satisfaction. :-)
alfadude is offline   Reply With Quote
Old 27th August 2008, 09:23   #817  |  Link
egrimisu
Registered User
 
egrimisu's Avatar
 
Join Date: Jan 2008
Location: Romania - neighbor of Dracula
Posts: 327
Quote:
Originally Posted by alfadude View Post
Skystrife builds them to my satisfaction. :-)
is there a optimized version for core2duo?

is renguvar release better than hte one you like? i saw that your preferd one's latest version has some bframa i don't know what in experimental mode!!!
__________________
I7 920 @ 3.60GHz + Thermalright Ultra 120 Extreme
Asus P6T Deluxe, 6GB Corsair XMS3 1600MHZ 8-8-8-24
2x1TB Samsung + 1x500GB Samsung,
Corsair 520W, Thermaltake Soprano DX
GeForge GTX280
egrimisu is offline   Reply With Quote
Old 27th August 2008, 09:32   #818  |  Link
alfadude
Registered User
 
Join Date: Jan 2003
Posts: 14
Try it and you will see which one you like best.

The new bframes method is slow when used with many bframes but as standard all builds still use the old method. If you want to test the new method put --b-adapt 2 in your command line.

This is not new information, it was all already answered for those who like to read.
alfadude is offline   Reply With Quote
Old 27th August 2008, 09:45   #819  |  Link
akupenguin
x264 developer
 
akupenguin's Avatar
 
Join Date: Sep 2004
Posts: 2,392
Quote:
Originally Posted by Ranguvar View Post
I'm gonna guess that if march=k8 is faster on AMD CPU's, it's because of the 3dNOW! and 3dNOW!+.
gcc doesn't use 3dnow nor mmx, not even if -march / -mmmx / -m3dnow allow it. (The rationale is that using mmregs requires emms and gcc is too stupid to figure out where to put emms.) This statement applies not only to autovectorization, but even to generic vector intrinsics (__attribute__((vector_size))). Only explicit 3dnow intrinsics use 3dnow.

Last edited by akupenguin; 27th August 2008 at 12:37.
akupenguin is offline   Reply With Quote
Old 27th August 2008, 12:28   #820  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
Quote:
Originally Posted by egrimisu View Post
is there a optimized version for core2duo?

is renguvar release better than hte one you like? i saw that your preferd one's latest version has some bframa i don't know what in experimental mode!!!
here we go... again...get a generic build.

Last edited by Sharktooth; 27th August 2008 at 14:24.
Sharktooth is offline   Reply With Quote
Reply

Tags
h.264, x264, x264 builds, x264 patches, x264 unofficial builds


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 23:52.


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