10.12.2017, 16:42
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:
and the encoding call:
also looks fine.
Still there seems to be a problem with the color space, since x264 crashes due to:
-> can't reproduce this here, need a small sample of the source that you are using to reproduce this here.
Cu Selur
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()
"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" -
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