Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import vapoursynth as vs
- core = vs.get_core()
- import fvsfunc as fvf
- ###Step1: Use d2vwitch for the ts and then load your source
- src1 = core.d2v.Source(r"C:\Users\eXmendiC\Desktop\Zero kara Hajimeru Mahou no Sho - 06 (MX).ts.d2v").resize.Bicubic(1920,1080)
- c0 = fvf.JIVTC(src1, 0, draft=False, thr=15)
- c1 = fvf.JIVTC(src1, 1, draft=False, thr=15)
- c2 = fvf.JIVTC(src1, 2, draft=False, thr=15)
- c3 = fvf.JIVTC(src1, 3, draft=False, thr=15)
- c4 = fvf.JIVTC(src1, 4, draft=False, thr=15)
- #last = cY.std.Trim(X,X)+cY.std.Trim(X,X)+cY.std.Trim(X,X)+cY.std.Trim(X,X)
- ##X = the trims and Y = pattern (0,1,2,3,4)
- ###Step 2: Determine the pattern for the four parts (Intro+OP,PartA,PartB+ED,Preview/Endcard)
- c0.set_output()
- ##Start with c0 and raise the number as long as you see no interlace anymore. Keep in mind that even c0 is a possible pattern.
- ##For making sure you still can try out the other patters (when you think c2 is right for example).
- ##Note down the frames when previewing the video with the pattern. It has to be 23.976fps and not 29.970fps.
- ##Example: last = c3.std.Trim(941,4633)+c3.std.Trim(6312,19811)+c3.std.Trim(21250,37865)+c3.std.Trim(39305,39542)
- ##If you finished that, comment the "cY.set_output()" line and uncomment the "last" line.
- ###Step 3: Load the second source and uncomment the four lines beneath.
- ###Optional, only if you want to splice the TV audio into a web source.
- ##Change the trims in last= above to match them with the second source here.
- #src2 = core.lsmas.LWLibavSource(r"C:\Users\eXmendiC\Desktop\zero06lossless.mkv").resize.Bicubic(1920,1080)
- #fix = src2.std.Trim(24,34070) ##Optional if your source has more blackframes than the other source
- #output = core.std.StackHorizontal([last,fix]) ##Use src2 instead of fix if you have no trims
- #output.set_output()
- ###Step 4: Copy your last= trims into the trimsJIVTC.avs
- ##You also have to remove the last and .std. and add a second +
- ##Example: c4.trim(732,4326)++c3.trim(6006,16985)++c0.trim(18426,39930)
- ##Tthe JIVTC trim only works with Avisynth (so you have to change the syntax).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement