Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function isplice (clip c, int "frameno")
- {
- filename = "fixed" + RightStr( "000000" + String(frameno) ,6) +".png"
- frame=imagesource(filename)
- frame=frame.selectevery(frame.framecount,0).assumefps(c.framerate).converttoyv24()
- c.trim(0,frameno-1)++frame++c.trim(frameno+1,0)
- }
- function osplice (clip c, int "frameno")
- {
- converttorgb32(c)
- ImageWriter(".\", frameno-2, frameno-2, type = "png")
- ImageWriter(".\", frameno-1, frameno-1, type = "png")
- ImageWriter(".\tofix", frameno, frameno, type = "png")
- ImageWriter(".\", frameno+1, frameno+1, type = "png")
- ImageWriter(".\", frameno+2, frameno+2, type = "png")
- converttoyv24(c)
- }
- #Replace With Next Frame
- function rwn(clip c, int fculprit)
- {
- deleteframe(c,fculprit)
- duplicateframe(fculprit)
- }
- function rwna(clip c, int fculprit)
- {
- deleteframe(c,fculprit)
- deleteframe(c,fculprit)
- duplicateframe(fculprit)
- duplicateframe(fculprit)
- }
- #Replace Next Frame With Cureent
- function rnwc(clip c, int fculprit)
- {
- deleteframe(c,fculprit+1)
- duplicateframe(fculprit)
- }
- # mildly filtered to get out more banding
- # installed avisynth mt
- SetMTmode(5,16)
- # source is heavily blocked cpu 4 deblocks
- mpeg2source("source.d2v" , cpu=4 )
- tfm(d2v="source.d2v")
- tdecimate(mode=1)
- ConvertToyv24()
- # 2 pixels lrft , 3 right 4:3 AR , makes it 1.875 from top and bottom too
- Trim(3175,8999)+Trim(11159,22259)+trim(24778,40816)
- #Bad scenecuts and bad frames , original width and height
- rwn(433)
- rwn(458)
- rwn(590)
- rwn(1797)
- isplice(2858)
- isplice(2906)
- isplice(3178)
- rnwc(3737)
- isplice(5919)
- rwn(6230)
- rnwc(6866)
- rnwc(7094)
- rwn(7371)
- rwn(7551)
- rnwc(7974)
- isplice(8474)
- rnwc(8666)
- rwn(8827)
- rwn(9243)
- rwn(10344)
- rnwc(10493)
- rnwc(10934)
- rwn(11267)
- rnwc(11459)
- rnwc(11626)
- rnwc(12163)
- rnwc(12289)
- rnwc(12327)
- rnwc(12738)
- rnwc(12797)
- isplice(13008)
- rnwc(13053)
- rwn(13187)
- rwn(13267)
- rnwc(13379)
- rwn(13450)
- rnwc(13570)
- rnwc(13653)
- rwn(13832)
- rnwc(13877)
- isplice(14315)
- rwn(14819)
- rnwc(14882)
- rnwc(15262)
- rnwc(15466)
- rwn(16171)
- rwn(16371)
- rwn(16467)
- rnwc(17164)
- rnwc(17540)
- rnwc(17656)
- rnwc(18548)
- rwn(18953)
- rwn(19206)
- rnwc(19432)
- rnwc(19512)
- rnwc(19564)
- rwn(19661)
- rwn(19973)
- rwn(20285)
- rwn(20621)
- rwn(20765)
- rwn(21409)
- rnwc(21684)
- rwn(21958)
- rwn(22030)
- rnwc(22256)
- rnwc(22309)
- rwn(22311)
- rwn(23341)
- rwn(23437)
- rwn(23659)
- rwn(23793)
- rnwc(24273)
- rwn(24275)
- rwn(24388)
- rwn(24768)
- rwn(25292)
- rnwc(25608)
- rnwc(25727)
- rwn(25729)
- rwn(26097)
- isplice(26193)
- rwn(26517)
- rnwc(26587)
- rnwc(26752)
- rnwc(26812)
- rnwc(27305)
- rwn(27541)
- rnwc(27656)
- rwn(27752)
- rwn(27937)
- rnwc(28100)
- rwn(28193)
- rwn(28497)
- rwn(28878)
- rwn(28941)
- rnwc(29048)
- rnwc(29308)
- rwn(29369)
- rnwc(31860)
- rwn(32040)
- rwn(32540)
- rwn(32780)
- Spline36Resize(1280,720, 3, 1.875, 1435, 1076.25)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement