Anime Encoding Guide
10 Easy Steps of Encoding
Rip The .VOB Files From The Dvd
Make a DVD2AVI Project
Make a TMPGENC Project
Make a AVIUTL Project
Create a AVISynth Script
Open AviSynth Script in VirtualDub and test filters and Codec Settings
Save AVI file From VirtualDub
Convert AC3 Audio to Vorbis Audio
Create Ogm file in VirtualDubMod
Step 1: Ripping The DvD
Start up DVD Decrypter 3.
Note that not all the files will be selected by default. Press Control - A or Edit -> Select All Files to select each file of the disc.
Then press the big DVD button at the bottom left to start ripping.
Step 2: Creating a DVD2AVI Project
At first you'll have to load your VOB files. If the files are consecutively named selecting the first VOB will load all the others.
The next step is to make sure Video - Field Operation - None is selected not Forced Film.
The next step is audio demuxing.
Audio - Dolby Digital - Demux all
Now we have to make sure that the video data stays in YUV format. Make sure that YUV is checked, otherwise we're going to lose our speed advantage.
Now you'll just have to create a DVD2AVI project file which can then be processed further. If you only want to process a part of the movie you can use the following two buttons to mark the beginning and end of the part you want to process:
After this operation you can close DVD2AVI. Do not move or delete the VOB files until you have completed the whole process.
Step 3: Make a TMPGENC Project (IVTC)
Open TMPGENC and for Video Source Browse and select your DVD2AVI Project (.d2v). Then CLick on load and open DVD (NTSC).mcf then click on load again and open unlock.mcf found in the extras folder.
Then you need to click on settings which will give you this screen.
In this windo you need to change the following settings:
Aspect Ratio: 1:1 (VGA)
Encode Mode: Non-Interlace
YUV Format: 4:2:0
DC component precision: 8 bits
Then click on the advanced tab.
<----these are the fields you need to change each time you scroll through when your in deinterlace.
change Aspect Ratio to 1:1 (VGA) again here
Now double click on Deinterlace and a scrollable video screen with your movie will pop up that looks like this:
Select Even-Odd Field(field)
Now click and drag the timeline bar through the movie a couple times and see how choppy/laggy/skips (whatever you call it) the video is.
then go back to advanced settings and change the field order from Field A to Field B and go back to the deinterlace window above and scroll through it a couple times again and decide which is more choppy/laggy/skips. Then go back to advanced and change the field order to which ever you found less choppy/laggy/skips.
Uncheck Deinterlace and double click on Inverse Telecine and you will get this window:
Then Click Auto Settings
Setting Method: 24fps (flicker prioritized)
Deinterlace set threshold: 600
Then Press Start and prepare to wait. Depending on the length of what your encoding it could range from 20mins-200mins.
When it is done just click Ok in Inverse Telecine and Ok in Advanced Settings then goto File - Save Project and save it as .tpr.
Step 4: Make an AVIUTL Project
Open AviUtl and Load the TMPGENC Project (.tpr) in It.
Then Goto settings Color Correction and change the settings to the following:
Then Goto Filter and click on Color Correction puttng a check mark next to it. Then goto File - Save Project and save the project as .aup file.
Step 5: Creating an AviSynth Script
Unpack the Filter Pack into your avisynth/plugins directory
Download and Edit with notepad the Sample AVISynth Script At the top which looks like this:
Filter are what make the video smooth and clear. This part is up to you because every source requires different filters because they are all different. To download more filters goto the AVISynth Filter Collecton. to add a new filter just follow the instructions that come with each filter.
This is the settings i use for dbgt so it may be ok with dbz aswell.
Just make sure to chage all the paths to the locations of your
files such as LoadVFAPIPlugin("C:\AviUt\aviutl.vfp", "Aviutl")
When you are done with this part just hit save and close it and open up VirtualDub.
Step 6: Creating AVI with VirtualDub
File - Open - the .avs file you worked on and the video will open up. if you have any errors its because something is wrong in your script like one of the filter locations or locations of aviutl projects.
here make sure Audio - No Audio is selected and goto Video - Filters - Add - Load select the logo 1.4 filter. Then under Add select the loaded Logo 1.4 filter and press ok
This screen will pop up. Select the image the transparent color and tolerence, the postion of the image on the screen and when u want it to start and end and how long u want it to fade in and out. Click show preview to see what it will look like.
When you are satisfied press ok then ok again and get back to the main screen.
Then goto Video - Compression - and select the Divx Codec
Then Click Configure to configure the codec settings.
here i suggest trying to stay above 4 quality anything below is blah.
after you think you have the right quality click general parameters tab.
This is where you crop the sides out of the anime if there is unwanted stuff like black around the edges and resize the finished movie. When i enocde i get a green line at the bottom of my encode so i have to crop the bottom 2 pixels out.
That is also my defult size for full screen encodes.
when you are done here press ok untill you get back to the main screen. When your at the main screen just goto File - Save as Avi and save. u can abort the save early if all u want to do is take a look at the quality and make sure its ok. also dont trust the estimated filesize untill about 15 mins into the encode because it can change.
Step 7: Having a good AVI but no Audio
When you are satisifed with the AVI file open up HeadAc3he and youll get this screen:
Load the ac3 file in source file and select destination format vorbis and press start. do this for each audio track you want.
Step 8: Subtitles
Open Subrip goto File - Open VOBs
Open the dir where your VOBs are and press start.
Then Select which sub has white letters on a black background and press ok.
This Screen will then pop up:
Everytime it pops up it will be a different letter for this we just type in the letter that the box is around so here we would check italic and type in W and press ok.
When you are done ripping all the subs Save by going File - Save as. to adjust time and make spelling corrections use the clock and the breen box with the wand.
Step 9:Audio, Subs, Video how do i put them together?
Open VirtualDubMod and open the avi file you created in Virtual Dub
Then Click Video - Direct Stream Copy. Then click OGM - Show Inputs and you get this:
Click add and add all the vorbis (.ogg) audio you converted and the subs (.srt) you created and press ok.
Then Click OGM - Save As OGM and your Done. All you need to do now is upload the encode to a bot or serve it in mirc. If you have any problems contact SoLiDuS or Dbu on #beasttrade on irc.aniverse.com.