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.

using image sequence crashes
#4
I looked at the debug output.
The encoding call:
"C:\PROGRA~1\Hybrid\64bit\VAPOUR~1\vspipe.exe" "C:\Users\deama\AppData\Local\Temp\encodingTempSynthSkript_16_38_44_0310.vpy" - --y4m | "C:\PROGRA~1\Hybrid\64bit\x264.exe" --preset superfast --pass 1 --bitrate 1500 --profile high --level 4.1 --direct auto --b-adapt 0 --qcomp 0.5 --rc-lookahead 40 --aq-mode 0 --sar 1:1 --non-deterministic --range pc --stats "C:\Users\deama\AppData\Local\Temp\sdsd_16_38_44_0310_02.stats" --demuxer y4m --input-csp yuvj420p --fps 1/1 --output-depth 8 --output NUL -

crashed with:
Quote: y4m [error]: bad sequence header magic
which usually happens if there is a problem with the Vapoursynth script.

Looking at the Vapoursynth script:
# Imports import vapoursynth as vs core = vs.get_core() # Loading Plugins core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/Imagemagick/libimwri.dll") # Loading C:\Users\deama\Desktop\files\gutsuru.png using vsImageReader clip = core.imwri.Read(["C:/Users/deama/Desktop/files/gutsuru.png"]) clip = core.std.Loop(clip=clip, times=100) # Input color space is assumed to be RGB24. # making sure frame rate is set to 1/1 clip = core.std.AssumeFPS(clip, fpsnum=1, fpsden=1) # Setting color range to PC (full) range. clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=0) # adjusting output color from: RGB24 to YUV420P8 for x264Model (i420) clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, matrix_s="709", range_s="full") # Output clip.set_output()
The script itself looks fine.

I tried the script (adjusted the paths to use a png and the filters on my machine):
# Imports import vapoursynth as vs core = vs.get_core() # Loading Plugins core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/SourceFilter/Imagemagick/libimwri.dll") # adjusted the filter path to my machine # Loading E:\sequence\ED-360-png\00001.png using vsImageReader clip = core.imwri.Read(["E:/sequence/ED-360-png/00001.png"]) # adjusted to load my file clip = core.std.Loop(clip=clip, times=100) # Input color space is assumed to be RGB24. # making sure frame rate is set to 1/1 clip = core.std.AssumeFPS(clip, fpsnum=1, fpsden=1) # Setting color range to PC (full) range. clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=0) # adjusting output color from: RGB24 to YUV420P8 for x264Model (i420) clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, matrix_s="709", range_s="full") # Output clip.set_output()
and everything worked fine.

-> Does the Vapoursynth Preview work properly?
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Offline between (including) 29th of June and 5th of July => RochHarz Festival
Reply


Messages In This Thread
using image sequence crashes - by deama - 30.10.2019, 16:45
RE: using image sequence crashes - by Selur - 30.10.2019, 18:29
RE: using image sequence crashes - by deama - 30.10.2019, 18:42
RE: using image sequence crashes - by Selur - 30.10.2019, 19:03
RE: using image sequence crashes - by Selur - 30.10.2019, 19:26
RE: using image sequence crashes - by deama - 31.10.2019, 04:50
RE: using image sequence crashes - by Selur - 31.10.2019, 08:38
RE: using image sequence crashes - by deama - 31.10.2019, 10:43
RE: using image sequence crashes - by Selur - 31.10.2019, 10:45
RE: using image sequence crashes - by deama - 31.10.2019, 10:56

Forum Jump:


Users browsing this thread: 1 Guest(s)