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.

Waifu2x Resulting in crash
#5
If the preview already doesn't work it would have been nice to have a debug output of the preview,...

Vapoursynth script used during encoding seems fine:
# Imports
import vapoursynth as vs
core = vs.get_core()
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/vsfilters/ResizeFilter/Waifu2x/Waifu2x-w2xc.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/vsfilters/Support/fmtconv.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# Loading X:\!!!temp\[HorribleSubs] Kiznaiver - 10 [1080p].mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="X:/!!!temp/_3E47R~N.MKV", format="YUV420P8", cache=0)
# making sure input color matrix is set as 709
clip = core.resize.Point(clip, matrix_in_s="709")
# Making sure input color range is set to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# resizing to 2888x1626
# adjusting bit depth to 32bit
clip = core.fmtc.bitdepth(clip=clip,bits=32)
# resizing using Waifu2x
clip = core.w2xc.Waifu2x(clip=clip, scale=2, noise=1, block=512, photo=True, processor=-1, gpu=1)
# adjusting resizing
clip = core.fmtc.resample(clip=clip, w=2888, h=1626, kernel="lanczos", interlaced=False, interlacedd=False)
# adjusting bit depth back to 16bit
clip = core.fmtc.bitdepth(clip=clip,bits=16)
# adjusting output color from: YUV420P16 to YUV420P8 for x264Model (i420)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8)
# Output
clip.set_output()
and the encoding call:
"C:\PROGRA~1\Hybrid\VAPOUR~1\vspipe.exe" "C:\Users\mmokk\AppData\Local\Temp\encodingTempSynthSkript_15_06_18_3210.vpy" - --y4m | "C:\PROGRA~1\Hybrid\x264.exe" --qp 18 --profile high --direct auto --partitions i4x4,p8x8,b8x8 --no-fast-pskip --subme 5 --trellis 0 --weightp 1 --sar 1:1 --non-deterministic --range tv --colormatrix bt709 --demuxer y4m  --fps 2381000/100000 --output "C:\Users\mmokk\AppData\Local\Temp\15_06_18_3210_04.264" -
also looks fine.
Still there seems to be a problem with the color space, since x264 crashes due to:
y4m [error]: bad sequence header magic

-> can't reproduce this here, need a small sample of the source that you are using to reproduce this here.

Cu Selur
Reply


Messages In This Thread
Waifu2x Resulting in crash - by mmokkp - 10.12.2017, 02:07
RE: Waifu2x Resulting in crash - by Selur - 10.12.2017, 09:15
RE: Waifu2x Resulting in crash - by Selur - 10.12.2017, 09:40
RE: Waifu2x Resulting in crash - by mmokkp - 10.12.2017, 16:19
RE: Waifu2x Resulting in crash - by Selur - 10.12.2017, 16:42
RE: Waifu2x Resulting in crash - by Selur - 10.12.2017, 17:54
RE: Waifu2x Resulting in crash - by mmokkp - 10.12.2017, 19:05
RE: Waifu2x Resulting in crash - by Selur - 10.12.2017, 19:16

Forum Jump:


Users browsing this thread: 1 Guest(s)