(21.06.2020, 07:34)Selur Wrote: [ -> ]Happy you have a use for Hybrid, even when the mac version hasn't got any code changes and updates for 2+ years.
Cu Selur
I don't need changes, although,
docker is becoming very popular. there are ways to make a thin docker container with a thin install of windows (maximum compatibility with vapoursynth and avisynth) could also be made with a thin linux os.
then the docker apps could be loaded on any system (basically a sandboxed application)
I talk as if I know how to do this stuff but I don’t.. or else I would make one.
so interesting issue. when I run qtgmc on vapoursynth with medium setting it works.
when I drop the setting in qtgmc from medium to slow, slower, or very slow, placebo, or custom. that's when I get a crash because the byte size is too small error,
this is my script for medium which works, will try slow script as comparison.
Code:
# Imports
import os
import sys
import vapoursynth as vs
core = vs.get_core()
# Import scripts folder
scriptPath = '/Applications/Hybrid.app/Contents/MacOS/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Import scripts
import havsfunc
# Loading /Volumes/Volume 2/Five Mile Creek/title_t00.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="/Volumes/Volume 2/Five Mile Creek/title_t00.mkv", format="YUV420P8", cache=0)
# making sure input color matrix is set as unspec
clip = core.resize.Point(clip, matrix_in_s="unspec",range_s="limited")
# making sure frame rate is set to 30000/1001
clip = core.std.AssumeFPS(clip, fpsnum=30000, fpsden=1001)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# setting field order to what QTGMC should assume
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=2)
# Deinterlacing using QTGMC
clip = havsfunc.QTGMC(Input=clip, Preset="Medium", TFF=True)
# Output
clip.set_output()
my very slow script
Code:
# Imports
import os
import sys
import vapoursynth as vs
core = vs.get_core()
# Import scripts folder
scriptPath = '/Applications/Hybrid.app/Contents/MacOS/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Import scripts
import havsfunc
# Loading /Volumes/Volume 2/Five Mile Creek/title_t00.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="/Volumes/Volume 2/Five Mile Creek/title_t00.mkv", format="YUV420P8", cache=0)
# making sure input color matrix is set as unspec
clip = core.resize.Point(clip, matrix_in_s="unspec",range_s="limited")
# making sure frame rate is set to 30000/1001
clip = core.std.AssumeFPS(clip, fpsnum=30000, fpsden=1001)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# with preset 'Very Slow' and 'Placebo' QTGMC is limited to 8bit YUV/GRAY only due to FF3dFilter
# setting field order to what QTGMC should assume
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=2)
# Deinterlacing using QTGMC
clip = havsfunc.QTGMC(Input=clip, Preset="Very Slow", TFF=True)
# Output
clip.set_output()