Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global DEBUG=!true
- import("!PPDlib.avs")
- DGDecode_mpeg2source("dvd5.d2v",info=3).trim(0,42857)
- ReplaceFramesSimple(overlay(freezeframe(0,frameCount,12712).crop(0,0,0,88),0,0,blankClip(last,color_yuv=$FF8080).mt_lut(y=0,u=-128,v=-128,offX=94,offY=40,w=458,h=38).crop(0,0,0,88)),mappings="[12690 14075]")
- ReplaceFramesSimple(overlay(freezeframe(0,frameCount,14082).crop(144,0,0,72),144,0,blankClip(last,color_yuv=$FF8080).mt_lut(y=0,u=-128,v=-128,offX=208,offY=32,w=386,h=30).crop(144,0,0,72)),mappings="[14076 15366]")
- ReplaceFramesSimple(overlay(freezeframe(0,frameCount,14082).crop(144,400,0,0),144,400,blankClip(last,color_yuv=$FF8080).mt_lut(y=0,u=-128,v=-128,offX=176,offY=418,w=462,h=38).crop(144,400,0,0)),mappings="[14076 15366]")
- v0=last
- tfm(ovr="17.tfm",cthresh=2,mi=100,pp=4,display=!true,clip2=QTGMC(preset=DEBUG ? "super fast" : "medium",sourcematch=DEBUG ? 0 : 3,fpsdivisor=2).colorstripe())
- fix()
- v0fix=v0.fix()
- tdecimate()\
- .ReplaceFramesSimple(stackvertical(v0fix.crop(0,0,0,80).tfm().tdecimate(),stackhorizontal(v0fix.crop(0,80,592,0).tfm().tdecimate(),v0fix.crop(592,80,0,0).tfm().tdecimate())),mappings="[10152 11259]")\
- .ReplaceFramesSimple(\
- stackhorizontal(\
- v0fix.crop(0,0,144,0).tfm().tdecimate().dehalo_alpha_mt(2,2,0.1,1,50,100).yahrmask(),\
- stackvertical(\
- v0fix.crop(144,0,0,80).tfm().tdecimate(),\
- stackhorizontal(\
- v0fix.crop(144,80,480,320).tfm().tdecimate(),\
- v0fix.crop(624,80,0,320).tfm().tdecimate()\
- ),\
- v0fix.crop(144,400,0,0).tfm().tdecimate()\
- )\
- ),\
- mappings="[11261 12292]")
- DEBUG ? assumefps(6).histogram() : filter1("[720 2878] [13510 13520]")
- function fix(clip c)
- {
- c
- ReplaceFramesSimple(daa().repair(last),mappings="[6243 6286] [7491 7521] [33773 33788] [35427 35442]")
- ReplaceFramesSimple(cleanshit(),mappings=" [2368 2382] [2413 2536] [2612 2734]")
- ReplaceFramesSimple(ytouv(utoy.spline64resize(width/3,height/3).maa.spline64resize(width/2,height/2),vtoy.spline64resize(width/3,height/3).maa.spline64resize(width/2,height/2),last),mappings="[3207 3245]")
- freezeStillAreas(8097,true)
- freezeStillAreas(8102)
- freezeStillAreas(8122,true)
- freezeStillAreas(8204)
- freezeStillAreas(8209)
- freezeOvr(8210,8211,0,0, 8,2,-8,0, zoom=0.996)
- ReplaceFramesSimple(daarect(0,190,200,90).repair(last),mappings="8212")
- ReplaceFramesSimple(daarect(0,0,80,0).repair(last),mappings="8222")
- freezeOvr(12690,12691, 0,0, 0,104,0,230, fade=4)
- freezeOvr(22472,22473, 0,1)
- frametint(33774,33780,0.999,0.52,33800)
- freezeframe(33781,33783,33784)
- ReplaceFramesSimple(animate(33781,33783,"levels",0,1,255,0,245,false, 0,1,255,0,252,false),mappings="[33781 33783]")
- remapframes(mappings="
- 2367 2366
- 22472 22473
- 28420 28419
- 32758 32759
- 36511 36512")
- t_chibifix(5027,400,0,0,0,"[5027 5201]")
- t_chibifix(5363,0,0,0,0,"[5363 5577]",baseframeclip=stackhorizontal(freezeframe(0,framecount,5363).crop(0,0,600,0),freezeframe(0,framecount,5577).crop(600,0,0,0)))
- t_chibifix(7155,0,0,240,0,"[7155 7213]")
- ReplaceFramesSimple(mt_merge(vCMAA,t_ellipse(40,0,110,216).t_ellipse(396,0,120,216,false).t_ellipse(592,32,120,200,false).t_ellipse(32,280,150,216,false).t_ellipse(532,280,120,216,false),true),mappings="[7691 7806]")
- t_chibifix(12190,480,0,0,0,"[12190 12369]")
- ReplaceFramesSimple(mt_merge(vCMAA,animate(15619,15626,"t_ellipse",700,200,110,300, 408,200,200,300),true),mappings="[15619 15946]")
- ReplaceFramesSimple(mt_merge(vCMAA,animate(15755,15760,"t_ellipse",-50,200,200,300, 90,188,200,300),true),mappings="[15755 15946]")
- t_chibifix(16176,0,0,200,0,"[16176 16306]")
- t_chibifix(16408,480,0,0,0,"[16408 16575]")
- t_chibifix(16655,480,0,0,0,"[16655 16722]")
- t_chibifix(17816,0,0,0,0,"[17816 17846]")
- t_chibifix(17992,0,0,0,0,"[17992 18047]")
- t_chibifix(18494,0,0,0,0,"[18494 18619]",baseframeclip=stackhorizontal(freezeframe(0,framecount,18538).crop(0,0,280,0).overlay(freezeframe(0,framecount,18538).crop(104,0,8,248).bicubicresize(176,248),104,0),freezeframe(0,framecount,18538).crop(280,0,0,0)))
- t_chibifix(20315,0,0,0,220,"[20315 20382]")
- t_chibifix(20315,0,0,0,220,"[20315 20569]")
- t_chibifix(24948,500,0,0,0,"[24948 25052]")
- t_chibifix(26495,520,0,0,0,"[26495 26629]")
- t_chibifix(31126,0,0,0,0,"[31126 31260]")
- ReplaceFramesSimple(mt_merge(vCMAA,t_ellipse(72,-20,164,280).t_ellipse(240,0,180,250,false).t_ellipse(420,150,170,330,false),true),mappings="[31404 32314]")
- ReplaceFramesSimple(mt_merge(vCMAA,t_ellipse(190,150,200,330),true),mappings="[31404 31835]")
- ReplaceFramesSimple(mt_merge(vCMAA,animate(31836,31847,"t_ellipse",180,150,220,400, 210,150,280,400),true),mappings="[31836 31861]")
- ReplaceFramesSimple(mt_merge(vCMAA,animate(31862,31877,"t_ellipse",144,120,208,400, 100,120,240,400),true),mappings="[31862 31891]")
- ReplaceFramesSimple(mt_merge(vCMAA,animate(31892,31907,"t_ellipse",180,140,220,400, 210,140,240,400),true),mappings="[31892 31921]")
- ReplaceFramesSimple(mt_merge(vCMAA,animate(31922,31937,"t_ellipse",144,120,208,400, 100,120,240,400),true),mappings="[31922 31951]")
- ReplaceFramesSimple(mt_merge(vCMAA,animate(31952,31967,"t_ellipse",180,140,220,400, 210,140,240,400),true),mappings="[31952 31981]")
- ReplaceFramesSimple(mt_merge(vCMAA,animate(31982,31997,"t_ellipse",144,120,208,400, 100,120,240,400),true),mappings="[31982 32003]")
- ReplaceFramesSimple(mt_merge(vCMAA,t_ellipse(24,220,140,280),true),mappings="[33312 33442]")
- t_chibifix(31403,40,216,300,240,"[32004 32314]",ellipsemask=true)
- t_chibifix(35615,0,0,0,0,"[35615 36156]")
- ReplaceFramesSimple(animate(36156,36182,"t_chibifix",35615,0,30,0,0,"[36157 36182]", 35615,0,446,0,0,"[36157 36182]"),mappings="[36157 36182]")
- ReplaceFramesSimple(mt_merge(vCMAA,animate(36209,36261,"t_ellipse",690,40,80,200, -40,40,80,200),true),mappings="[36209 36261]")
- ReplaceFramesSimple(mt_merge(vCMAA,animate(36300,36366,"t_ellipse",-56,230,120,240, 686,230,120,240),true),mappings="[36300 36366]")
- t_chibifix(36905,46,234,200,240,"[36905 37036]",ellipsemask=true)
- t_chibifix(37069,500,0,0,0,"[37069 37261]")
- t_chibifix(37504,0,0,0,0,"[37504 37705]")
- t_chibifix(37904,480,120,240,400,"[37904 37979]",ellipsemask=true)
- t_chibifix(38085,560,0,0,0,"[38085 38202]")
- t_chibifix(38641,0,0,0,0,"[38641 38778]")
- ReplaceFramesSimple(checkmate().repair(last),mappings="[33503 33772] [42408 42857] [3246 3356]")
- t_freezeSCtonext("17sc30fps.txt")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement