22.09.2020, 20:19
Hello, question:
If I want to add the following import and filter commands to VapourSynth script in Hybrid, how do I do this?
import vapoursynth as vs
core = vs.get_core()
import fvsfunc as fvf
import kagefunc as kgf
import fag3kdb as Fag3kdb
core.max_cache_size = 8192
##############################################
clip = core.lsmas.LWLibavSource(r"G:\SOURCE PATH AND FILE NAME.mkv")
clip = core.fmtc.bitdepth(clip, bits=16)
RESCALE = fvf.DescaleAA(clip, 1600, 900, kernel='bicubic', b=0, c=0.5, thr=7, expand=9)
DENOISE = core.fft3dfilter.FFT3DFilter(RESCALE)
DEBAND = core.f3kdb.Deband(DENOISE, range=12, y=60, cb=40, cr=40, grainy=0, grainc=0, output_depth=16)
GRAIN = kgf.adaptive_grain(DEBAND, strength=0.10, static=True, show_mask=False)
clip = core.fmtc.bitdepth(GRAIN, bits=10)
##############################################
clip.set_output()
*** I tried adding them in Custom "Before END" and it does not seem to work. Can you perhaps guide me?
**** Also, where do I copy new *.vs script files for Vapoursynth, such as kagefunc.py? Again I tried and it did not seem to work. Guidance please...?
Thank you - Garo
If I want to add the following import and filter commands to VapourSynth script in Hybrid, how do I do this?
import vapoursynth as vs
core = vs.get_core()
import fvsfunc as fvf
import kagefunc as kgf
import fag3kdb as Fag3kdb
core.max_cache_size = 8192
##############################################
clip = core.lsmas.LWLibavSource(r"G:\SOURCE PATH AND FILE NAME.mkv")
clip = core.fmtc.bitdepth(clip, bits=16)
RESCALE = fvf.DescaleAA(clip, 1600, 900, kernel='bicubic', b=0, c=0.5, thr=7, expand=9)
DENOISE = core.fft3dfilter.FFT3DFilter(RESCALE)
DEBAND = core.f3kdb.Deband(DENOISE, range=12, y=60, cb=40, cr=40, grainy=0, grainc=0, output_depth=16)
GRAIN = kgf.adaptive_grain(DEBAND, strength=0.10, static=True, show_mask=False)
clip = core.fmtc.bitdepth(GRAIN, bits=10)
##############################################
clip.set_output()
*** I tried adding them in Custom "Before END" and it does not seem to work. Can you perhaps guide me?
**** Also, where do I copy new *.vs script files for Vapoursynth, such as kagefunc.py? Again I tried and it did not seem to work. Guidance please...?
Thank you - Garo