29.08.2020, 12:21
Since the pixelation doesn't happen to me on Windows, but it does happen even when using the software renderer in the MacOS VM and the script itself
does look fine to me, my guess is that it either:
a. a problem with the compilation
b. a opencl / opengl problem on MacOS
I do not think that this is anything I can fix in Hybrid.
So either sekrit or it's a problem with the library compilation.
Cu Selur
# Imports
import vapoursynth as vs
core = vs.get_core()
# loading source: /Users/selur/Desktop/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="/Users/selur/Desktop/test.avi",cachefile="/Users/selur/temp/avi_c6b2c493052375dcc56052d30e195c86_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="/Users/selur/workspace/Hybrid/Hybrid.app/Contents/MacOS/TimeCubeFiles/BT709_to_PQ_800.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
a. a problem with the compilation
b. a opencl / opengl problem on MacOS
I do not think that this is anything I can fix in Hybrid.
So either sekrit or it's a problem with the library compilation.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.