MEGUI TUTORIAL!

Posted by United States ENOEWO on 2012-01-16 23:22:39
MeGUI is often the final step in the movie-making process, but it shouldn't be the least important.

There are plenty of tutorials on YouTube for MeGUI, but I feel like they complicate what should be a relatively easy process. They also fail to explain to you the basics of an X264 profile, which would allow you to edit your own profile.

Firstly, let's download and install all of the files that we'll need to get the best quality possible. Note that I have created my own X264 profile, so if anything, the quality can be "improved" by editing a handful of settings. I have tested different profiles, and have found that my own gave me the best quality.

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


Avisynth
sourceforge.net/projects/avisynth2/

Run the installer, accept the default installation settings.

DebugMode FrameServer
www.debugmode.com/frameserver/

Run the installer, (TICK) Sony Vegas Plugin during installation. Accept the default installation settings.

MeGUI
sourceforge.net/projects/megui/

Unpack the contents to a folder such as C:\Program Files\MeGUI\ Create a shortcut to the desktop by right clicking MeGUI.exe and choosing Send to Desktop.

Next, run MeGUI.exe. Click Yes to review the available updates. Select all and click Update. Note that most of these files are not actually updates, but files that MeGUI requires to function. They shouldn't conflict with any other versions of the same files that you may have on your system.

MeGUI will prompt you to download the missing Nero AAC Encoder. Click Yes and you should be directed to the download page for the codec. Minimize any open windows, and leave the MeGUI - Updater window open.

Nero AAC Codec
www.nero.com/eng/downloads-nerodigital-nero-aac-codec.php

Download the Nero AAC Codec. Create a new folder called C:\Program Files\MeGUI\tools\nero_aac\ and unpack the three files inside the win32 folder to it.

Now, go back to the Preset Importer window and click Import. I recommend importing all presets, as there is no harm in doing so, although you won't be needing any of them.

PROFILES
www.gamefront.com/files/21320828/ENOEWO_MEGUI+PROFILES!.zip

Download my profiles and install them by using File > Import Presets.

X264 Presets
forum.doom9.org/showthread.php?t=139765

Download the X264 presets above and install them by using File > Import Presets.

Now, we need to direct MeGUI to the Nero AAC encoder executable. In MeGUI, choose Options > Settings > External Program Settings and navigate to C:\Program Files\MeGUI\tools\nero_aac\ and save.

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


DEBUGMODE FRAMESERVER

Now that we're done installing everything, let's get rendering. It is important to set the project properties I outline below, because DebugMode FrameServer uses these as render settings.

Do not use Sharpen in Sony Vegas.

Go into Sony Vegas and go to File > Project Properties.

Set them to the following:

(VIDEO)

Width: 1280
Height: 720
Frame rate: 29.970 (NTSC)
Field order: None (progressive scan)
Pixel aspect ratio: 1.0000 (Square)
Pixel format: 8-bit
Full-resolution rendering quality: Best
Motion blur type: Gaussian
Deinterlace method: None
(UNTICK) Adjust source media to better match project or render settings.

(AUDIO)

Master bus mode: Stereo
Number of stereo busses: 0
Sample rate (Hz): 44,100
Bit depth: 16
Resample and stretch quality: Best

When you are ready to render, choose File > Render As.

Save as type: DebugMode FrameServer (*.avi)
When the DebugMode FrameServer window pops up, choose RGB24 and click next.

Minimize Sony Vegas.

DebugMode FrameServer will feed the video and audio from your Sony Vegas project to MeGUI as it calls for it, skipping the intermediate process of rendering uncompressed, and avoiding any quality loss caused by this.

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


MeGUI

Now that you have frame served your project, let's open MeGUI.

(VIDEO)

Navigate to Encoder settings in the Video encoding section of the input tab, and choose one of the following presets from the drop down menu.

x264: ENOEWO_FAST! (OR) x264: ENOEWO_SLOW!

The (ENOEWO_FAST!) profile provides faster encoding times, and differs from the (ENOEWO_SLOW!) profile only in its M.E. Algorithm. This setting can be found in the Analysis tab of the x264 configuration dialog.

I recommend using the (ENOEWO_SLOW!) profile, as it provides better quality.

(AUDIO)

Navigate to Encoder settings in the Audio section of the input tab, and choose the following preset from the drop down menu.

Nero AAC: ENOEWO!

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


MEGUI

Now that you have your profiles, go to Tools > AVS Script Creator.

Under Input click ... in Video Input. Choose the FrameServed file, (*.avi) MeGUI will ask you to choose your preferred way to open the file. Choose AviSource. Close the video preview that appears.

(TICK) Clever (TM) anamorphic encoding.
Under Avisynthprofile click Config. Add this line to the profile as you'll be prompted to anyways.

ConvertToYV12()

Click OK.

Click Save at the bottom of the AviSynth script creator window. Close the video preview that appears.

Under Audio Input click ... and choose the FrameServed file, (*.avi)

Click AutoEncode at the bottom of the MeGUI window.

(TICK) No Target Size (use profile settings)

Navigate to the Queue tab, and click Start.

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


CONFIG

The following explains some parts of my MeGUI profiles, and why I chose the values that I did for each setting. Although I do not recommend editing my profiles in any way, the initial purpose of this thread was to give you the information needed to edit an X264 profile.

Click Config in the Video encoding section to bring up the configuration window.

(TICK) Show Advanced Settings.

MAIN
- Under Encoding Mode choose Const. Quality. Set Quality to 16.
A lower number for this setting increases quality. A value of 16 should give you near perfect quality. I do not recommend going below this value.

FRAME-TYPE
- Under H.264 Features set Deblocking Strength and Deblocking Threshold to 0.
Negative numbers reduce deblocking and preserve more detail. A higher number for these settings reduces artifacting, while making the video "blurry." I find that the default values provide an ideal amount of sharpness. When experimenting with this setting, try to keep both numbers the same or within one value of each other. I recommend leaving both of these settings on their default value of 0.

RATE CONTROL
- Under Quantizers set Min to 0.
This value defines the lowest quantizer X264 will use. The lower the quantizer, the closer the output is to the input. This value is disregarded in my profile because it uses Const. Quality mode.
- Under Adaptive Quantizers set Strength to 1.
This reduces blocking and blurring in flat and textured areas. I recommend leaving this on it's default value of 1.
- Under Rate Control set Quantizer Compression to 1.
Setting this to 1 reduces provides better quality by eliminating quality fluctuation.
- Under Rate Control set Nb of Frames for Lookahead to 50.
Increasing the number of frames generates better results.

ANALYSIS
- Under Motion Estimation set M.E. Algorithm to SATD Exhaustive.
Higher values for this should improve quality, but increase the encoding time significantly. For this reason, I've provided two X264 profiles. These profiles differ only in their M.E. Algorithm mode.
- Under Motion Estimation set Subpixel Refinement to 11.
Higher values for this will improve quality.
- Under Extra (TICK) No Fast P-Skip.
Fast Skip detection provides a negligible increase in speed while increasing the chance of artifacting. Ticking this disables fast skip detection.



edited 2012-02-19 17:58:12
Share |

77 answers

5 months ago
+0 thumbs
nice

edited 2012-01-16 23:24:43
5 months ago
+0 thumbs
well played sir, will help alot of people
5 months ago
+0 thumbs
Lookin' good, gonna try it someday.
5 months ago
+0 thumbs
fuck megui .wmv al the way
5 months ago
+0 thumbs
nice!
5 months ago
+0 thumbs
Good stuff, sticky this please
5 months ago
+0 thumbs
well done mate ^^
5 months ago
+0 thumbs
post some video with this rendering settings for check the quality please.

edited 2012-01-16 23:45:58
5 months ago
+0 thumbs
sudoxe said:
Good stuff, sticky this please

5 months ago
+0 thumbs
Why 29 fps?

edited 2012-01-17 01:43:41
5 months ago
+0 thumbs
If you prefer rendering at a different FPS, do so. Nothing else should be affected, other than your project properties in Sony Vegas.

Be ready for longer render times. YouTube reduces the frame rate of your videos anyways.
5 months ago
+0 thumbs
is it that much better in terms of quality rather than using x264 easy?
5 months ago
+0 thumbs
Sick tut man, thanks a lot!

Video showing the quality? :)
5 months ago
+0 thumbs
great tut there needs to be more like these instead of the well known people uploading fake tuts or render settings ect.....
btw if you use fraps should you still use mp4 or rawavc or MKV????
5 months ago
+0 thumbs
Use MP4.
5 months ago
+0 thumbs
my god I'm definitely going to read this when I have time. I've followed numerous meGUI tutorials and it always fucks up.
5 months ago
+0 thumbs
this works for windows 7 x64?
5 months ago
+0 thumbs
Yes.
5 months ago
+0 thumbs
When i started to render on Vegas a 15 sec clip, approximate time left went up to 1hour and no progress was made in Frameserver. What i did wrong?
5 months ago
+0 thumbs
@fribbenhaul whenever you click render and choose rbg24 it stays at zero minimize vegas open megui and import the clip and the audio is the clip....atleast thats how it is for me....
5 months ago
+0 thumbs
When you render using that plugin, you actually create a file that feeds MeGUI audio and video as it is called for.

Once you begin the job in MeGUI, after creating the AVI Synth Script and choosing the FrameServed (*.avi) as the audio input and auto encoding, the file starts to render.
5 months ago
+0 thumbs
nice stuff, ty :)
5 months ago
+0 thumbs
wakzie said:
sudoxe said:
Good stuff, sticky this please


5 months ago
+0 thumbs
Actually quite usefull for people who cant use megui, but tbh its all about .wmv you can get as good quality and cut out the encoding step, but helpful none the less
5 months ago
+0 thumbs
Link for supergudwmv settings vid? :>
5 months ago
+0 thumbs
Really nice tutorial. Everything is good explained finally, now uploading a test video to youtube. I will send a Link when te quality is good enough for me..
5 months ago
+0 thumbs
www.youtube.com/watch?v=JmJ-ybuz2hQ&feature=youtu.be

this is what I came up with... It didn't make a whole lot of diffrence with some older render settings :(
5 months ago
+0 thumbs
Did you see an improvement?

Did you use constant quality? What did you use for the two deblocking settings?
4 months ago
+0 thumbs
I cant seem to find the DebugMode FrameServer (*.avi) anywhere still I installed the plugin. Otherwise then that quality improved ty! But I just muxed like you usually do with seperate avi and mp3 file
4 months ago
+0 thumbs
You should be able to find the DebugMode FrameServer (*.avi) in the drop down menu of output formats when you go to render in Sony Vegas. Is this where you looked?
4 months ago
+0 thumbs
Yeh at the sony avc, wmv avi mp etc
4 months ago
+0 thumbs
Got a problem here, when tryin to render using FrameServer, it never starts, stands on 0% and the "approximate time left" showing really huge numbers after a while. should i do something with this second window that pops out ? but i can only see "about" and "stop serving" and when i click second one it just stops HELP !
4 months ago
+0 thumbs
You're supposed to minimize Sony Vegas at that point, and open MeGUI. The video does not being to render until you do so in MeGUI.

This is normal. I'll edit the OP to make it clearer.
4 months ago
+0 thumbs
When I do this step
Under Audio Input click ... and choose the FrameServed file, (*.avi)

I click the ... and the avi file isn't there?
4 months ago
+0 thumbs
You have to navigate to where you chose to output the Sony Vegas project, and choose the .avi, as you did with the video input when creating the AVS Script.

edited 2012-02-01 03:37:54
4 months ago
+0 thumbs
A new version of MeGUI was released yesterday!

MeGUI (2106)
sourceforge.net/projects/megui/
4 months ago
+0 thumbs
Nevermind, fixed it!
Pretty sick presets, deserved to be sticked. But my vlc player shows me an artificle storm, strength 12! With Media Player it works fine!

edited 2012-02-05 14:36:45
4 months ago
+0 thumbs
I would like to know more about the issue you're having with VLC.

Feel free to add me on XF / enoewo

Thanks for the kind words.
4 months ago
+0 thumbs
Done! :)
4 months ago
+0 thumbs
A new version of MeGUI was released yesterday!

MeGUI (2112)
sourceforge.net/projects/megui/

edited 2012-02-10 21:04:40
4 months ago
+0 thumbs
Nice tutorial! heres the quality I get

www.youtube.com/watch?v=Xxgc5Is6A34&hd=1

tweaked some settings but much better than my old quality

edited 2012-02-11 15:23:02
4 months ago
+0 thumbs
What did you tweak? You didn't move the preset slider, right...

If you tell me what you changed, I can tell you whether or not you should have.
4 months ago
+0 thumbs
Tried RipBot264 yesterday and quality is alot better than with megui. However, this debug mode works fine on ripbot

www.youtube.com/watch?v=khoACC2g1mc
www.youtube.com/watch?v=khoACC2g1mc
www.youtube.com/watch?v=khoACC2g1mc
www.youtube.com/watch?v=khoACC2g1mc
4 months ago
+1 thumbs
The quality does not look better.

MeGUI provides more customization for X264 profiles. You should give it a try.
4 months ago
+0 thumbs
I tried several times, but with ripbot render time takes less time and better yt quality, btw ur quality tut is the best i ever seen on this forum, gj ;)
4 months ago
+0 thumbs
Try the x264: ENOEWO_FAST! profile in MeGUI.

Thanks.
4 months ago
+0 thumbs
I have a problem, I don't find DebugMode FrameServer (*.avi) in Vegas :(

Edit: I find it in Vegas 10 64bit, but not in Vegas 10 32bit. Is it possible to fix it, because Magic Bullet Looks doens't work on Vegas 64bit? :(

edited 2012-02-11 20:18:19
4 months ago
+0 thumbs
Which version of Vegas do you have? Be sure to install the correct plugin, 32/64 bit, according to the Vegas that you have.
4 months ago
+0 thumbs
I install 32 and 64bit, but it works only on the 64bit version.

Edit: It works! I install the plugin in "Program Files" and not "Program Files (x86)" :D

edited 2012-02-11 20:25:42
4 months ago
+0 thumbs
man i have 64 bit os and 32 bit vegas and everything works fine
4 months ago
+0 thumbs
i have a problem with my huffyuv codec i have installed it but i cant even find it on my sony vegas 9 options
4 months ago
+0 thumbs
U need debug mode plugin. U must not render in video for vindows
4 months ago
+0 thumbs
Quality I get: www.youtube.com/watch?v=3XHjUuGa-ts&feature=youtu.be

I think the quality is not very good :(
4 months ago
+0 thumbs
Follow the tutorial from beginning to end.
4 months ago
+0 thumbs
That's what I do ;)

Render in mp4 2048x1154 14mb bitrate in vegas and I get this: www.youtube.com/watch?v=l8fjcke-ut0

And the file is 2 times smaller...
4 months ago
+0 thumbs
Add me on XF / enoewo
4 months ago
+0 thumbs
www.youtube.com/watch?v=OqDx8PiUnVg&feature=youtu.be

Reso: 1280x800 (1600x900 screen) with slow settings. Quality is still not good :(
4 months ago
+0 thumbs
Why do u render in so big res? Try 1280x720
4 months ago
+0 thumbs
Pressed pause at the beginning of the video and change the quality between 720p and original, look at the difference ;)
4 months ago
+0 thumbs
If uou wony find out about this, give xf ill tell u how to use ripbot and maybe u ll improve ur quality
4 months ago
+0 thumbs
http://www.youtube.com/watch?v=gXehNGptXUM&hd=1
quality is pretty shit imo. can it be coz i record/render in 1366x768 resolution? or just bad render settings?

edited 2012-02-19 18:03:42
4 months ago
+0 thumbs
You can't expect to get the same quality if you're not following each step listed in the tutorial. I'm going to assume that you messed something else up along the way, as the quality should be much better.

You can add me on XF if you want help.
4 months ago
+0 thumbs
i didnt use your tutorial @ this edit, but its still worse than it could be. next time i'm going to try your tut
4 months ago
+0 thumbs
4 months ago
+0 thumbs
3 months ago
+0 thumbs
not sure if some1 has this problem but i'll just leave it here.


how to make DebugMode FrameServer working in Vegas 9.0 and higher (also helps if vegas isnt installed on C:\)
1) delete frameserver (if u have it)
2) download this archive http://dl.dropbox.com/u/7398230/FS.rar
3) open it :|
4) put "Frameserver.x86.fio2007-config" into the folder where Vegas is installed on your pc (for me it's "D:\sony\Vegas Pro 9.0")
5) open and apply both .reg files
6) install frameserver from this archive, the folder for Sony Vegas Plugin must be same as for "Frameserver.x86.fio2007-config"
7)have fun
(bad england yes i know)
3 months ago
+0 thumbs
Getting this error when rendering the DebugMode FrameServer (*.avi) file using avisynth:


AviSynth script error:
DirectShowSource: RenderFile, the filter graph manager won't talk to me



Nice tutorial, really helps :)

edited 2012-02-24 19:10:42
3 months ago
+0 thumbs
Try uninstalling/reinstalling Avisynth.

*Thanks.

"RenderFile, the filter graph manager won't talk to me"

This is a common error that occurs when DirectShow isn't able to deliver any format that is readable to AviSynth. Try creating a filter graph manually and see if you are able to construct a filter graph that delivers any output AviSynth can open. If not, you might need to download additional DirectShow filters that can deliver correct material.

- avisynth.org.ru/docs/english/corefilters/directshowsource.htm

Try installing the latest revision of ffdshow:

sourceforge.net/projects/ffdshow-tryout/files/SVN%20builds%20by%2
0clsid/generic%20builds/


ffdshow_rev4323_20120213_clsid.exe

I have this revision on my own computer.

edited 2012-02-25 01:53:06
3 months ago
+0 thumbs
whats the standard render time when doing that debug mode frame server out of vegas it hasnt moved from 0% xD
3 months ago
+0 thumbs
Minimize Vegas, open MeGUI > follow rest of tutorial.

The video does not begin encoding until MeGUI calls for it. DebugMode simply feeds it to MeGUI, it does not render the video itself.
3 months ago
+0 thumbs
RIPBOT FTW, MEGUI IS SHIT LOLOLOL
3 months ago
+0 thumbs
Sirko said:
RIPBOT FTW, MEGUI IS SHIT LOLOLOL



edited 2012-03-18 17:15:16
3 months ago
+0 thumbs
3 months ago
+0 thumbs
Example of quality please?
3 months ago
+0 thumbs
Please login or register to post comments.