-
Notifications
You must be signed in to change notification settings - Fork 0
/
interpolation.avs
31 lines (31 loc) · 1.65 KB
/
interpolation.avs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
SetFilterMTMode("DEFAULT_MT_MODE", MT_NICE_FILTER)
SetFilterMTMode("LSMASHVideoSource", MT_SERIALIZED)
SetFilterMTMode("LSMASHAudioSource", MT_SERIALIZED)
SetFilterMTMode("LWLibavVideoSource", MT_SERIALIZED)
SetFilterMTMode("LWLibavAudioSource", MT_SERIALIZED)
SetFilterMTMode("FFVideoSource", MT_SERIALIZED)
SetFilterMTMode("FFAudioSource", MT_SERIALIZED)
SetFilterMTMode("FFIndex", MT_SERIALIZED)
SetFilterMTMode("AVCSource", MT_SERIALIZED)
SetFilterMTMode("MPEG2Source", MT_SERIALIZED)
SetFilterMTMode("DirectShowSource", MT_SERIALIZED)
SetFilterMTMode("MSuper", MT_MULTI_INSTANCE)
SetFilterMTMode("MAnalyse", MT_MULTI_INSTANCE)
SetFilterMTMode("MRecalculate", MT_MULTI_INSTANCE)
SetFilterMTMode("MBlockFps", MT_MULTI_INSTANCE)
V = LSMASHVideoSource("C:\Source.mp4")
A = LSMASHAudioSource("C:\Source.mp4")
AudioDub(V, A)
ConvertToYV12(interlaced = true)
# Spline36Resize(3840, 2160)
# AssumeFPS(30000, 1001)
# AssumeTFF()
# AssumeBFF()
super = MSuper(hpad = 0, vpad = 0, pel = 1, levels = 0, chroma = true, sharp = 1, rfilter = 2)
backward_1 = MAnalyse(super, blksize = 8, blksizev = 8, levels = 0, search = 3, searchparam = 2, isb = true, chroma = false, plevel = 2, badrange = (-24))
forward_1 = MAnalyse(super, blksize = 8, blksizev = 8, levels = 0, search = 3, searchparam = 2, isb = false, chroma = false, plevel = 2, badrange = (-24))
backward_2 = MRecalculate(super, backward_1, blksize = 4, blksizev = 4, search = 3, searchparam = 1, chroma = false)
forward_2 = MRecalculate(super, forward_1, blksize = 4, blksizev = 4, search = 3, searchparam = 1, chroma = false)
MBlockFps(super, backward_2, forward_2, num = 60000, den = 1001, mode = 2, blend = true)
Prefetch(6)
Return Last