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.

[HELP] Error when using RIFE with scene detection
#1
Hello, I get "Crashed with exit status 0" error when using RIFE with scene detection enabled.
Reply
#2
'y4m [error]: bad sequence header magic' in the log file indicates that it's an issue with the Vapoursynth script.
Looking at the script:
# Imports
import vapoursynth as vs
# getting Vapoursynth core
core = vs.core
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/FrameFilter/RIFE/RIFE.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# source: 'C:\Users\Desktop\Videos\Title T08-1.mkv'
# current color space: YUV420P8, bit depth: 8, resolution: 1920x1080, fps: 23.976, color matrix: 709, yuv luminance scale: limited, scanorder: progressive
# Loading C:\Users\Desktop\Videos\Title T08-1.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="C:/Users/Desktop/Videos/Title T08-1.mkv", format="YUV420P8", cache=0, fpsnum=24000, fpsden=1001, prefer_hw=0)
# making sure input color matrix is set as 709
clip = core.resize.Bicubic(clip, matrix_in_s="709",range_s="limited")
# making sure frame rate is set to 23.976
clip = core.std.AssumeFPS(clip=clip, fpsnum=24000, fpsden=1001)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
clip = core.misc.SCDetect(clip=clip,threshold=0.150)
# adjusting color space from YUV420P8 to RGBS for vsRIFE
clip = core.resize.Bicubic(clip=clip, format=vs.RGBS, matrix_in_s="709", range_s="limited")
# adjusting frame count&rate with RIFE
clip = core.rife.RIFE(clip, sc=True, fp32=True) # new fps: 47.952
# adjusting output color from: RGBS to YUV420P8 for x264Model
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, matrix_s="709", range_s="limited")
# set output frame rate to 47.952fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=48000, fpsden=1001)
# Output
clip.set_output()
I think I see the issue. 'misc' is used, but the required dll isn't imported. :/
Side note:
Seeing the options you chose: "RIFE(clip, sc=True, fp32=True)" I wonder how much RAM your video card has and whether the Vapoursynth Preview works.
(fp32 option was removed in the latest version of RIFE)

as a workaround you can add a custom section and simply write:
core.std.LoadPlugin(path="%FILTERPATH%/MiscFilter/MiscFilters/MiscFilters.dll")
into it.

-> will fix and send you a link to new dev version for testing via pm in ~1hr. Smile


Cu Selur
Reply
#3
Send you a link to a dev version which should fix the issue via pm.

Cu Selur
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)