Page 3 of 10: MeGUI: AviSynth Script Creator
Step 3: MeGUI: AviSynth Script Creator
This step will use MeGUI's AviSynth Script Creator tool (Tools -> AVS Script Creator) to create an AviSynth script. If you followed Step 2, the AviSynth Script Creator tool should already be started with the D2V file created loaded. Otherwise, you'll need to load the media file you want to convert into the "Video Input" section (see hint below about opening files whose formats AviSynth does not natively support, including MOV files).
For example, if you want to convert FLV files using MeGUI, you will first need to make sure you have the required video, audio and splitter filters to make FLV files playable in Windows Media Player. A good way to ensure you have all the right codecs and filters installed is to use the K-Lite Mega Codecs Pack. Download the package, and it will ask you to uninstall any existing filters which might interfere, and then install a set that is very compatible with tools like MeGUI. You can find instruction on how to install the K-Lite Mega Codecs Pack here.
The "Input DAR" is the aspect ratio of the input video. In most circumstances, it should be automatically set for you. Anamorphic DVDs will be set to "ITU 16:9", for example.
For DVD sources, press the "Auto Crop" button to remove the black bars from the input video if it has any (most widescreen DVDs will, but most other files won't).
Next, you have to decide whether you need to reduce the resolution of the output video as compared to the input. In most cases, especially converting from DivX/XviD, you do not need to resize it, so uncheck the "Resize" option. For DVD sources, you might need to reduce the resolution, but only if you have file size requirements (eg. to fit a certain amount of video onto 1 CD). For DVD conversion onto a single CD (700 MB) using H.264, you can get away with using the maximum resolution (720x***) - so uncheck "Resize" in this case too.
If you do decide to decrease the resolution, check the "Resize" option and then check the "Suggested Resolution" checkbox too and change the resolution to one that you require. Recommended resolutions for the PS3 include 640x***, 720x***, 1280x*** (720p) and 1920x**** (1080p). In general, you need to ensure the height is a factor of 16 (mod-16) - any height number that is divisible by 16 should be fine, and the resolutions offered by "Suggested Resolution" will ensure this.
Click on the "Filters" tab. For films on DVDs, you usually do not need to run a deinterlacing analysis. If the content you have is TV based, then you might need to click on the "Analysis" button to see if the video requires de-interlacing. Select "Source is Anime" if that's what you have.
Again, if you followed my advice for keeping the resolution for DVD sources, then you don't need either the resize of the noise filters. Otherwise, if you chose to reduce the resolution, then you can choose how the resize will look like ("Bicubic (Neutral)" is recommended as a middle of the road choice). If the source has lots of noise, you can choose to enable the noise filter and choose how much noise is present in your source (usually not necessary, unless the original source is VHS or something). The other options can be left alone ("Colour Correction" is automatically checked for D2V input sources).
If your source is not DVD, then you can click on the "Edit" tab and edit the AviSynth script manually to enable audio (you don't need to do this with DVD sources if you have followed this guide, since we have already demuxed the audio using D2V Creator). Simply change the "audio=false" entry to "audio=true".
Make sure the "On save close and load to be encoded" option and press the "Save" button to save the AviSynth script (by default, in the same directory as the D2V file, the filename is not important). Don't worry too much about the AviSynth Script Creator tool's preview window - it can be a little buggy where cropping and resizing and concerned. After saving, the AviSynth file should be loaded automatically into MeGUI - MeGUI's preview window does work fine and please make sure the video looks alright, especially for DVD sources with cropping/resize.