10.10.2020, 14:17
Deinterlace->VIVTVC (Vapoursynth) -> VFM -> TDeintMod ERROR:
Deinterlace->VIVTVC (Vapoursynth) -> Misc -> TDeintMod ERROR:
---------------
mClean Error
---------------------
Some strange conflict with Waifu2xNvk/Waifu2x and TimeCube:
Waifu2xNvk outputs RGB24 if i add TimeCube after it:
If i turn off TimeCube, script use RGBS output as expected.
---------------------
LEVELS and Limiter:
Current settings in Levels is total confusion.
Force RGB with "Planes: 0 and 1,2" makes no sense, because it adjusts R and G,B channels.
"do nothing" makes no sense, because all channels YUV is just incorrect mode for this filter and it only produce green/purple artifacts.
It should be just always RGB or selection between two modes:
- RGB input and Planes: all
- YUV input and Planes: luma only
Here Cary Knoop reported that "You mess up your colors by modifying Y'. If you want to do what I suspect you want to do you should use something like L*a*b* but Vapoursynth does not support this color model." https://forum.doom9.org/showthread.php?p...ost1923885
To be honest i can't understand his point. L*a*b* is different color model and Davinci resolve can use it optionally, but Y gamma is not the same as L gamma in L*a*b* in davinci resolve.
There is YRGB color correction concept used in DaVinci Resolve and some other color grading apps:
Levels in/out min/max also works correctly only with RGB input and Planes: all.
I tested 10 bit source video (clip=clip, min_in=64, max_in=940, min_out=64, max_out=940, gamma=0.20) and it is equal to Gamma -1.00 in DaVinci Resolve.
VapourSynth Levels filter works similar to any Levels color correction tool in any graphic editor. Here is how Levels filter looks in Photoshop:
---------------------
Limiter filter also produce same green/purple artifacts as Levels in YUV mode. So it should be operated in the same way as Levels:
- RGB input and Planes: all
- YUV input and Planes: luma only
---------------------
Sort TimeCube LUTs list by name
---------------------
Please bring back disableicons in misc.ini
Code:
Failed to evaluate the script:
Python exception: positional argument follows keyword argument (tempPreviewVapoursynthFile02_15_28_249.vpy, line 15)
Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 2241, in vapoursynth.vpy_evaluateScript
File "/Volumes/temp/Hybrid Temp/tempPreviewVapoursynthFile02_15_28_249.vpy", line 15
clip2clip = core.tdm.TDeintMod(clip=clip2clip, field=1, core.znedi3.nnedi3(clip=clip, field=1))
^
SyntaxError: positional argument follows keyword argument
Deinterlace->VIVTVC (Vapoursynth) -> Misc -> TDeintMod ERROR:
Code:
Failed to evaluate the script:
Python exception: name 'clip1core' is not defined
Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 2244, in vapoursynth.vpy_evaluateScript
File "src/cython/vapoursynth.pyx", line 2245, in vapoursynth.vpy_evaluateScript
File "/Volumes/temp/Hybrid Temp/tempPreviewVapoursynthFile02_17_43_560.vpy", line 24, in <module>
clipDeint = core.tdm.TDeintMod(clip=clip1core.nnedi3cl.NNEDI3CL(clip=clip, field=1))
NameError: name 'clip1core' is not defined
---------------
mClean Error
Code:
Python exception: There is no function named Median
Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 2244, in vapoursynth.vpy_evaluateScript
File "src/cython/vapoursynth.pyx", line 2245, in vapoursynth.vpy_evaluateScript
File "/private/var/folders/ss/y_mbrf6j0_7cnxvljw_2_wv40000gn/T/tempPreviewVapoursynthFile15_50_34_221.vpy", line 23, in <module>
clip = G41Fun.mClean(clip=clip)
File "/Applications/Hybrid.app/Contents/MacOS/vsscripts/G41Fun.py", line 2517, in mClean
c = core.vcmod.Median(clip, plane=[0, 1, 1]) if chroma else clip
File "src/cython/vapoursynth.pyx", line 1934, in vapoursynth.Plugin.__getattr__
AttributeError: There is no function named Median
---------------------
Some strange conflict with Waifu2xNvk/Waifu2x and TimeCube:
Waifu2xNvk outputs RGB24 if i add TimeCube after it:
Code:
# adjusting color space from YUV422P10 to RGBS for vsw2xnvk
clip = core.resize.Bicubic(clip=clip, format=vs.RGBS, matrix_in_s="709", range_s="limited")
# resizing using Waifu2xNvk
# resizing to 1440x1152
clip = core.w2xnvk.Waifu2x(clip=clip, scale=2, model=0, tile_size=32)
# adjusting color space from RGBS to RGB24 for vscube
clip = core.resize.Bicubic(clip=clip, format=vs.RGB24, range_s="limited")
# color adjustment using TimeCube
clip = core.timecube.Cube(clip=clip, cube="/Applications/Hybrid.app/Contents/MacOS/TimeCubeFiles/identity.cube")
# adjusting output color from: RGB24 to YUV422P10 for ProResModel (i422)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV422P10, matrix_s="709", range_s="limited")
# Output
clip.set_output()
If i turn off TimeCube, script use RGBS output as expected.
Code:
# adjusting color space from YUV422P10 to RGBS for vsw2xnvk
clip = core.resize.Bicubic(clip=clip, format=vs.RGBS, matrix_in_s="709", range_s="limited")
# resizing using Waifu2xNvk
# resizing to 1440x1152
clip = core.w2xnvk.Waifu2x(clip=clip, scale=2, model=0, tile_size=32)
# adjusting output color from: RGBS to YUV422P10 for ProResModel (i422)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV422P10, matrix_s="709", range_s="limited")
# Output
clip.set_output()
---------------------
LEVELS and Limiter:
Current settings in Levels is total confusion.
Force RGB with "Planes: 0 and 1,2" makes no sense, because it adjusts R and G,B channels.
"do nothing" makes no sense, because all channels YUV is just incorrect mode for this filter and it only produce green/purple artifacts.
It should be just always RGB or selection between two modes:
- RGB input and Planes: all
- YUV input and Planes: luma only
Here Cary Knoop reported that "You mess up your colors by modifying Y'. If you want to do what I suspect you want to do you should use something like L*a*b* but Vapoursynth does not support this color model." https://forum.doom9.org/showthread.php?p...ost1923885
To be honest i can't understand his point. L*a*b* is different color model and Davinci resolve can use it optionally, but Y gamma is not the same as L gamma in L*a*b* in davinci resolve.
There is YRGB color correction concept used in DaVinci Resolve and some other color grading apps:
Levels in/out min/max also works correctly only with RGB input and Planes: all.
I tested 10 bit source video (clip=clip, min_in=64, max_in=940, min_out=64, max_out=940, gamma=0.20) and it is equal to Gamma -1.00 in DaVinci Resolve.
VapourSynth Levels filter works similar to any Levels color correction tool in any graphic editor. Here is how Levels filter looks in Photoshop:
Code:
clip = core.resize.Bicubic(clip=clip, format=vs.RGB30, matrix_in_s="470bg", range_s="limited")
# Color Adjustment
clip = core.std.Levels(clip=clip, min_in=64, max_in=940, min_out=64, max_out=940, gamma=1.1)
Code:
clip = core.resize.Bicubic(clip=clip, format=vs.YUV422P10, matrix_in_s="470bg", range_s="limited")
# Color Adjustment
clip = core.std.Levels(clip=clip, min_in=64, max_in=940, min_out=64, max_out=940, gamma=1.1, planes=[0])
---------------------
Limiter filter also produce same green/purple artifacts as Levels in YUV mode. So it should be operated in the same way as Levels:
- RGB input and Planes: all
- YUV input and Planes: luma only
---------------------
Sort TimeCube LUTs list by name
---------------------
Please bring back disableicons in misc.ini