ホスティング レンタルサーバ レンタルサーバー

u n d e r c u t ' s   p u b l i c   d o m a i n
Page Last Updated 04/19/2002

Back to undercut's homepage
anime DVD rip guide
日本語 · articles · fansubs · Nandub_OnePass · WebFServe · MS-MPEG4 · download · email

Setup Filters

Now we are starting to cook. We have the d2v file and the wav file (coded with PCM, AC3, or MP3) ready to be processed. First, use VFAPIConv (see download section at doom9.net) to create a reference AVI.

Open VFAPIConv, load up the d2v file via the Add Job button, and hit Convert. You should end up with an AVI file in couple of seconds. If not, recheck your VFAPIConv installation. (you need the codec installed)

Load the AVI into VirtualDub, Nandub, or Nandub_OnePass. Which ones to use would be up to your preference. For Divx, Xvid and other latest VfW codecs, use VirtualDub. For doing 2 pass encoding with MS-MPEG4, use Nandub. For doing 1 pass encoding with MS-MPEG4, use Nandub_OnePass.

Set Audio

This is an easy part so we'll get to it now. Go to Audio->Wav Audio and load the wav file you've created in last step, either WAV coded with PCM, AC3, or MP3. If the WAV is already in AC3 or MP3, make sure Direct Stream Copy is selected for Audio. It should be selected by default.

If encoding with WMA codec, select the Full Processing mode and choose Windows Media Audio V2 and choose the bitrate. You can only choose the bitrates shown with "for audio/video". Make sure that sampling rate shown matches that of your source wav file. If not, go to Audio->Conversion and configure it appropriately.

Go into Audio -> Interleaving.

For MP3 or WMA, only part you need to modify is the Interleave box. Choose 500ms or something in that range.

For AC3, you have to put 160 ms in both Preload and Interleave box if your AC3 file is 192kbps. And use 120 ms if it is anything higher bitrate. If the interleaving is set to high, you may get audio/video stuttering. (I just use 120 for all AC3) Set the Audio skew compensation to the same value that DVD2AVI shows in the filename. For example, if your AC3 filename is src_03 AC3 T02 2_0ch 192Kbps DELAY -67ms.ac3, then type -67.

VobSub

We'll use VobSub filter to hard or soft sub the movie. Go to filter, click Add, then choose VobSub. At this point, you should have your DVD in the drive, and have it unlocked. (just run DVD rippers such as SmartRipper and leave it open) Click on the Open button. Browse to your DVD drive and select the IFO file for the vob set that we've ripped. In our example, it would be VTS_03_0.IFO. Next, it will ask for a directory to store the ripped subtitle files. Choose the same directory you've ripped the VOBs to with vStrip.

It will now show a box with list of VOB-IDs. You need to choose only the VOB-IDs that you've loaded onto the DVD2AVI in couple of chapters back. In our example, it was 2 and 4. So add those in and click OK. It'll take a few minutes for VobSub to parse the Vobs.

After its done, you may want to turn off the Fade in/out to your preference. (fades are generally considered to be bad in subtitles) Click OK.

VobSub comes with DirectShow VobSub filter which can overlay the sub during playback instead of hard subtitling. If you wish to use it, you should now remove the VobSub filter after it has created the .idx, .sub, and .ifo files. After you get your final AVI, rename them to the same filename as the final AVI file. For example, movie.avi, movie.sub, movie.idx, and movie.ifo. Make sure to read about splitting the vobsub files in the next step if you want to set the starting position to other than the first frame.

Inverse Telecine (IVTC)

We'll exit out of the filter box for a second to look at the IVTC. OK out of the filter dialogue, and go to Video -> Frame Rate. At the bottom of that window is Inverse Telecine (3:2 pulldown removal). Select Reconstruct from fields - Adaptive. In my experience, VirtualDub's IVTC does better job than AVIUtil or TMPEGEnc.

A note about VDub's IVTC: You cannot frameserve from VirtualDub with IVTC enabled. It is IMO the worst limitation of VirtualDub, where others like AVIUtil and TMPEGEnc can do so without trouble.

Other filters

This is the fun part. There are tons of other filters that you can use, and it's pretty much up to you which one you want to use. I ofcourse have my combination that I like to use. You should experiment and come up with what works best for you. Some of the filter can have great impact on how MPEG4 compression are done, and some can also work against you.

Some filter recommendations are:

Deinterlace - Area Based (Homepage)

Since IVTC never works perfectly, it is advisible that additional deinterlace check is done. The Area Based Deinterlace filter will not affect pictures where there is no interlacing, but will only apply it to where it detects interlacing to fix those missed during IVTC.

Temporal Smoother

By far the most effective noise reduction filter for use with MPEG4. Good setting to use are from 2 to 4 depending on the amount of noise. I find the level of 3 to be great for clean VHS/TV capture sources.

Filter Ordering

Pay special attention to the order in which all of the filters are being applied. Here are the order for recommended filters:

  1. Deinterlace - Area Based
  2. VobSub
  3. Resize & Crop (covered in next chapter)

Remember that IVTC comes before any of the filters. 

Back to index


Copyright © 2000-2003 Undercut.org. All rights reserved.
Managed by Site Compiler