Difference between revisions of "Xvid / MP3 with MeGUI"

From SDA Knowledge Base

Jump to: navigation, search
m (Setting the audio compression)
m
Line 5: Line 5:
 
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.
 
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.
  
<font color=green><b>NOTE:</b> When you encode your runs for SDA, you will not need high or insane quality XviD/mp3; you only need low and normal quality. For the rest of the qualities, use [http://speeddemosarchive.com/kb/index.php/MeGUI H.264.]</font>
+
<font color=green><b>NOTE:</b> When you encode your runs for SDA, you will not need high or insane quality XviD/mp3; you only need low and normal quality. For the rest of the qualities, use [[MeGUI|H.264.]]</font>
  
 
<br>
 
<br>

Revision as of 20:29, 31 December 2006

Introduction

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.

NOTE: When you encode your runs for SDA, you will not need high or insane quality XviD/mp3; you only need low and normal quality. For the rest of the qualities, use H.264.


Software and Installation

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

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

At the moment, the avi muxers in MeGUI do not work. Use VirtualDubMod for now.


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:

Meguiinputxvid.png


Setting the video compression

Bitrate list:

  • Low quality - 128 kbps
  • Medium quality - 512 kbps
  • High quality - 2048 kbps
  • Insane quality - 5000 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.

Meguixvidvideosettings.png

If you are encoding HQ/IQ with XviD, you will probably need to change the Quantization Type to MPEG. Try both MPEG and H.263 to be sure.

If you are having trouble meeting the final bitrates of 128 or 512, try turning off adaptive quantization. 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.


Meguixvidvideosettingsadv.png


Setting the audio compression

Bitrate list:

  • Low quality - 64 kbps
  • Medium quality - 64 kbps
  • High quality - 128 kbps
  • Insane 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.

Meguixvidaudiosettings.png


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.

Meguixvidqueue.png

If it looks good, hit the start button.


Multiplexing the finished video and audio files

The MeGUI avi muxers don't work at the moment, so we will use VirtualDubMod. Don't worry, it's very easy...

  • Start VirtualDubMod.
  • Click through all the initial crap if you haven't loaded the program before.
  • Load your video file (the avi file).
  • In the top menu, go to Streams -> Stream List
  • Press the add button and find the mp3.
  • Click OK.
  • Video -> Direct Stream Copy (if it isn't already selected).
  • File -> Save as
  • Choose file name and save. Done!

NOTE: You may get some error message(s) while doing this; don't worry, though. It will work if you follow these steps.


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 10-15 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.


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