Jeremy Duncan
12th September 2007, 18:29
Step One - Rip the DVD
Use DVDFab Decrypter 3.0.5.0 to rip the chapter you want.
You don't need the audio in this guide, so uncheck the audio when you rip the vob chapter.
Step 2 - Get a few frames
Unzip dgmpgdec, and open DGIndex.
Go to: Options, Playback Speed, Check Super slow.
The slidebar on the bottom of DGIndex, see it ?
Slide that to the part of the movie you want, then open the file tab and click Play.
It will play the vob at super slow speed.
When you get to THE FRAME you want, open the file tab and click stop.
Now, on the bottom of DGIndex, you'll see brackets, click the left bracket "[".
Now, open the file tab and click play, let about 5 frames go by and then click stop again.
Click the right bracket "]".
Open the file tab and click save project, save it where the vob chapter is.
If your going to upload a clip so they can help you, instead of saving project,
you click File, save project and demux video.
Step 3 - The scripts. Copy and paste these scripts to notepad, then change the file extension to avs using the MS Windows tools, Folder options, View tab.
This part sounds hard, but it's just copy and paste basically.
Example Script one - Making a AVS that virtualdub uses.
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MT.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MaskTools.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mt_masktools.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RepairSSE3.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrainSSE3.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\ColorMatrix.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Fluxsmooth.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TIVTC.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\WarpSharp.dll")
MPEG2Source("C:\Documents and Settings\Dell\My Documents\My Pictures\Blade d2v\MainMovie\KILL_BILL_VOL1\VIDEO_TS\Kill Bill.d2v")
SetMemoryMax(1024)
tfm(order=1,chroma=false)
tdecimate(chroma=false)
FluxSmoothT(3)
ColorMatrix(Mode="Rec.601->Rec.709",clamp=false,threads=2)
MT("SeeSaw(NRlimit=0, NRlimit2=5, Sstr=2.22, Szp=1, Slimit=9, Sdamplo=16, Spower=1, sootheT=95, SdampHi=39)",3)
interleave(WarpSharp(depth=20, threshold=20))
What you do is you loadplugin, if you use Seesaw you need the proper plugins in the AVisynth folder. Then you need to link to these plugins in the avs script.
Then you need to link to the d2v you made in step 2.
Finally, you need to set you parameters.
Only three step to making a avs, very simple.
Example script two - the script that actually shows the changes.
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
clip1=MPEG2Source("C:\Documents and Settings\Dell\My Documents\My Videos\New Folder\MainMovie\KILL_BILL_VOL1\VIDEO_TS\Kill Bill.d2v")
clip2=AVISource("C:\Documents and Settings\Dell\Desktop\Seesaw.avi").Subtitle("No luma mask")
clip3=AVISource("C:\Documents and Settings\Dell\Desktop\Seesaw two point five.avi").Subtitle("Luma mask")
clip4=Blankclip(clip1)
# --- special purpose clips below, for comparison ---
clip5 = SUBTRACT(clip1, clip2).LEVELS(107,1,149,0,255)
clip6 = SUBTRACT(clip1, clip3).LEVELS(107,1,149,0,255)
clip7 = SUBTRACT(clip2, clip3).LEVELS(107,1,149,0,255)
desc_clip1 = "Source"
desc_clip2 = "Seesaw two"
desc_clip3 = "Seesaw two point five"
desc_clip4 = "Difference between clip 2 and 3"
desc_clip5 = "Difference Source - Seesaw two"
desc_clip6 = "Difference Source - Seesaw two point five"
desc_clip7 = "Difference Source - Difference between clip 2 and 3"
# The two lines below will usually call clips 1-2-3-4, but 1-5-6-7 may be inserted
# to see [amplified] mathematical difference between clips
# To put it another way, these are the four clips we want to display
vertclip1 = STACKVERTICAL(clip1.SUBTITLE(desc_clip1), clip5.SUBTITLE(desc_clip5))
vertclip2 = STACKVERTICAL(clip6.SUBTITLE(desc_clip6), clip7.SUBTITLE(desc_clip7))
STACKHORIZONTAL(vertclip1,vertclip2)
clip1, link to the d2v you made in step 2.
Clip2, link to the avi you make in step 4.
Clip3, link to the avi you made in step 4.
Extremely simple, just link to the 3 clips.
Make the avs, and open the avs with virtual dub that virtualdub makes a avi.
Step 4 - Using Virtualdub to make a avi.
Install the Microsoft WMV9 vmc Codec first.
Put the DGDecode.dll from dgmpegdec into the avisynth plugins folder,
along witht he plugins you'll need to run your parameters in script one.
Unzip virtualdub, and open virtualdub.
Click file open video file.
Open script one, the one with the parameters.
If a error sign pops up, check that your parameters are correct, and that the links to the plugins are correct.
Click Video, Compression, Microsoft Windows Media Video 9, configuration.
Performance to batter quality, all the way tot he right.
Quality level 100.
Everything else in Microsoft Windows Media Video 9, configuration is default.
Click Ok, OK.
Click save as avi.
Make two avi's.
Call one avi A, and the other avi B. Or names that are easy to say and remember/use.
One with a standard parameter that gives acceptable generic results, and another that we'll use to tweak in step 5.
Step 5 - the comparison showing the change the parameters made.
Using script 2 you made in step 3, link to the 2 avi's you made in step 4 and the d2v you made in step 2.
As you can see in my example, "clip2" links to the avi file "seesaw two".
Looking in my script two example, look for "desc_clip2", and "desc_clip5", you'll see "Seesaw two".
Change the "seesaw two" in "desc_clip2", and "desc_clip5" to the name of the avi you linked to in clip2.
"desc_clip3", and "desc_clip6" should have the name of the avi file you linked to in clip3.
Open the script two avs using virtualdub, and you'll see the changes your script one parameters made to the original movie.
______ Hint 1
When you make the d2v in step 2, the first frame is the frame visable when you press the "[" left bracket, choose a frame that has text or intricate detail.
Go to step 5, look at the text, it should be readable.
If it's blurry then your parameters in script one from step 3 are not set correctly.
Open script one from step 3, make a parameter change, then open virtualdub and make a new avi using these parameter changes.
After you save the new avi, you need to change the name of the avi you link to in script two from step 3
to link to this new avi you made with the parameter change.
So either clip2, or clip3 needs to link to the new avi, change the "desc_clip" name to match the new avi file.
Open Script two from step three using virtual dub, the text should look better with the new parameter change.
______ Hint 2
When you make the d2v, you affect what virtualdub uses.
if the first frame in the d2v is blurry, then the virtualdub first frame will be blurry in step 5.
meaning you'll have to frame hunt and comparing frames gets tricky.
So you want the first frame from the d2v to be clear with some text in it.
The in step five you won't need to frame hunt, you'll just need to open sript two in step 5 to see the change, and tweaking the parameters becomes easy.
Just make a new avi, the go to step 5 to see the changes.
Since you only chose a few fromes when you made the d2v, the encode making the avi isn't hard at all, less than a minute for my pc.
______ Hint 3
When your happy with your parameters, you can compare frames.
Using the frame in virtualdub in step 5, the frame showing the changes.
In virtualdub, go to: Video, Copy source frame to clipboard.
Then open MS paint and click the edit button and paste, save as png.
Then do this again with different parameters so the first frame seen in step 5 is slightly different.
then make another png.
finally double click the png and it'll flick between the two png's you made, look at the text to see which is better looking.
http://downloads.sourceforge.net/virtualdub/VirtualDub-1.7.1.zip?modtime=1170829415&big_mirror=0
http://neuron2.net/dgmpgdec/dgmpgdec148.zip
http://www.doom9.org/Soft21/Rippers/DVDFabDecrypter3050.exe
http://www.microsoft.com/windows/windowsmedia/download/AllDownloads.aspx
Use DVDFab Decrypter 3.0.5.0 to rip the chapter you want.
You don't need the audio in this guide, so uncheck the audio when you rip the vob chapter.
Step 2 - Get a few frames
Unzip dgmpgdec, and open DGIndex.
Go to: Options, Playback Speed, Check Super slow.
The slidebar on the bottom of DGIndex, see it ?
Slide that to the part of the movie you want, then open the file tab and click Play.
It will play the vob at super slow speed.
When you get to THE FRAME you want, open the file tab and click stop.
Now, on the bottom of DGIndex, you'll see brackets, click the left bracket "[".
Now, open the file tab and click play, let about 5 frames go by and then click stop again.
Click the right bracket "]".
Open the file tab and click save project, save it where the vob chapter is.
If your going to upload a clip so they can help you, instead of saving project,
you click File, save project and demux video.
Step 3 - The scripts. Copy and paste these scripts to notepad, then change the file extension to avs using the MS Windows tools, Folder options, View tab.
This part sounds hard, but it's just copy and paste basically.
Example Script one - Making a AVS that virtualdub uses.
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MT.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MaskTools.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mt_masktools.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RepairSSE3.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrainSSE3.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\ColorMatrix.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Fluxsmooth.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TIVTC.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\WarpSharp.dll")
MPEG2Source("C:\Documents and Settings\Dell\My Documents\My Pictures\Blade d2v\MainMovie\KILL_BILL_VOL1\VIDEO_TS\Kill Bill.d2v")
SetMemoryMax(1024)
tfm(order=1,chroma=false)
tdecimate(chroma=false)
FluxSmoothT(3)
ColorMatrix(Mode="Rec.601->Rec.709",clamp=false,threads=2)
MT("SeeSaw(NRlimit=0, NRlimit2=5, Sstr=2.22, Szp=1, Slimit=9, Sdamplo=16, Spower=1, sootheT=95, SdampHi=39)",3)
interleave(WarpSharp(depth=20, threshold=20))
What you do is you loadplugin, if you use Seesaw you need the proper plugins in the AVisynth folder. Then you need to link to these plugins in the avs script.
Then you need to link to the d2v you made in step 2.
Finally, you need to set you parameters.
Only three step to making a avs, very simple.
Example script two - the script that actually shows the changes.
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
clip1=MPEG2Source("C:\Documents and Settings\Dell\My Documents\My Videos\New Folder\MainMovie\KILL_BILL_VOL1\VIDEO_TS\Kill Bill.d2v")
clip2=AVISource("C:\Documents and Settings\Dell\Desktop\Seesaw.avi").Subtitle("No luma mask")
clip3=AVISource("C:\Documents and Settings\Dell\Desktop\Seesaw two point five.avi").Subtitle("Luma mask")
clip4=Blankclip(clip1)
# --- special purpose clips below, for comparison ---
clip5 = SUBTRACT(clip1, clip2).LEVELS(107,1,149,0,255)
clip6 = SUBTRACT(clip1, clip3).LEVELS(107,1,149,0,255)
clip7 = SUBTRACT(clip2, clip3).LEVELS(107,1,149,0,255)
desc_clip1 = "Source"
desc_clip2 = "Seesaw two"
desc_clip3 = "Seesaw two point five"
desc_clip4 = "Difference between clip 2 and 3"
desc_clip5 = "Difference Source - Seesaw two"
desc_clip6 = "Difference Source - Seesaw two point five"
desc_clip7 = "Difference Source - Difference between clip 2 and 3"
# The two lines below will usually call clips 1-2-3-4, but 1-5-6-7 may be inserted
# to see [amplified] mathematical difference between clips
# To put it another way, these are the four clips we want to display
vertclip1 = STACKVERTICAL(clip1.SUBTITLE(desc_clip1), clip5.SUBTITLE(desc_clip5))
vertclip2 = STACKVERTICAL(clip6.SUBTITLE(desc_clip6), clip7.SUBTITLE(desc_clip7))
STACKHORIZONTAL(vertclip1,vertclip2)
clip1, link to the d2v you made in step 2.
Clip2, link to the avi you make in step 4.
Clip3, link to the avi you made in step 4.
Extremely simple, just link to the 3 clips.
Make the avs, and open the avs with virtual dub that virtualdub makes a avi.
Step 4 - Using Virtualdub to make a avi.
Install the Microsoft WMV9 vmc Codec first.
Put the DGDecode.dll from dgmpegdec into the avisynth plugins folder,
along witht he plugins you'll need to run your parameters in script one.
Unzip virtualdub, and open virtualdub.
Click file open video file.
Open script one, the one with the parameters.
If a error sign pops up, check that your parameters are correct, and that the links to the plugins are correct.
Click Video, Compression, Microsoft Windows Media Video 9, configuration.
Performance to batter quality, all the way tot he right.
Quality level 100.
Everything else in Microsoft Windows Media Video 9, configuration is default.
Click Ok, OK.
Click save as avi.
Make two avi's.
Call one avi A, and the other avi B. Or names that are easy to say and remember/use.
One with a standard parameter that gives acceptable generic results, and another that we'll use to tweak in step 5.
Step 5 - the comparison showing the change the parameters made.
Using script 2 you made in step 3, link to the 2 avi's you made in step 4 and the d2v you made in step 2.
As you can see in my example, "clip2" links to the avi file "seesaw two".
Looking in my script two example, look for "desc_clip2", and "desc_clip5", you'll see "Seesaw two".
Change the "seesaw two" in "desc_clip2", and "desc_clip5" to the name of the avi you linked to in clip2.
"desc_clip3", and "desc_clip6" should have the name of the avi file you linked to in clip3.
Open the script two avs using virtualdub, and you'll see the changes your script one parameters made to the original movie.
______ Hint 1
When you make the d2v in step 2, the first frame is the frame visable when you press the "[" left bracket, choose a frame that has text or intricate detail.
Go to step 5, look at the text, it should be readable.
If it's blurry then your parameters in script one from step 3 are not set correctly.
Open script one from step 3, make a parameter change, then open virtualdub and make a new avi using these parameter changes.
After you save the new avi, you need to change the name of the avi you link to in script two from step 3
to link to this new avi you made with the parameter change.
So either clip2, or clip3 needs to link to the new avi, change the "desc_clip" name to match the new avi file.
Open Script two from step three using virtual dub, the text should look better with the new parameter change.
______ Hint 2
When you make the d2v, you affect what virtualdub uses.
if the first frame in the d2v is blurry, then the virtualdub first frame will be blurry in step 5.
meaning you'll have to frame hunt and comparing frames gets tricky.
So you want the first frame from the d2v to be clear with some text in it.
The in step five you won't need to frame hunt, you'll just need to open sript two in step 5 to see the change, and tweaking the parameters becomes easy.
Just make a new avi, the go to step 5 to see the changes.
Since you only chose a few fromes when you made the d2v, the encode making the avi isn't hard at all, less than a minute for my pc.
______ Hint 3
When your happy with your parameters, you can compare frames.
Using the frame in virtualdub in step 5, the frame showing the changes.
In virtualdub, go to: Video, Copy source frame to clipboard.
Then open MS paint and click the edit button and paste, save as png.
Then do this again with different parameters so the first frame seen in step 5 is slightly different.
then make another png.
finally double click the png and it'll flick between the two png's you made, look at the text to see which is better looking.
http://downloads.sourceforge.net/virtualdub/VirtualDub-1.7.1.zip?modtime=1170829415&big_mirror=0
http://neuron2.net/dgmpgdec/dgmpgdec148.zip
http://www.doom9.org/Soft21/Rippers/DVDFabDecrypter3050.exe
http://www.microsoft.com/windows/windowsmedia/download/AllDownloads.aspx