Avatar

From luvBB
Jump to navigation Jump to search
#Hybrid
tc=DGsource("D:\Encode\x264\tc.dgi")+BlankClip(23683, 1920, 1080, "YV12", 24000, 1001).KillAudio()
ex=DGsource("D:\Encode\x264\ex.dgi")
tc.trim(0,1285)+ex.trim(1286,8327)+tc.trim(1808,2468)+tc.trim(2773,3886)+tc.trim(4287,4628)+ex.trim(10445,10558)+tc.trim(4760,6539)+tc.trim(6705,7568)+ex.trim(13203,13271)+tc.trim(7654,35062)+ex.trim(40681,41129)+tc.trim(35063,37751)+ex.trim(43819,45774)+tc.trim(37752,60759)+ex.trim(68783,69032)+tc.trim(60760,68860)+ex.trim(77134,77362)+tc.trim(68861,68935)+ex.trim(77438,78012)+tc.trim(68936,74299)+ex.trim(83377,83945)+tc.trim(74369,81486)+ex.trim(91064,91728)+tc.trim(81487,90644)+ex.trim(100887,103976)+tc.trim(90645,90708)+ex.trim(104041,108009)+tc.trim(92579,96403)+ex.trim(111835,112268)+tc.trim(96404,108155)+ex.trim(124021,126168)+tc.trim(108156,120730)+ex.trim(138744,140278)+tc.trim(121698,135433)+ex.trim(154015,155439)+tc.trim(135627,136157)+ex.trim(155971,156759)+tc.trim(136673,199621)+ex.trim(219709,219905)+tc.trim(199622,203093)+ex.trim(223378,223519)+tc.trim(203094,210724)+ex.trim(231151,232291)+tc.trim(211693,218940)+ex.trim(239540,243284)+tc.trim(219626,225446)+ex.trim(249106,0)

#Replaced bad frames (PhotoShop)
luvBB0=ImageSource("D:\Encode\x264\34.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB1=ImageSource("D:\Encode\x264\68413.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB2=ImageSource("D:\Encode\x264\68414.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB3=ImageSource("D:\Encode\x264\68415.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB4=ImageSource("D:\Encode\x264\68416.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB5=ImageSource("D:\Encode\x264\68437.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB6=ImageSource("D:\Encode\x264\68438.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB7=ImageSource("D:\Encode\x264\68439.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB8=ImageSource("D:\Encode\x264\68440.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB9=ImageSource("D:\Encode\x264\68441.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB10=ImageSource("D:\Encode\x264\68449.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB11=ImageSource("D:\Encode\x264\68451.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB12=ImageSource("D:\Encode\x264\68454.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB13=ImageSource("D:\Encode\x264\68457.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB14=ImageSource("D:\Encode\x264\68458.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB15=ImageSource("D:\Encode\x264\68460.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB16=ImageSource("D:\Encode\x264\68462.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB17=ImageSource("D:\Encode\x264\68465.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB18=ImageSource("D:\Encode\x264\68466.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB19=ImageSource("D:\Encode\x264\68467.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB20=ImageSource("D:\Encode\x264\68469.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB21=ImageSource("D:\Encode\x264\68474.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB22=ImageSource("D:\Encode\x264\68490.png", End=256290).ConvertToYV12(matrix="Rec709")
luvBB23=ImageSource("D:\Encode\x264\68492.png", End=256290).ConvertToYV12(matrix="Rec709")
ReplaceFramesSimple(Last,luvBB0, Mappings="34")
ReplaceFramesSimple(Last,luvBB1, Mappings="68413")
ReplaceFramesSimple(Last,luvBB2, Mappings="68414")
ReplaceFramesSimple(Last,luvBB3, Mappings="68415")
ReplaceFramesSimple(Last,luvBB4, Mappings="68416")
ReplaceFramesSimple(Last,luvBB5, Mappings="68437")
ReplaceFramesSimple(Last,luvBB6, Mappings="68438")
ReplaceFramesSimple(Last,luvBB7, Mappings="68439")
ReplaceFramesSimple(Last,luvBB8, Mappings="68440")
ReplaceFramesSimple(Last,luvBB9, Mappings="68441")
ReplaceFramesSimple(Last,luvBB10, Mappings="68449")
ReplaceFramesSimple(Last,luvBB11, Mappings="68451")
ReplaceFramesSimple(Last,luvBB12, Mappings="68454")
ReplaceFramesSimple(Last,luvBB13, Mappings="68457")
ReplaceFramesSimple(Last,luvBB14, Mappings="68458")
ReplaceFramesSimple(Last,luvBB15, Mappings="68460")
ReplaceFramesSimple(Last,luvBB16, Mappings="68462")
ReplaceFramesSimple(Last,luvBB17, Mappings="68465")
ReplaceFramesSimple(Last,luvBB18, Mappings="68466")
ReplaceFramesSimple(Last,luvBB19, Mappings="68467")
ReplaceFramesSimple(Last,luvBB20, Mappings="68469")
ReplaceFramesSimple(Last,luvBB21, Mappings="68474")
ReplaceFramesSimple(Last,luvBB22, Mappings="68490")
ReplaceFramesSimple(Last,luvBB23, Mappings="68492")

#Crop
crop(0,2,0,0)

#Fixing 1px left & right
FillMargins(1,0,1,0)
BBmod(0,0,2,2)

#Fixing black border from bottom on an opening logo
replaceframessimple(last, last.crop(0,0,-0,-2).spline36resize(1920,1078)
\ , mappings="[788 1285]")

#Debanding
#replaceframessimple(last, last.f3kdb(sample_mode=2, range=15, Y=110, dither_algo=3
#\ , dynamic_grain=false, grainY=50, grainC=50)
#\ , mappings="[28 532][783 1285][7046 7191][7406 7564][175839 176006][179721 179753][179863 180461][180959 181024][182236 182349][182464 182543][183436 183935]")

spline36resize(1280,720,1,0,-1,0)
Trim(12300,244500).SelectRangeEvery(5000,300)

# --zones 28,532,crf=15/783,1285,crf=15/7046,7191,crf=15/7406,7564,crf=15/175839,176006,crf=15/179721,179753,crf=15/179863,180461,crf=15/180959,181024,crf=15/182236,182349,crf=15/182464,182543,crf=15/183436,183935,crf=15
# stergi # din fata liniilor de debanding cand dai final encode
# luv ya BB