Difference between revisions of "Xvid / MP3 with MeGUI"

From SDA Knowledge Base

Jump to: navigation, search
(bitrates on short videos)
(Reflect changes made in MeGUI 0.3.0.0)
Line 12: Line 12:
 
You may need to install [http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en Microsoft .NET framework 2.0] in order for MeGUI to run.
 
You may need to install [http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en Microsoft .NET framework 2.0] in order for MeGUI to run.
  
Download [http://www.x264.nl/ 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.
+
Download [http://www.x264.nl/ MeGUI] 0.3.0.0 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.
 
+
<font color="red">At the moment, the avi muxers in MeGUI do not work. Use [http://www.videohelp.com/tools?tool=VirtualdubMOD VirtualDubMod] to multiplex for now. See part 7 of this guide.</font>
+
  
 
<br>
 
<br>
 
 
==Importing the avisynth script==
 
==Importing the avisynth script==
  
Line 27: Line 24:
  
 
<br>
 
<br>
 
 
==Setting the video compression==
 
==Setting the video compression==
  
Line 35: Line 31:
 
* High quality - 2048 kbps
 
* High quality - 2048 kbps
 
* Insane quality - 5000 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.
 
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.
  
 
[[Image:Meguixvidvideosettings.png]]
 
[[Image: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.
 
  
 
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.
 
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.
Line 48: Line 43:
  
 
<br>
 
<br>
 
 
==Setting the audio compression==
 
==Setting the audio compression==
  
Line 56: Line 50:
 
* High quality - 128 kbps
 
* High quality - 128 kbps
 
* Insane quality - 320 kbps
 
* Insane quality - 320 kbps
 +
* X-TREME quality - 320 kbps
  
 
<font color="green"><b>Tip:</b> 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.</font>
 
<font color="green"><b>Tip:</b> 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.</font>
Line 64: Line 59:
  
 
<br>
 
<br>
 
 
==Encoding the video and audio==
 
==Encoding the video and audio==
  
Line 76: Line 70:
 
==Multiplexing the finished video and audio files==
 
==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...
+
Go to Tools -> Muxer -> <b>AVI Muxer</b> 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.
  
* Start VirtualDubMod.
+
[[Image:Meguixvidmux.png]]
* 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!
+
  
<font color=green><b>NOTE:</b> You may get some error message(s) while doing this; don't worry, though. It will work if you follow these steps.</font>
+
It may ask you to check that it's MP3-CBR, just say yes.
  
 
<br>
 
<br>
 
 
==Checking your quality==
 
==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 [http://speeddemosarchive.com/yabb/YaBB.pl?board=other Tech Support forum] with links to the files so their quality can be verified.
+
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 [http://speeddemosarchive.com/yabb/YaBB.pl?board=other Tech Support forum] with links to the files so their quality can be verified. <b>Make sure to post the contents of your AviSynth script as well.</b> 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.
 
+
  
 +
<br>
 
==Saving your settings==
 
==Saving your settings==
  

Revision as of 15:14, 5 January 2008

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 0.3.0.0 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:

Meguiinputxvid.png


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.

Meguixvidvideosettings.png

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.


Meguixvidvideosettingsadv.png


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.

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

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.

Meguixvidmux.png

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