CCE 2.5 SP DVD frameserving with Avisynth
This guide is not designed for super newbies or to be used by TMPGEnc encoder. (tmpge can do all this by itself) You have to be familiar with a Ripper , DVD2AVI and a least one encoder. Oh and if you havnt done so already please download and install the Microsoft VisualBasic Runtime 6.
Why do it this way?
I do it this way because CCE 2.5 SP is a excellent and fast encoder. What I can do in TMPGEnc I can do faster and better in CCE. If it takes me 4 hours to encode a movie in TMPGEnc it takes me an hour in CCE 2.5 SP.
My recommendations are as follows:
Smartripper
DVD2AVI
Avisynth 1.05
Mpeg2dec.dll
CCE 2.5 sp
pulldown.exe
TMPGENC 2.5 ( for the audio part)
And a text editor of your choice (notepad, wordpad,...)
Download Avisynth and copy the avisynth.dll to your system32 folder and run the install.reg from the unzipped package.
Use Smartripper to rip your VOBs.
Open up DVD2AVI and load your newly ripped VOBs. Press {F5} to do a preview and pay close attention to the aspect ratio and the video type (Video Type may change after the opening credits so pay close attention and let int run for a few minutes. Now press {Esc} to stop the preview. Once you have your info memorized or written down click (on the toolbar) Video; Field Operation; now if your Video type was film then select forced film, if it was anything else click none. Save your project file.
Now onto the Avisynth script.
Open up a new text document and save it as whatever.avs under file name and set it to all files under save as file type.
Open your new whatever.avs file.
First off we are going to load the mpeg2dec.dll in the script you do that with the loadplugin command and then the destination of the file.
loadplugin("c:avisynthmpeg2dec.dll")
Next were going to load in the video with the mpeg2source command, the reason for the "v=" will be explained in a few. in this entry you add in the d2v file created by DVD2AVI
v=mpeg2source("c:lnln.d2v")
Now for the audio. We load this with the wavsource command. As with the mpeg2source this has a "a=" in front of the command. The wav file is derived from the wav file that DVD2AVI makes. Before doing this it is a good idea to change the file name to something easier to remimber.
a=wavsource("c:lnln.wav")
The next command is audiodub. This command is used to mux the video (v=) and the audio (a=) together into one stream for encoding. CCE 2.5 SP has a problem with encoding audio so if you are going to use it then you are going to have to use an external audio encoder. I prefer to use TMPGEnc myself but that is entirely up to you.
audiodub(v,a)
Te next command is bicubicresize. This will resize your video to what ever you choose, the first number is the vertical resolution and the second being the horizontal. Now this is where it can get a little tricky depending on if your final output is planed to be VCD or SVCD, NTSC or PAL, and if your source is 16x9 or 4:3. I will give one for each scenario.
VCD NTSC 4:3 source
bicubicresize(352,240)
VCD NTSC 16x9 source
bicubicresize(352,180)
VCD PAL 4:3 source
bicubicresize(352,288)
VCD PAL 16x9 source
bicubicresize(352,216)
SVCD NTSC 4:3 source
bicubicresize(480,480)
SVCD NTSC 16x9 source
bicubicresize(480,360)
SVCD PAL 4x3 source
bicubicresize(480,576)
SVCD PAL 16x9 source
bicubicresize(480,432)
Ok the next command is only used for 16x9 sources. It is addborders. This is different depending on if it is PAL OR NTSC. It will add the letterboxing we are used to.
VCD NTSC
addborders(0,30,0,30)
VCD PAL
addborders(0,36,0,36)
SVCD NTSC
addborders(0,60,0,60)
SVCD PAL
addborders(0,72,0,72)
The final command in this tutorial is trim. This command will split movies by frame number, the first number being the start frame and the second being the end frame. I use TMPGEnc source range feature to find out my frame range. I load the d2v and go into the settings to source range and slide the slider to find the frame I want to start and stop at. This way I can create 2 or more avs files with differnt source ranges and encode the movie into 2 or more seperate files without splitting one big one later.
trim(0,65432)
Now That we have gone through the basic commands lets throw it all together. Don't forget to use the right command lines for your video source.
loadplugin("c:avisynthmpeg2dec.dll")
v=mpeg2source("c:lnln.d2v")
a=wavsource("c:lnln.wav")
audiodub(v,a)
bicubicresize(480,360)
addborders(0,60,0,60)
trim(0,65432)
I just tested this script and if everything is installed right and everything is pointing to the right file this script will work. To encode a multi disc movieSo now onto...
Encoding the newley created avs file is a breeze. ( *Note* Again I say that this is pointless to use in TMPGEnc because it can do all of this by itself.)
Open up CCE and drag your first avs file into the center and right click on it and select edit.
Edit Screen
This is where it all starts at. From here you can change the..
Title : This will change the name of the file only in the main screen.
Input Files : This is where you can change the input file if you desire to.
Video Files : This is where and what your output is going to be.
ES : This splits the file into the audio file and the video file.
PS :This merges the video and audio file into an MPG but since we aren't going to use the audio from CCE just leave it ES.
Video Information File : This file records down all the information of the video, like its bitrate and other advanced info.
Audio File : Uncheck the box next to it so it doesn't encode the audio.
Video Encode Mode : This is where you set the encoder settings either....
CBR : Constant bitrate. Used mainly for mpeg1 VCDs.
One Pass VBR : Same as CQ_VBR in TMPGEnc. you set an quality setting between 1 and 100 and set an min and max bitrate. Used mainly for SVCDs.
Multipass VBR: This is where you set the number of passes to go over the movie. You set a average min and max bitrate.
Don't forget to use a bitrate calculator to find the bitrate values. The one I use the most is a www.vcdhelp.com/calc.htm .
Other Settings : (mpeg2 sample) (mpeg1 sample)
Video : Im not to sure of all the settings but I do know that you change the luminance to "0 to 255" and for SVCD only select "progressive frames". Don't select DVD compliant.
Quality settings : These are all up to you they are real self explanatory.
Now your set to encode click ok to make the changes to your template and click encode to start encoding.
Pulldown.exe
Copy the pulldown.exe and your mpv created by CCE into the directory of your choice, I chose pulldown, No go into the command prompt and navigate to the directory you copied the files to. When there type in..
pulldown movie.mpv (where movie is put your file name)
Now hit enter and let it run. this program adds in something to tell your DVD player or mpeg player to play it with 3:2 dropdown encoding. It saves the file as pulldown.m2v so go ahead and change the name of it to prevent confusion an possibly being overwritten.
On to TMPGEnc and the audio
This one is easy. Open TMPGEnc and load the avs in the audio. Click audio only and change your settings, and encode it. After it is finished click file, mpeg tools, and select the simple multiplex tab. Select what you are making in the dropdown menu. Don't forget to select the standard of VCD or SVCD if that is what you are making. Now add the files where they go and let it fly. After it's done burn and enjoy.
Shochan
VCDHelp.ORG View
user comments or post your own comments/issues about this guide
here.
|
|