Selur's Little Message Board

Full Version: SMDeGrain Crash
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When using DeGrain, Hybrid can not encode the movie and an error appear.
Debug file is attached.
No DebugOutput attached, no info,... read the sticky of the subforum about 'Infos needed to fix&reproduce bugs,..'.

Cu Selur
go ahead.
Vapoursynth script:
Code:
# Imports
import os
import sys
import vapoursynth as vs
core = vs.get_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/Support/libmvtools.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# Import scripts
import nnedi3_resample
import mvsfunc
import havsfunc
# Loading C:\Users\Batman\Desktop\test.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="C:/Users/Batman/Desktop/test.mkv", format="YUV420P8", cache=0)
# making sure input color matrix is set as unspec
clip = core.resize.Point(clip, matrix_in_s="unspec",range_s="limited")
# making sure frame rate is set to 234943800/100000
clip = core.std.AssumeFPS(clip, fpsnum=1174719, fpsden=500)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# removing grain using SMDegrain
clip = havsfunc.SMDegrain(input=clip, interlaced=False)
# adjusting output color from: YUV420P8 to YUV420P10 for x265Model (i420)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P10, range_s="limited")
# Output
clip.set_output()
itself looks fine, en encoding call looks fine on first glance too:
Code:
"C:\PROGRA~1\Hybrid\64bit\VAPOUR~1\vspipe.exe" "C:\Users\Batman\AppData\Local\Temp\encodingTempSynthSkript_07_30_28_6210.vpy" - --y4m | "C:\PROGRA~1\Hybrid\64bit\x265.exe" --frame-threads 3 --wpp --no-pmode --no-pme --pools 8 --log-level 2 --input - --output-depth 10 --y4m --profile main10 --high-tier --min-cu-size 8 --ctu 64 --qg-size 32 --opt-cu-delta-qp --tu-intra-depth 1 --tu-inter-depth 1 --limit-tu 0 --max-tu-size 32 --me star --subme 3 --merange 57 --limit-modes --rect --no-amp --max-merge 3 --no-early-skip --rskip --temporal-mvp --rdpenalty 0 --no-tskip --strong-intra-smoothing --no-constrained-intra --open-gop --gop-lookahead 0 --no-opt-ref-list-length-pps --keyint 250 --min-keyint 23 --max-ausize-factor 1 --bframes 8 --no-weightb --no-b-intra --bframe-bias 0 --b-adapt 2 --b-pyramid --ref 4 --weightp --rc-lookahead 25 --slices 1 --lookahead-threads 0 --lookahead-slices 4 --scenecut 40 --scenecut-bias 5 --qpstep 4 --qpmin 0 --qpmax 69 --crf 18.00 --no-opt-qp-pps --no-rc-grain --cbqpoffs 0 --crqpoffs 0 --ipratio 1.4 --pbratio 1.3 --nr-intra 0 --nr-inter 0 --qpfile "C:\Users\Batman\AppData\Local\Temp\test_new_07_30_28_6210_02.qp" --limit-refs 3 --rd 4 --no-fast-intra --no-ssim-rd --rd-refine --psy-rd 2.00 --rdoq-level 2 --psy-rdoq 1.00 --signhide --no-splitrd-skip --qcomp 0.60 --qp-adaptation-range 1 --aq-motion --aq-mode 3 --aq-strength 1.00 --cutree --no-cu-lossless --vbv-maxrate 0 --vbv-bufsize 0 --vbv-init 0.9 --no-hrd --no-aud --info --no-idr-recovery-sei --deblock=0:0 --sao --no-sao-non-deblock --no-limit-sao --no-repeat-headers --no-temporal-layers --log2-max-poc-lsb 8 --no-psnr --no-ssim --no-interlace --range limited --no-hdr --output "C:\Users\Batman\AppData\Local\Temp\07_30_28_6210_04.265"

First things I could think of is that happend:
a. x265 removed or changed some parameter without me noticing.
b. there is some problem with the Vapoursynth script (i.e. LSmashSource has problems with the input)
c. short file names are disabled on your file system for unknown reasons.
d. something I can't think of atm. happend. Smile

1. Does the Vapoursynth Preview work, or does it show an error?
2. In case it doesn't show an error, what happens if you call the encoding call inside a Windows command prompt?

Cu Selur