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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 20th July 2009, 01:29   #1  |  Link
daWsOn_s
Sandro
 
Join Date: Nov 2006
Location: Pescara, Italy
Posts: 168
megui with x.264 64bit

Hello,
is it possible to use megui 32bit with x264 64bit? I read that it could improve enconding speed and i'd like to try. I installed avisynth x64 with x64 plugins but enconding won't start.
There's a post here with a x64 megui build but the link doesn't work.

Any help and experiences?

Thanks
daWsOn_s is offline   Reply With Quote
Old 23rd July 2009, 00:22   #2  |  Link
Rain724
Registered User
 
Join Date: Jul 2009
Posts: 1
I'm having the same problem. It looks like MeGUI can't launch the 64bit x264 process to start the encoding... Any help/information about this would be greatly appropriated.
Rain724 is offline   Reply With Quote
Old 24th July 2009, 09:48   #3  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
to use this correctly (megui 32bits & x264 64bits), we need to tweak the encoding pattern used (i.e add avs2yuv in the chain)...

Otherwise, that would be to compile megui and all its components as 64bits. However, as far I can tell, an internal component is not compatible with this. So, it requires some rewrite code.

The best way at the current time, it's to use all 32bits apps/tools in your favorite 64bits OS..
Kurtnoise is offline   Reply With Quote
Old 24th July 2009, 11:05   #4  |  Link
alwa
Registered User
 
Join Date: May 2006
Posts: 29
If you use 32-bit Avisynth you could be interested in this (basically an extraction of the AVIS-input of x264). The program redirects the all command line parameters and pipes the video to the 64-bit executable of x264. Just place the x264_x64_wrapper.exe and the x264_x64.exe (any 64-bit executable of x264 named like that will do the trick) in the same folder. Then reference megui to the x264_x64_wrapper.exe.
alwa is offline   Reply With Quote
Old 26th July 2009, 02:49   #5  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 5,168
Interesting.

Has anyone found a combination where the "thunking" overhead (or whatever you call it) is small enough that the perf adavantage of 64-bit still makes it worth the trouble?
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 26th July 2009, 08:16   #6  |  Link
twist3d
encoder enthusiast
 
twist3d's Avatar
 
Join Date: Aug 2003
Location: Lahti, Finland
Posts: 115
Quote:
Originally Posted by benwaggoner View Post
Interesting.

Has anyone found a combination where the "thunking" overhead (or whatever you call it) is small enough that the perf adavantage of 64-bit still makes it worth the trouble?
lots of benchmark results (including mine) at http://forum.doom9.org/showthread.php?t=144140.
I think when we get fully chained 64-bit encoding process, the speed increase will be more noticeable.
twist3d is offline   Reply With Quote
Old 29th July 2009, 20:52   #7  |  Link
daWsOn_s
Sandro
 
Join Date: Nov 2006
Location: Pescara, Italy
Posts: 168
Quote:
Originally Posted by alwa View Post
If you use 32-bit Avisynth you could be interested in this (basically an extraction of the AVIS-input of x264). The program redirects the all command line parameters and pipes the video to the 64-bit executable of x264. Just place the x264_x64_wrapper.exe and the x264_x64.exe (any 64-bit executable of x264 named like that will do the trick) in the same folder. Then reference megui to the x264_x64_wrapper.exe.
It works, but the speed is the same x64 versione is a little bit slower too
daWsOn_s is offline   Reply With Quote
Old 1st August 2009, 08:47   #8  |  Link
turbojet
Registered User
 
Join Date: May 2008
Posts: 1,840
Thanks for the wrapper aiwa. It's about 5% faster then comparable x86 builds for me on an X2 3800 and Q6600 both Windows 7 RC. It's not quite as much of a gain as I see with pipebuf + avs2yuv which is around 10% but I'll take any speedup at same quality. Could it be number of buffers used?
turbojet is offline   Reply With Quote
Old 1st August 2009, 15:27   #9  |  Link
alwa
Registered User
 
Join Date: May 2006
Posts: 29
Quote:
Originally Posted by daWsOn_s View Post
It works, but the speed is the same x64 versione is a little bit slower too
It happens for some encodes. You can see this behaviour also in some the benchmarks of: http://forum.doom9.org/showthread.php?t=148431
But with the slow preset i got always reasonable better results.


Quote:
Originally Posted by turbojet View Post
Thanks for the wrapper aiwa. It's about 5% faster then comparable x86 builds for me on an X2 3800 and Q6600 both Windows 7 RC. It's not quite as much of a gain as I see with pipebuf + avs2yuv which is around 10% but I'll take any speedup at same quality. Could it be number of buffers used?
The buffer is not adjustable (yet). Mainly because i doubt there would be a big improvement since no "always good" buffersize has been discovered yet. That it is overall slower than the pipebuf & avs2yuv chain is weird. What buffer values do you to get the 5% better results with pipebuf & avs2yuv
alwa is offline   Reply With Quote
Old 4th August 2009, 04:36   #10  |  Link
turbojet
Registered User
 
Join Date: May 2008
Posts: 1,840
Depending on settings/cpu 2 and 4 MB buffers were the fastest, sometimes considerably faster (5+%) than the other buffer sizes.

Maybe 3 MB buffer would be optimal? it hasn't been tested yet.
turbojet is offline   Reply With Quote
Reply


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 19:11.


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