Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
20th December 2007, 00:46 | #4 | Link |
Registered User
Join Date: Feb 2006
Posts: 79
|
SetWorkingDir("C:\Program Files\AviSynth 2.5\plugins")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Decomb522.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\deblock.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\ColorMatrix.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DctFilter.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mt_maskTools.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MaskTools.dll") #LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\AddGrainC.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\hqdn3d.dll") #LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrain.dll") #LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrains.dll") #LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrainsse2.dll") #LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Repairsse2.dll") #LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrainsse3.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FluxSmooth.dll") #LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Convolution3d.dll") #import("c:\Program Files\AviSynth 2.5\plugins\addgrain.avs") import("C:\Program Files\AviSynth 2.5\plugins\DeBlock_QED.avs") #import("C:\Program Files\AviSynth 2.5\plugins\vmToon-v0.74.avsi") Import("C:\Program Files\AviSynth 2.5\plugins\LimitedSharpenFaster.avsi") MPEG2source("D:\TV Caps\yo.d2v",ipp=true,cpu=6,cpu2="xxxxoo",info=3) Colormatrix(hints=true) Deblock_QED(quant1=18,quant2=24,aOff1=2,bOff1=2,aOff2=4,bOff2=4) Deblock(quant=36) #(quant1=18,aOff1=16,quant2=28,aOff2=11) #(quant1=18,quant2=24,aOff1=2,bOff1=2,aOff2=4,bOff2=4) hqdn3d()#(0,0,3,3) FluxSmoothST(10,15) #Convolution3d("moviehq") #AddBorders(16,0,16,0) #Lanczos4resize(720,480) #vmtoon(sharpen=true) LimitedSharpenFaster(ss_x=1.0, ss_y=1.0, Smode=4, strength=250, overshoot=0, soft=60) #AddGrainC(7) |
20th December 2007, 01:11 | #7 | Link |
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
You don't need those loadplugins at all, the ones you commented out will get loaded regardless since Avisynth will autoload plugins in the working plugin directory, which is again a preset and unnecessary to define unless you placed it somewhere else.
Avisynth = auto loads all plugins in it's plugin directories, so it doesn't matter whether you have the loadplugin() or if you do have it there and uncommented. |
20th December 2007, 01:14 | #8 | Link |
Registered User
Join Date: Feb 2006
Posts: 79
|
ok. I'll simplify it here in a bit. I would like to know if there is anything I can change or add to the script to make remove the blocks when there is motion. I am trying to clean up the parody GI JOE PSA's so they are watchable.
|
20th December 2007, 01:45 | #9 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,389
|
OMG, what's that.
Excerpt: Code:
MPEG2source("D:\TV Caps\yo.d2v",ipp=true,cpu=6,cpu2="xxxxoo",info=3) Colormatrix(hints=true) Deblock_QED(quant1=18,quant2=24,aOff1=2,bOff1=2,aOff2=4,bOff2=4) Deblock(quant=36) Furtheron in the script, there is lots of processing that is only valid for progressive content. Now, is the source interlaced, or is it not? If it's not, set ipp=false. (And if it is indeed interlaced, the whole script is borked crappola...) 1a) cpu=6 is the same as cpu2="xxxxxx". cpu2="xxxxoo" is the same as cpu=4. Which of both do you want to use? 2) You use a chain of three deblockers: DGDecode-deblocking, then Deblock_QED(), then Deblock(). That's pretty much pointless. Deblocking filters need to "reckognize" blocking. It is likely to happen that one deblocker - although eventually not acting efficiently enough for visual pleasance - alters the content by so much that the upfollowing deblockers *cannot* reckognize the blocks anymore, therefore they become inefficient. For making a reasonable start, you should find & use one deblocker that removes all (or at least a major part) of the blocking. After having found that, you can make your way to add more stuff. Throwing filters at a source blindly most times will not succeed.
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
20th December 2007, 02:01 | #11 | Link |
Registered User
Join Date: Jul 2007
Posts: 70
|
maybe this is kinda dumb, but I've found anti-aliasing scripts to work better for a lot of blocking than actual deblockers...
aaa or aa are useful for bad blocking sections... (try searching "anime anti-aliasing" or some such) |
Thread Tools | Search this Thread |
Display Modes | |
|
|