This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[GUIDE] VapourSynth + QTGMC Deinterlace + Hybrid UI FAQ for macOS
#39
(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. Smile

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.
# 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
# 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()
Reply


Messages In This Thread
RE: VapourSynth + QTGMC Deinterlace + Hybrid UI FAQ for macOS - by Adamcarter - 21.06.2020, 08:24

Forum Jump:


Users browsing this thread: 2 Guest(s)