Log in

View Full Version : Avisynth filters, very difficult bug video


Gogeta SSj4
28th June 2011, 23:08
Hi everybody! :)
I'm trying to do a x264 rip of Sousei no Aquarion anime series. But in some scenes I can't really remove some banding with blocking even though I used Gradfun2DBmod v.1.5. Can you help me please? My source is the original Japanese DVD9 NTSC R2... my result should be a 340 MB final size per episode, composed by 1st audio AAC 5.1 (30MB) and a 2nd audio AAC 2.0 (20MB). Bitrate calculator told me that the video should take a bitrate of 1538 kbps. I encoded it with MEgui in automated 2 pass, Preset=dxva slower.

That's the script I use:
LoadPlugin("C:\.......\Aquarion DVD 1\megui\tools\dgindex\DGDecode.dll")
LoadPlugin("C:\...........\Aquarion DVD 1\megui\tools\avisynth_plugin\TIVTC\TIVTC.dll")
LoadPlugin("C:\......\Aquarion DVD 1\megui\tools\avisynth_plugin\removegrain.dll")
LoadPlugin("C:\...........\Aquarion DVD 1\megui\tools\avisynth_plugin\AddGrainC.dll")
LoadPlugin("C:\............\Aquarion DVD 1\megui\tools\avisynth_plugin\mt_masktools-25.dll") #MaskTools V2
LoadPlugin("C:\..........\Aquarion DVD 1\megui\tools\avisynth_plugin\gradfun2db\gradfun2db.dll")
LoadPlugin("C:\............\Aquarion DVD 1\megui\tools\avisynth_plugin\toon-v1.1.dll")
LoadPlugin("C:\................\Aquarion DVD 1\megui\tools\avisynth_plugin\awarpsharp.dll") #awarpsharp2
Import("C:\..........\Aquarion DVD 1\megui\tools\avisynth_plugin\GradFun2DBmodv1.5.avsi") #GradFun2DBmod
d2vpath="C:\...............\Aquarion DVD 1\d2v\VTS_01_1.d2v"

DGDecode_mpeg2source(d2v=d2vpath,idct=5)

tfm(pp=0,cthresh=8)
tdecimate(mode=1,hybrid=0)
removegrain(1,2,2)
crop(4,2,-4,0)

right_border=4*ceil(width/4.0)-width
bottom_border=4*ceil(height/4.0)-height
addborders(0,0,right_border,bottom_border)
GradFun2DBmod(thr=5.0,mode=3,str=2,strC=0.5,temp=100)
crop(0,0,-right_border,-bottom_border)

toon(0.3)

spline16resize(692,392)

and these are the particular scenes to correct:

http://img232.imageshack.us/img232/636/testctspline16mkvsnapsh.png

http://img812.imageshack.us/img812/8196/banding26616.png

http://img850.imageshack.us/img850/636/testctspline16mkvsnapsh.png

this is 1 minute of my source: http://www.megaupload.com/?d=8M6BL8QA

and this is a video from the source with all the interested scenes to repair: http://www.megaupload.com/?d=M8BKLH70

Please help me! Thanks :)