Xvid / MP3 with MeGUI

From SDA Knowledge Base

Jump to: navigation, search


NOTE: SDA no longer requires DivX / Xvid videos for submission.

Those who use VirtualDub(Mod) 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.

Why use XviD and not DivX? For one, the quality of this codec is superior, and second, it's free! Since DivX is not free, it is not available in MeGUI.

Software and Installation

You may need to install Microsoft .NET framework 2.0 in order for MeGUI to run.

Download MeGUI or later. 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. You can also go to Tools -> Update to access the autoupdate feature.

Importing the avisynth script

In the input tab, open the avisynth script in both video and audio boxes. MeGUI exports your video and audio as separate files; you later combine them.

Your input screen should look something like this:


Setting the video compression

Bitrate list:

  • Low quality - 128 kbps
  • Medium quality - 512 kbps
  • High quality - 2048 kbps
  • Insane quality - 5000 kbps
  • X-TREME quality - 10000 kbps

At the MeGUI input screen, select XviD as the video codec and avi as the container. Press the Config button. These are the recommended settings; use a higher Motion Search Precision and VHQ mode if you want.


You may have trouble meeting the final bitrates of 128 or 512 if the videos are very short, don't worry about this. You can check the bitrate of your video by either checking the log after the encoding is done, or load the avi into VirtualDub(mod) and going to File -> File Information.


Setting the audio compression

Bitrate list:

  • Low quality - 64 kbps
  • Medium quality - 64 kbps
  • High quality - 128 kbps
  • Insane quality - 320 kbps
  • X-TREME quality - 320 kbps

Tip: Use common sense when choosing the bitrate for the audio. If your DVD recorder uses 192 kbps AC3, then there's no need to go any higher, especially when considering that AAC is a newer, more advanced codec and can account for the lossy to lossy conversion. To check the audio bitrate of your DVD recorder, look at the filename of the ac3 file DGIndex gave you.

Go back to the input screen and look at the audio section. Choose "LAME MP3" as the codec and the container should automatically switch to mp3 as well. Press the Config button. Use CBR as encoding mode and choose the appropriate bitrate.


Encoding the video and audio

So, you're back at the input screen and your configurations are all good to go. Now you just have to put those encoding jobs in the queue, so click the enqueue button for both video and audio and then click on the queue tab.


If it looks good, hit the start button.

Multiplexing the finished video and audio files

Go to Tools -> Muxer -> AVI Muxer and add your video and audio files and set an output file name. Then press the queue button, go back to the queue tab and press start again.


It may ask you to check that it's MP3-CBR, just say yes.

Checking your quality

Before you encode your actual speed run, you should make sure you're doing everything right. If you encode your speed run incorrectly, it will be a waste of time for you and SDA. Make 60 second test files for each quality and upload them to a site such as http://www.yousendit.com, then make a topic on the Tech Support forum with links to the files so their quality can be verified. Make sure to post the contents of your AviSynth script as well. If you use YouSendIt, just enter your own e-mail as the recipient, since anyone can download it, whether or not you enter their e-mail there.

Saving your settings

You can save a lot of time by saving your settings for later. Go to the video configuration window and click "New," then type in a name corresponding to whatever quality you had your settings adjusted to. Do the same thing for audio and making videos in the future will be quick and painless. To load your settings, go to the main MeGUI screen and choose an option you created from one of the profile dropdowns.

Return to the front page.

Personal tools