29.08.2020, 23:09
Guess i start to understand why Rec2020 in ColorMatrix looks oversaturated instead of undersaturated. VS ColorMatrix just works not same as color space free transform tool in Davinci Resolve. And probably it should be like this.
Quote:Proper name ycgco YCgCoI now,.. -> https://forum.selur.net/showthread.php?t...13#pid8813
Quote:Maybe it make sense to update x264 default preset to use Constant Rate factor (similar to x265 default preset)?Nope, won't change the defaults.
Quote:sekrit-twc commented 15 hours ago: "What about with cpu=0?"Since I don't have the artifacts I can't help there.
# Imports
import vapoursynth as vs
core = vs.get_core()
# Loading Plugins
core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/ColorFilter/TimeCube/vscube.dll")
core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/SourceFilter/FFMS2/ffms2.dll")
# loading source: F:\TestClips&Co\files\test.avi
# color sampling YUV420P8@8, matrix:470bg, scantyp: progressive
# luminance scale TV
# resolution: 640x352
# frame rate: 25 fps
# input color space: YUV420P8, bit depth: 8, resolution: 640x352, fps: 25
# Loading source using FFMS2
clip = core.ffms2.Source(source="F:/TestClips&Co/files/test.avi",cachefile="E:/Temp/avi_078c37f69bb356e7b5fa040c71584c40_853323747.ffindex",format=vs.YUV420P8,alpha=False)
# making sure input color matrix is set as 470bg
clip = core.resize.Point(clip, matrix_in_s="470bg",range_s="limited")
# making sure frame rate is set to 25
clip = core.std.AssumeFPS(clip, fpsnum=25, fpsden=1)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# adjusting color space from YUV420P8 to RGB24 for vscube
clip = core.resize.Bicubic(clip=clip, format=vs.RGB24, matrix_in_s="470bg", range_s="limited")
# color adjustment using TimeCube
clip = core.timecube.Cube(clip=clip, cube="I:/Hybrid/64bit/vsfilters/ColorFilter/TimeCube/PQ_to_BT709_slope.cube")
# adjusting output color from: RGB24 to YUV420P8 for x264Model (i420)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, matrix_s="470bg", range_s="limited")
# Output
clip.set_output()
clip = core.timecube.Cube(clip=clip, cube="I:/Hybrid/64bit/vsfilters/ColorFilter/TimeCube/PQ_to_BT709_slope.cube")
clip = core.timecube.Cube(clip=clip, cube="I:/Hybrid/64bit/vsfilters/ColorFilter/TimeCube/PQ_to_BT709_slope.cube",cpu=0)
-> 2020-08-30@16_31_51_3710_04_video crashed: ERROR: /Volumes/temp/Hybrid Temp/test clip-hybrid_2020-08-30@16_31_51_3710_04.265 was not created!
Aborting '2020-08-30@16_31_51_3710_04_video' due to: ERROR: /Volumes/temp/Hybrid Temp/test clip-hybrid_2020-08-30@16_31_51_3710_04.265 was not created!
-> 2020-08-30@16_31_59_3710_01_video crashed: ERROR: /Volumes/temp/Hybrid Temp/test clip-hybrid_2020-08-30@16_31_59_3710_01.265 was not created!
Aborting '2020-08-30@16_31_59_3710_01_video' due to: ERROR: /Volumes/temp/Hybrid Temp/test clip-hybrid_2020-08-30@16_31_59_3710_01.265 was not created!