Difference between revisions of "MeGUI"

From SDA Knowledge Base

Jump to: navigation, search
(Importing the avisynth script)
(Importing the avisynth script)
Line 15: Line 15:
 
==Importing the avisynth script==
 
==Importing the avisynth script==
  
In the input tab, open the avisynth script in both video and audio boxes. You will notice that the output files have the same name...
+
In the input tab, open the avisynth script in both video and audio boxes. You will notice that the output files have the same name... '''MAKE SURE THEY ARE DIFFERENT''' ...or you will probably end up losing your whole encode, and a whole lot of time.  
 
+
'''MAKE SURE THEY ARE DIFFERENT'''
+
 
+
...or you will probably end up losing your whole encode, and a whole lot of time.  
+
  
 
Your input screen should look something like this:  
 
Your input screen should look something like this:  
Line 25: Line 21:
 
[[Image:http://www.angelfire.com/planet/ballofsnow/meguiinput.png]]
 
[[Image:http://www.angelfire.com/planet/ballofsnow/meguiinput.png]]
  
 +
==Setting the video compression==
 +
 +
While still at the input screen , press the config button for x264. I will briefly explain the settings.
 +
 +
===Main===
 +
 +
'''Mode''' - Automated 2-pass should be used. If your game is not graphically complex, you can save some time by using Constant Quantizer mode and staying under the SDA bitrates. Starcraft for example is typically done with Constant Quantizer and bitrates usually do not go beyond 1300, well under the 2048 limit for HQ.
 +
 +
'''Deblocking''' - It is recommended to leave the settings to 0/0. Use lower settings if video is too blurry, but you will risk seeing more blocks.
 +
 +
'''Number of threads''' - This depends on your computer. Leave it at 1 if you're cpu is single-core, and 2 if it's dual-core.
 +
 +
'''AVC profiles''' - Since we want to be sure that the video is Quicktime 7 compatible, you should select the main profile.
  
 +
===Zones===
 +
Zones are used to make specific parts of your video have higher or lower quality than the rest of the video. This is rarely used.
  
Page under construction.
+
===RC and ME (Rate Control and Motion Estimation)===
 +
'''Rate Control''' - I recommend leaving these settings alone, although VBV Maximum Bitrate can be useful. It ensures that encodes using variable bitrate won't go above the maximum specified bitrate.

Revision as of 07:36, 17 August 2006

Megui

Those who use VirtualDub will have to get used to the fact that Megui does not accept simple avi input. Avisynth scripting is required before continuing with this guide.

We will be using the H.264 video codec along with the AAC audio codec muxed inside an mp4 container. The video files must be Quicktime 7 compatible; please double-check your work before submitting to save yourself and SDA time and bandwidth.

Software and Installation

You may need to install the latest .NET Framework before installing Megui.

Head over to x264.nl and download Megui. Install the program and run it. You should get a message saying there are updates available. Click ok and let the program download everything it needs. To access the autoupdate feature, you can also go to tools -> update.

You will probably get an error saying that Nero Digital Audio isn't available, so you'll have to download it separately. Download the zip file and extract the contents to C:\Program Files\megui\tools\neroaacenc\

Importing the avisynth script

In the input tab, open the avisynth script in both video and audio boxes. You will notice that the output files have the same name... MAKE SURE THEY ARE DIFFERENT ...or you will probably end up losing your whole encode, and a whole lot of time.

Your input screen should look something like this:

File:Http://www.angelfire.com/planet/ballofsnow/meguiinput.png

Setting the video compression

While still at the input screen , press the config button for x264. I will briefly explain the settings.

Main

Mode - Automated 2-pass should be used. If your game is not graphically complex, you can save some time by using Constant Quantizer mode and staying under the SDA bitrates. Starcraft for example is typically done with Constant Quantizer and bitrates usually do not go beyond 1300, well under the 2048 limit for HQ.

Deblocking - It is recommended to leave the settings to 0/0. Use lower settings if video is too blurry, but you will risk seeing more blocks.

Number of threads - This depends on your computer. Leave it at 1 if you're cpu is single-core, and 2 if it's dual-core.

AVC profiles - Since we want to be sure that the video is Quicktime 7 compatible, you should select the main profile.

Zones

Zones are used to make specific parts of your video have higher or lower quality than the rest of the video. This is rarely used.

RC and ME (Rate Control and Motion Estimation)

Rate Control - I recommend leaving these settings alone, although VBV Maximum Bitrate can be useful. It ensures that encodes using variable bitrate won't go above the maximum specified bitrate.

Personal tools