Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Plugin list & downloads:
- TDecimate http://bengal.missouri.edu/~kes25c/TIVTCv105.zip
- Deblock_QED http://avisynth.org/mediawiki/Upload/f/f7/Deblock_QED_MT2.avs (rename to *.avsi)
- requires:
- Deblock http://avisynth.org.ru/mvtools/deblock12.zip
- DCTfilter http://avisynth.org/warpenterprises/files/dctfilter_25_dll_20030221.zip
- BlindPP2 https://dl.dropboxusercontent.com/u/74005421/blindpp2.avsi (my own little function)
- requires:
- BlindPP http://hank315.nl/files/DGdecode/dgmpgdec158.zip
- NNEDI3_rpow2 http://bengal.missouri.edu/~kes25c/nnedi3.zip <- best upscaler right there
- spline144resize http://www.wilbertdijkhof.com/SplineResize_v02.zip <- second best resizer
- awarp4/awarp2 http://www.mediafire.com/download/7bu46ab33dwex0o/aWarpSharp_20120328.rar 2 is faster
- fastlinedarken http://forum.doom9.org/showthread.php?p=1060081#post1060081 (save as .avsi)
- requires:
- MaskTools2 http://manao4.free.fr/masktools-v2.0a48.zip <- must have
- Motion stuff http://avisynth.org.ru/mvtools/mvtools-v2.5.11.3.zip <- another must have
- fft3dfilter http://avisynth.org.ru/fft3dfilter/fft3dfilter211.zip
- requires:
- ftp://ftp.fftw.org/pub/fftw/fftw3win32mingw.zip <- this should be put in %PATH% variable (like system32)
- HQDering http://forum.doom9.org/showthread.php?p=793930#post793930 (save as .avsi)
- Put .dlls and .avsi to avisynth/plugins folder or in a separate folder (but then you'll have to include them manually using "loadplugin("path/to/plugin.dll")" and "import("path/to/script.avsi")".
- */
- setmtmode(2)
- ffmpegsource2("C:\Users\Seedmanc\Downloads\MC99U001.Mkv")
- TDecimate #Recovering actual framerate (24fps instead of 30 with every 4th frame repeating)
- x=24132 #Start of OVA-specific MV
- y=30238 #Start of Music MV
- trim(0,x)+trim(x+1,0).deblock_qed.blindpp2.blur(0.1)
- #I'll be using different processing settings for each part since MVs are highly dynamic compared to OVA
- nnedi3_rpow2(rfactor=2, cshift="spline144resize", fwidth=1280,fheight=720)
- #Upscaling
- a=aWarp4(Spline36Resize(width*4, height*4, 0.375, 0.375), aSobel().aBlur(), depth= 2,chroma=4)
- b=awarpsharp2(depth=4) #Thinning lines
- a.trim(0,x)+b.trim(x+1,0)
- a=fastlinedarkenmod(luma_cap=250,threshold=1,strength=50,thinning=0)
- b=fastlinedarkenmod(luma_cap=200,threshold=2,strength=45,thinning=0)
- a.trim(0,x)+b.trim(x+1,0) #Darkening lines for nicer look
- super = MSuper(pel=1)
- backward_vectors = MAnalyse(super, isb = true, truemotion=false, blksize=32, overlap=16)
- forward_vectors = MAnalyse(super, isb = false, truemotion=false, blksize=32, overlap=16)
- forward_compensation = MCompensate(super, forward_vectors, thSCD1=500)
- backward_compensation = MCompensate(super, backward_vectors, thSCD1=500)
- interleave(forward_compensation, last, backward_compensation)
- setmtmode(3)
- a=fft3dfilter(bw=32,bh=32,ow=16,oh=16, bt=3,sigma=2.1 ,plane=4 ,sharpen=0.3 ,measure=true,dehalo=0.35 ) .selectevery(3,1)
- b=fft3dfilter(bw=32,bh=32,ow=16,oh=16, bt=3,sigma=2.55 ,plane=4 ,sharpen=0.35 ,measure=true,dehalo=0.3 ) .selectevery(3,1)
- a.trim(0,x)+b.trim(x+1,0) #Motion-compensated spatial&temporal denoising, cool thing. Cleans edges, removes blocks, sharpens image, all in one and decently fast.
- setmtmode(2)
- a=merge(hqdering(overall=14) ,0.66).sharpen(0.1)
- b=merge(hqdering(overall=16).sharpen(0.1) ,0.77)
- a.trim(0,x)+b.trim(x+1,0) #Additional edge-denoising for anime.
- a=gradfun3(thr=0.4,radius=14 ,smode=2 )
- b=gradfun3(thr=0.4,radius=14 ) #You know this guy.
- a.trim(0,y)+b.trim(y+1,0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement