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 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 20th December 2009, 18:35   #361  |  Link
Cyber-Mav
Registered User
 
Join Date: Dec 2005
Posts: 244
nah my encoding on 32bit is proper hardcore man, here, i dropped the working 32bit video i encoded before i downloaded the 64bit enabled build of megui onto avinaptic. i use everything man, 3 b-frames, weighted p and b etc:


currently the video is encoding again using new build you linked me to.

the avs script looks lot shorter now:

LoadPlugin("C:\Program Files (x86)\megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\Video Processing\video\video.d2v", info=3)
LoadPlugin("C:\Program Files (x86)\megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
crop( 0, 72, 0, -70)

LanczosResize(720,304) # Lanczos (Sharp)
LoadPlugin("C:\Program Files (x86)\megui\tools\avisynth_plugin\UnDot.dll")
Undot() # Minimal Noise



///argh i just noticed i forgot to remove the noise filter this time damn it, its on the 2nd pass now anyways so i will try again without noise filter next, unless this new build you put up has sorted it out.

Last edited by Cyber-Mav; 20th December 2009 at 18:37. Reason: my bad
Cyber-Mav is offline   Reply With Quote
Old 20th December 2009, 18:36   #362  |  Link
lnatan25
Software Developer
 
lnatan25's Avatar
 
Join Date: Jan 2005
Posts: 83
Two questions,
I extracted the developmental build, but it still says 1059. Is that normal?
Where is the setting to select the 64-bit encoder?

Thanks!
lnatan25 is offline   Reply With Quote
Old 20th December 2009, 18:44   #363  |  Link
Zathor
Registered User
 
Join Date: Nov 2009
Posts: 2,405
Quote:
Originally Posted by lnatan25 View Post
Two questions,
I extracted the developmental build, but it still says 1059. Is that normal?
Yes, as soon as I publish it to the update server it will be changed so that everyone get the correct and new version.

Quote:
Originally Posted by lnatan25 View Post
Where is the setting to select the 64-bit encoder?
Nowhere. It will be selected automatically if a 64bit OS is detected (and avs4x264.exe is found)
Zathor is offline   Reply With Quote
Old 20th December 2009, 18:49   #364  |  Link
lnatan25
Software Developer
 
lnatan25's Avatar
 
Join Date: Jan 2005
Posts: 83
OK, thanks, now a follow up with two more. :P

First, I have .Net Framework 4.0 (in addition to the others), and in the logger, it says ".x (..)" (this is what was causing an exception in the last build before your builds). Is this normal? I assume you do not use the framework version to determine wither the OS is 64-bit or 32-bit.
Second, how efficient is avs4x264 versus a native 64-bit AviSynth w/ codecs? Perhaps an option to select the encoding "path" (32-bit, avs4x264, native 64-bit) would be best, even if only for experimental and benchmarking purposes.
lnatan25 is offline   Reply With Quote
Old 20th December 2009, 18:52   #365  |  Link
nurbs
Registered User
 
Join Date: Dec 2005
Posts: 1,460
The problem with using native 64bit avisynth is that most of the avisynth filters aren't available in 64bit and therefore won't work.
nurbs is offline   Reply With Quote
Old 20th December 2009, 18:54   #366  |  Link
lnatan25
Software Developer
 
lnatan25's Avatar
 
Join Date: Jan 2005
Posts: 83
Yes, I understand that, this is why offering a selectable option is best, in my opinion. Filters are not always needed, thus whenever possible, it would be best to use the native.
lnatan25 is offline   Reply With Quote
Old 20th December 2009, 18:55   #367  |  Link
Cyber-Mav
Registered User
 
Join Date: Dec 2005
Posts: 244
Quote:
Originally Posted by Zathor View Post
Can you please try to encode it with the same config with both x264 versions? You can do the trick the following way:
Enqueue your x264 64bit job, run it and then delete the tools\x264\avs4x264.exe and enque the new job and run it again. This time the x264.exe (32bit) will be used. Compare both files.
ok im running it now, the video i encoded that used x264_64 and avs4x264 turned out corrupted as in the previous screenshot.
i deleted the avs4x264.exe file and started the job that was queued up. task manager now shows that only x264.exe*32 is now doing the encoding. as soon as it is finished i will post on here letting you know how its gone.

the encode is finished and it plays back perfectly fine. so the issue is most likely avs4x264.exe

im going to run another encode now i restarted megui and the updates downloaded new avs4x264 which i deleted previously. i will now remove the noise filter and see how it encodes in 64bit.

Last edited by Cyber-Mav; 20th December 2009 at 19:24. Reason: update
Cyber-Mav is offline   Reply With Quote
Old 20th December 2009, 19:20   #368  |  Link
Carpo
Registered User
 
Carpo's Avatar
 
Join Date: Dec 2002
Location: /dev/null
Posts: 1,368
i can confirm Cyber-Mavs issue as i am getting it here too using x264_x64, looks like the image is all squashed and going diagonally across the screen, will also try with x264 32bit and see if same happens

Edit: with 32bit x264 picture is fine
__________________
The Internet: where men are men, women are men, and children are FBI Agents

Last edited by Carpo; 20th December 2009 at 19:24.
Carpo is offline   Reply With Quote
Old 20th December 2009, 19:24   #369  |  Link
Zathor
Registered User
 
Join Date: Nov 2009
Posts: 2,405
Strange. I did also several encodings with the 64bit version and my files are ok.
Zathor is offline   Reply With Quote
Old 20th December 2009, 19:30   #370  |  Link
Zathor
Registered User
 
Join Date: Nov 2009
Posts: 2,405
Quote:
Originally Posted by lnatan25 View Post
OK, thanks, now a follow up with two more. :P

First, I have .Net Framework 4.0 (in addition to the others), and in the logger, it says ".x (..)" (this is what was causing an exception in the last build before your builds). Is this normal? I assume you do not use the framework version to determine wither the OS is 64-bit or 32-bit.
Yes, I have fixed the .NET detection so that there will be no error anymore when an unknown version is found.

Quote:
Originally Posted by lnatan25 View Post
Second, how efficient is avs4x264 versus a native 64-bit AviSynth w/ codecs? Perhaps an option to select the encoding "path" (32-bit, avs4x264, native 64-bit) would be best, even if only for experimental and benchmarking purposes.
Native 64bit should be faster, but I cannot test it because nearly all of my plugins are 32bit only. Therefore MeGUI will not support it at the moment. If you want to test it you can write a small batch file.
Zathor is offline   Reply With Quote
Old 20th December 2009, 19:45   #371  |  Link
Carpo
Registered User
 
Carpo's Avatar
 
Join Date: Dec 2002
Location: /dev/null
Posts: 1,368
Quote:
Originally Posted by Zathor View Post
Strange. I did also several encodings with the 64bit version and my files are ok.
is avs4x264 a wrapper to make x264_x64 work? I only seem to have this with interlaced material, will try and find some progressive and test with that
__________________
The Internet: where men are men, women are men, and children are FBI Agents
Carpo is offline   Reply With Quote
Old 20th December 2009, 19:48   #372  |  Link
Cyber-Mav
Registered User
 
Join Date: Dec 2005
Posts: 244
ok i tried again now using 64bit and this avs script:

LoadPlugin("C:\Program Files (x86)\megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\Video Processing\video\video.d2v", info=3)
LoadPlugin("C:\Program Files (x86)\megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
crop( 0, 72, 0, -70)

LanczosResize(720,304) # Lanczos (Sharp)
#denoise



i removed the denoise filter and still the image is garbled up. its deffo something to do with avs4x264 since i tried using avs4x264.exe along with the 32bit version of x264 and it still results in a grabled up image.
Cyber-Mav is offline   Reply With Quote
Old 20th December 2009, 19:50   #373  |  Link
Cyber-Mav
Registered User
 
Join Date: Dec 2005
Posts: 244
ok im trying another encode now using this script:

LoadPlugin("C:\Program Files (x86)\megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\Video Processing\video\video.d2v")
#deinterlace
crop( 0, 72, 0, -70)

LanczosResize(720,304) # Lanczos (Sharp)
#denoise


iv removed the colourmatrix as well now so will see how this effects the output.

and its failed again, image is all garbled up. 64bit is just not ready for prime time i guess.

Last edited by Cyber-Mav; 20th December 2009 at 20:12. Reason: update
Cyber-Mav is offline   Reply With Quote
Old 20th December 2009, 19:55   #374  |  Link
horvathd
Registered User
 
Join Date: Dec 2009
Posts: 25
I found the following annoyance/bug in the 0.3.1.1059 version:

When I select the animation tuning then in the command line appears the --ref and --bframes commands with the correct number according to the preset and tuning. As far as I know it's not necessary the x264 will calculate these numbers.
Also when a tuning is selected and I change to preset then a --ref command appears with the number related to the preset without the tuning.
horvathd is offline   Reply With Quote
Old 20th December 2009, 19:55   #375  |  Link
Zathor
Registered User
 
Join Date: Nov 2009
Posts: 2,405
Please try the vfw4x264.exe (rename it to avs4x264.exe).
Zathor is offline   Reply With Quote
Old 20th December 2009, 20:08   #376  |  Link
Cyber-Mav
Registered User
 
Join Date: Dec 2005
Posts: 244
Quote:
Originally Posted by Zathor View Post
Please try the vfw4x264.exe (rename it to avs4x264.exe).
ok i will try this method now.

ok an update this method works, when vfw4x264.exe is renamed to avs4x264.exe the 64bit x264 encode plays back with no issues.

biggest problem with this is that im unsure if any of the filters will work, also the speed, renaming as the above dropped encoding speed down to 8.5fps.

regular 32bit encoding using the noise filter and colormatrix did around 10fps, and the 64bit version using the original avs4x264.exe did around 12fps (although the video playback was corrupted).

so all in all 64bit version is useless to me. how do i revert megui back to pure 32bit mode?

Last edited by Cyber-Mav; 20th December 2009 at 20:36.
Cyber-Mav is offline   Reply With Quote
Old 20th December 2009, 20:42   #377  |  Link
Cyber-Mav
Registered User
 
Join Date: Dec 2005
Posts: 244
actually never mind i worked it out i downloaded the stable build posted on the first page and thats sorted it now, its using 32bit mode again with no issues.
Cyber-Mav is offline   Reply With Quote
Old 20th December 2009, 20:54   #378  |  Link
Carpo
Registered User
 
Carpo's Avatar
 
Join Date: Dec 2002
Location: /dev/null
Posts: 1,368
i just renamed all the files and left 32bit x264.exe alone, nice and 32bit only now
__________________
The Internet: where men are men, women are men, and children are FBI Agents
Carpo is offline   Reply With Quote
Old 20th December 2009, 21:07   #379  |  Link
Zathor
Registered User
 
Join Date: Nov 2009
Posts: 2,405
Thanks for the tests. I will do some tests on my own now and will then decide which 64bit mode will be implemented.

EDIT: AVCSource works with avs4x264, DGDecode_mpeg2source not. Anyone knows why?
EDIT2: New ev build in the first post. It will use vfw4x264.exe until the problem with avs4x264 has been resolved. In my tests it has the same speed as avs4x264 and the encoding is ok.

Last edited by Zathor; 20th December 2009 at 22:54.
Zathor is offline   Reply With Quote
Old 20th December 2009, 23:03   #380  |  Link
Cyber-Mav
Registered User
 
Join Date: Dec 2005
Posts: 244
i will keep my dvd vob file sample on my hard drive. when you have new version of avs4x264 i wll try again for you and see if 64bit encoding is fixed.

i didnt try encoding any hd source material but since you can replicate the problem with mpeg2 then i guess we know its an issue with mpeg2 decoding/frame serving.


since your method uses a wrapper to frameserve to x264 64bit does that mean that the filters can be used since they will be processed before the wrapper frameserves to the encoder?
Cyber-Mav 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 11:19.


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