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. |
|
|
#1 | Link |
|
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
Windows x64 port
I've been working on porting xvid to windows for AMD64 and I'm looking for people willing to test it. There's so many different options, I figure this is the quickest way to find bugs.
A zip of xvidcore and the vfw frontend can be downloaded here: http://home.iprimus.com.au/ajdunstan/xvid64.zip Unzip, right click the inf file, select install. Getting the 64-bit version of VirtualDub is also a good idea, unless you've got some other way to test it. If VirtualDub crashes it probably won't bring up the familiar crash handler, it will just exit with no messages at all. This is my fault, not VirtualDub's. This build is using MMX/3DNow instructions, which Microsoft and AMD have said not to do. So it may very well break if they release a new beta or there may be other issues not discovered. I am working on converting the functions to SSE2, but it takes time. If people want the source I can put it up. I'm using visual studio .net 2003, winddk 3790, yasm-0.4.0 and WinXP for AMD64 1218. I'm not sure how you'd go about compiling with anything else. KNOWN ISSUES: None at the moment. ![]() I've only done pretty basic encodings, you guys probably play around with the different options a lot more than I do. So give it a go and let me know what works and what doesn't. Speed comparisons are welcome too, try to make sure the 32-bit build you're comparing against is a 1.1 build. Last edited by squid_80; 30th January 2005 at 08:27. |
|
|
|
|
|
#2 | Link |
|
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,769
|
Interesting! I should re-install winxp for 64 bit extended systems and test it.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
|
|
|
|
|
#3 | Link |
|
Registered User
Join Date: Jul 2003
Location: In a house.
Posts: 663
|
You might check the source for the 64bit Linux version of xvidcore against what you're doing.
http://ayo.freshrpms.net/fedora/linu...PMS.freshrpms/ You'll find an rpm of 64bit xvid source there. |
|
|
|
|
|
#4 | Link | |
|
Registered User
Join Date: Jun 2002
Location: Adelaide, Australia
Posts: 1,167
|
Quote:
|
|
|
|
|
|
|
#6 | Link |
|
Derek Prestegard IRL
![]() Join Date: Nov 2003
Location: Los Angeles
Posts: 5,231
|
Problem:
For me at least, I cannot seem to get avisynth to work properly on x64. I have Virtual Dub 64 1.6.1, XviD x64 from this thread, and when I try to open the following script into vdub: Code:
LoadPlugin("H:\PROGRA~2\GORDIA~1\AviSynthPlugins\dgdecode.dll")
LoadPlugin("H:\PROGRA~2\GORDIA~1\AviSynthPlugins\UnDot.dll")
mpeg2source("D:\Family Guy Disc 3\213 - Road to Rhode Island\Road to Rhode Island.d2v")
Undot()
I have avisynth 2.5.5 installed (albeit in 32 bit mode as I don't know of a 64 bit compile). Ideas? |
|
|
|
|
|
#7 | Link | |
|
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
Quote:
But if you've got the xvid stuff installed, hopefully you should be able to open and encode xvid avis. VirtualDub also natively supports MPEG-1 files I think, if you've got any VCDs lying around. |
|
|
|
|
|
|
#10 | Link |
|
Does it really matter?
Join Date: Jun 2004
Location: Chicago, IL
Posts: 1,542
|
Kinda Defeats the point of having 64-bit versions of vdub and xvid since 90% of all encoded content today is done through avisynth. Perhaps The avisynth guru's should get to work on a x64 port.
|
|
|
|
|
|
#12 | Link | |
|
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
Quote:
|
|
|
|
|
|
|
#13 | Link |
|
Derek Prestegard IRL
![]() Join Date: Nov 2003
Location: Los Angeles
Posts: 5,231
|
I've been looking for a good lossless codec that would work in both 32 and 64 bit modes and I'm not seeing anything. I guess I will have to transcode some pre-existing material (MPEGs or an XviD AVI) to use for a speed test. Report coming soon.
[edit] I took an 11:54 352x240 MPEG-1 clip @ 29.97 fps that had fair quality for being low resolution MPEG-1, and recompressed it into XviD using the following settings: CQ2 Sharktooth's EQM V3HR Adaptive Quant Bvops @ 3/1.5/1 Quants 2-31 Trellis MSP6 VHQ4 VHQ_Bvops Everything else at default And I got the following speed results: XP Professional 32 Bit : 6:36 XP Professional x64 : 6:39 I also did a test with qpel enabled (which did produce horrible artifacts on the x64 edition, as expected) just for comparison and got the following results: XP Professional 32 Bit : 9:48 XP Professional x64 : 9:55 As you can see, x64 is actually a bit slower. As expected ![]() Just my results here folks, ~misfit Last edited by Blue_MiSfit; 5th January 2005 at 04:51. |
|
|
|
|
|
#14 | Link |
|
Solaris: burnt by the Sun
Join Date: Oct 2004
Location: /etc/default/moo
Posts: 1,925
|
I still don't get how an encode ona 64bit system could be slower
it makes no sense theres more of well everything :\ and extra 32bits increases teh amount of memory accsed a secnod by 2^23 more and there aer more registers in teh 64 cpu granted the clock speed is somewhat smaller but amd makes up for that in decrased latancy and bottlenecks it seems to defy logic :\ and another test should be done when avisynth64 come out because it is kind of a slanted test unless there was no avisynth on the 32 encode and test was made off a vcd? isn't to low quality to make a vaild test? I mean I find vcds hard to watch to begin with because of teh low detail *heh funny thing I've noticed in this forum more so over others i syou guy seem to use "as" as "because" which is improper just a bit of fyi* |
|
|
|
|
|
#15 | Link | |
|
Registered User
Join Date: Jun 2003
Posts: 334
|
Quote:
When microsoft pulls there collective thumbs out of there arses pehaps they will finally release the 64bit version of windows xp. Then there will be more incentive for 64bit versions of applications such avisynth.
__________________
HQ XviD Music Video Forum When I'm good I'm very, very good but when I'm bad I'm better. |
|
|
|
|
|
|
#16 | Link | |
|
Registered User
Join Date: Jul 2003
Location: In a house.
Posts: 663
|
Quote:
People always get confused when doing optimizations. They optimize something that is using less than 2% of the CPU and wonder why it's not any faster. You'll see that a lot as 64bit becomes more prevalent. People will be compiling programs with no regard as to what really needs optimizing and therefore see no improvement. What good is it to make the GUI 64bit -O3 optimized code when the rest of the program is optimized 32bit assembly? Rather extreme example, but it makes the point. You have to optimize the right parts of the program to see any improvement. Most filters and codecs use hand-optimized assembly language subroutines that have been worked out to give the best results on a 32bit x86 CPU. These routines will have to be rewritten, some completely, for 64bit before multi-media takes a jump forward. |
|
|
|
|
|
|
#17 | Link | |
|
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
Quote:
|
|
|
|
|
|
|
#18 | Link | |
|
Registered User
Join Date: Jul 2003
Location: In a house.
Posts: 663
|
Quote:
I wasn't sure if you had expected it to be faster or not. Guess I should have reread the first posts. I missed that the first time through. Well, at least it's about the same speed. I'm looking forward to when people start optimizing for 64bit. Even an extra 10 to 20% would be a help on a several hour long encode. |
|
|
|
|
|
|
#19 | Link | |
|
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
Quote:
I think I've found the problem with qpel, I'll fix it and add a few new sse2 functions some time this weekend. |
|
|
|
|
|
|
#20 | Link |
|
Registered User
Join Date: Jul 2003
Location: In a house.
Posts: 663
|
No, I meant in making it slower.
You said you expected it to be slower - and you succeeded. I don't currently have XP64 installed or I'd check it as well. I mostly stick to FC3 64bit these days. I haven't booted my main system into Windows in months. I've got a BP6 I use for Windows stuff right now. |
|
|
|
![]() |
|
|