Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
25th March 2019, 01:47 | #21 | Link | ||
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Quote:
Quote:
But maybe this can help: https://github.com/darealshinji/vapo...o_alpha.py#L33 https://github.com/darealshinji/vapo...edarken.py#L19
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
||
25th March 2019, 03:15 | #22 | Link | |
Registered User
Join Date: Jan 2016
Posts: 162
|
Quote:
Code:
Code1: s_str = 1.2 s_reverse = s_str + 0.25 s_divisor = 1.5 s_indexR = 1.281 sstring = f"x 128 - abs {s_divisor} / {1 / s_indexR} pow {s_str} * x 128 - dup abs 0.001 + / * x 128 - 2 pow dup {s_reverse} + / * 128 +" last = core.std.Expr(last, sstring if last.format.color_family == vs.GRAY else [sstring, ""]) code 2: sstring = "x 128 - abs y 128 - abs < x y ?" last = core.std.Expr([clip1, clip2], sstring if clip1.format.color_family == vs.GRAY else [sstring, ""]) code 3: sstring = "x y = 0 255 ?" last = core.std.Expr([clip1, clip2], sstring if clip1.format.color_family == vs.GRAY else [sstring, ""]) |
|
26th March 2019, 12:42 | #23 | Link | ||
Registered User
Join Date: Jul 2012
Location: Nottingham
Posts: 44
|
Quote:
Quote:
|
||
Thread Tools | Search this Thread |
Display Modes | |
|
|