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.

[BUG] SRMD causes crashes
#2
The error, basically sais that the decoder crashed.
Looking ath the vapoursynth script used
# Imports
import os
import sys
import vapoursynth as vs
# getting Vapoursynth core
core = vs.core
# Import scripts folder
scriptPath = '/Applications/Hybrid.app/Contents/MacOS/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Import scripts
import havsfunc
# source: '/Users/jeargumedo/Movies/SamJack43.mov'
# current color space: YUV422P10, bit depth: 10, resolution: 648x486, fps: 29.97, color matrix: 470bg, yuv luminance scale: limited, scanorder: top field first
# Loading /Users/jeargumedo/Movies/SamJack43.mov using LibavSMASHSource
clip = core.lsmas.LibavSMASHSource(source="/Users/jeargumedo/Movies/SamJack43.mov")
# 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 29.97
clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
clip = core.std.AddBorders(clip=clip, left=0, right=0, top=0, bottom=2) # add borders to archive mod 4 (VsQTGMC)
# setting field order to what QTGMC should assume (top field first)
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=2)
# Deinterlacing using QTGMC
clip = havsfunc.QTGMC(Input=clip, Preset="Placebo", TFF=True, opencl=True) # new fps: 29.97
# make sure content is preceived as frame based
clip = core.std.SetFieldBased(clip, 0)
clip = clip[1::2]
clip = core.std.CropRel(clip=clip, left=0, right=0, top=0, bottom=2) # removing borders (VsQTGMC)
clip = core.std.AddBorders(clip=clip, left=0, right=0, top=0, bottom=2) # add borders to archive mod 4 (vsSRMD)
# adjusting color space from YUV422P10 to RGBS for vsSRMD
clip = core.resize.Bicubic(clip=clip, format=vs.RGBS, matrix_in_s="470bg", range_s="limited")
# resizing using srmd
# Zoomfactor: 3
clip = core.srmdnv.SRMD(clip=clip, scale=3, tta=True)
clip = core.std.CropRel(clip=clip, left=0, right=0, top=0, bottom=6) # removing borders (vsSRMD)
# adjusting resizing to hit target resolution
clip = core.fmtc.resample(clip=clip, w=1920, h=1440, kernel="spline64", interlaced=False, interlacedd=False)
# adjusting output color from: RGB48 to YUV422P8 for FFV1Model (i422@10)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV422P8, matrix_s="470bg", range_s="limited")
# set output frame rate to 29.970fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001)
# Output
clip.set_output()
I see no problem. And the script works fine here.
Even if it's terribly slow. (0.4 fps here)
Does the Vapoursynth Preview work fine?
My guess is this is related to the beta and the graphic drivers.

Cu Selur
------
offline 02.-07. July, https://www.rockharz-festival.com/ Big Grin
Reply


Messages In This Thread
SRMD causes crashes - by g0ren - 11.08.2021, 14:24
RE: SRMD causes crashes - by Selur - 11.08.2021, 15:20
RE: SRMD causes crashes - by g0ren - 11.08.2021, 15:36
RE: SRMD causes crashes - by Selur - 11.08.2021, 15:41
RE: SRMD causes crashes - by g0ren - 11.08.2021, 15:52
RE: SRMD causes crashes - by Selur - 11.08.2021, 15:55
RE: SRMD causes crashes - by g0ren - 11.08.2021, 16:12
RE: SRMD causes crashes - by Selur - 11.08.2021, 16:25
RE: SRMD causes crashes - by g0ren - 11.08.2021, 16:33
RE: SRMD causes crashes - by Selur - 11.08.2021, 16:51
RE: SRMD causes crashes - by g0ren - 11.08.2021, 16:55
RE: SRMD causes crashes - by shijan - 17.08.2021, 10:43

Forum Jump:


Users browsing this thread: 3 Guest(s)