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.

Crashed with exit status 0 immediately after adding new job
#3
Vapoursynth script used:
# Imports
import os
import sys
import vapoursynth as vs
# getting Vapoursynth core
core = vs.core
# Import scripts folder
scriptPath = 'C:/Program Files/Hybrid/64bit/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/FrameFilter/Interframe/svpflow2_vs64.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/FrameFilter/Interframe/svpflow1_vs64.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# Import scripts
import havsfunc
# source: 'C:\Users\User\Videos\sus.mp4'
# current color space: YUV420P8, bit depth: 8, resolution: 480x480, fps: 30, color matrix: 470bg, yuv luminance scale: limited, scanorder: progressive
# Loading C:\Users\User\Videos\sus.mp4 using LWLibavSource
clip = core.lsmas.LWLibavSource(source="C:/Users/User/Videos/sus.mp4", format="YUV420P8", cache=0, fpsnum=30, prefer_hw=0)
# 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 30
clip = core.std.AssumeFPS(clip=clip, fpsnum=30, fpsden=1)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# adjusting frame count with Interframe/SVP
clip = havsfunc.InterFrame(clip, Tuning="smooth", NewNum=60, NewDen=1) # new fps: 60
# set output frame rate to 60.000fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=60, fpsden=1)
# Output
clip.set_output()
looks fine.
But Encoding call:
"C:\Program Files\Hybrid\64bit\Vapoursynth\vspipe.exe" "C:\Users\User\AppData\Local\Temp\encodingTempSynthSkript_2021-09-23@20_16_42_0510.vpy" - --y4m | "C:\Program Files\Hybrid\64bit\x264.exe" --preset veryfast --pass 1 --bitrate 1000 --profile high --level 5.2 --direct auto --b-adapt 0 --sync-lookahead 6 --qcomp 0.50 --rc-lookahead 40 --qpmax 51 --aq-mode 0 --sar 1:1 --non-deterministic --range tv --stats "C:\Users\User\AppData\Local\Temp\sus60fps_2021-09-23@20_16_42_0510_02.stats" --demuxer y4m  --input-range tv --fps 60/1 --output-depth 8 --output NUL -
crashes with: "y4m [error]: bad sequence header magic" which indicates a processing problem of the Vapoursynth script.

About the crash:
a. update your graohic card drivers.
b. do not install multiple Vapoursynth versions on a system.
c. check the Vapoursynth Preview.
Reencoding with the above script works fine here.
Probably a driver issue between your graphic drivers and SVP.

Quote:It kept giving me the following message, which I didn't know what to do about.
Happens if your use 2pass encoding and with your bitrate and frame count the output size is < 1MB. Hybrid does not calculate file sizes below 1MB. Only way around it is either using higher bit rate, a encoding mode that does not use file sizes / bit rates or a longer source.

Cu Selur
Reply


Messages In This Thread
RE: Crashed with exit status 0 immediately after adding new job - by Selur - 24.09.2021, 05:28

Forum Jump:


Users browsing this thread: 1 Guest(s)