Selur's Little Message Board
Hybrid Crashed! When it wants to start encoding. - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: Hybrid Crashed! When it wants to start encoding. (/thread-1281.html)

Pages: 1 2


Hybrid Crashed! When it wants to start encoding. - Persian - 19.03.2020

What's the problem with Hybrid?
It gives this error when trying to get start encoding.
Aborting '13_03_06_4510_07_video' due to: ERROR: C:\Users\Masumah\AppData\Local\Temp\13_03_06_4510_07.265 was not created!



RE: Hybrid Crashed! When it wants to start encoding. - Selur - 19.03.2020

might be an issue with rskip (x265 changed the syntax and I missed it Wink)
-> will send you a link to my current dev version for testing (you need to recreate the job)

Cu Selur


RE: Hybrid Crashed! When it wants to start encoding. - Persian - 20.03.2020

(19.03.2020, 15:27)Selur Wrote: might be an issue with rskip (x265 changed the syntax and I missed it Wink)
-> will send you a link to my current dev version for testing (you need to recreate the job)

Cu Selur


There is still a problem.



RE: Hybrid Crashed! When it wants to start encoding. - Selur - 20.03.2020

Okay.
Avisynth script looks fine:
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\LoadDll.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\AddGrainC.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\dfttest.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\EEDI2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\eedi3.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\FFT3DFilter.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\masktools2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\mvtools2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\nnedi.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\nnedi2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\SSE2Tools.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\TDeint.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\VerticalCleanerSSE2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\PlanarTools.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\MedianBlur2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\nnedi3.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\RgTools.dll")
LoadCPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\yadif.dll")
LoadDLL("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\libfftw3f-3.dll")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\QTGMC.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\SMDegrain.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\AnimeIVTC.avsi")
LoadCPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\ffms2.dll")
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
# loading source: E:\VIP.10.26.16.10.mkv
#  input color sampling YV12
#  input luminance scale tv
FFVideoSource("E:\VIP.10.26.16.10.mkv",cachefile="C:\Users\Masumah\AppData\Local\Temp\11_19_39_4110.ffindex",colorspace="YV12")
# current resolution: 720x576
# deinterlacing
AssumeTFF()
QTGMC(Preset="Fast", ediThreads=2)
SelectEven()
# cropping to 684x550
Crop(10,16,-26,-10)
# current resolution: 684x550
# filtering
# adjusting bit depth current 8 to target 10
# convert to 10bit for encoder
ConvertBits(10)
PreFetch(4)
assuming the Avisynth Preview works fine, what happens if you call:
"C:/PROGRA~1/Hybrid\32bit\ffmpeg.exe" -y -loglevel fatal -noautorotate -nostdin -threads 8 -i "C:\Users\Masumah\AppData\Local\Temp\encodingTempSynthSkript_11_18_50_0210.avs" -an -sn -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p10le -strict -1 -vsync 0  -f yuv4mpegpipe - | "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 --no-opt-cu-delta-qp --tu-intra-depth 1 --tu-inter-depth 1 --limit-tu 0 --max-tu-size 32 --no-hme --me star --subme 3 --merange 57 --no-analyze-src-pics --limit-modes --rect --no-amp --max-merge 3 --no-early-skip --rskip 0 --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 --radl 0 --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 --qpstep 4 --qpmin 0 --qpmax 69 --qblur 0.50 --cplxblur 20.0 --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\Masumah\AppData\Local\Temp\VIP.10.26.16.10_new_11_18_50_0210_03.qp" --limit-refs 3 --rd 4 --no-fast-intra --no-ssim-rd --no-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 --cutree --no-cu-lossless --no-const-vbv --vbv-maxrate 0 --vbv-bufsize 0 --vbv-init 0.9 --vbv-end 0.000 --no-hrd --no-aud --info --no-idr-recovery-sei --deblock=0:0 --no-sao --selective-sao 0 --no-repeat-headers --no-temporal-layers --log2-max-poc-lsb 8 --no-fades --no-psnr --no-ssim --no-interlace --range limited --no-single-sei --no-hdr10 --output "C:\Users\Masumah\AppData\Local\Temp\11_18_50_0210_04.265"
inside a Windows Command Prompt? (My guess is some other parameter changed in x265 and I simply do not have the problem here since I usually keep 'minimize command line' activated.)

Cu Selur


RE: Hybrid Crashed! When it wants to start encoding. - Persian - 21.03.2020

x265 [error]: unable to open input file <->

I got this error!


RE: Hybrid Crashed! When it wants to start encoding. - Selur - 21.03.2020

Okay, that sounds like the Avisynth script is the issue.
->
1. Does the Avisynth Preview work fine?
2. What happens if you call:
"C:/PROGRA~1/Hybrid\32bit\ffmpeg.exe" -y -noautorotate -nostdin -threads 8 -i "C:\Users\Masumah\AppData\Local\Temp\encodingTempSynthSkript_11_18_50_0210.avs" -an -sn -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p10le -strict -1 -vsync 0  -f yuv4mpegpipe NUL



RE: Hybrid Crashed! When it wants to start encoding. - Persian - 21.03.2020

Preview work fine.

Microsoft Windows [Version 10.0.18363.720]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\Masumah>"C:/PROGRA~1/Hybrid\32bit\ffmpeg.exe" -y -noautorotate -nostdin -threads 8 -i "C:\Users\Masumah\AppData\Local\Temp\encodingTempSynthSkript_11_18_50_0210.avs" -an -sn -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p10le -strict -1 -vsync 0  -f yuv4mpegpipe NUL
ffmpeg version N-97001-g52efa3557a-g1e3d4fa0fb+2 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9.3.0 (Rev1, Built by MSYS2 project)
  configuration:  --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --disable-debug --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwavpack --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libaom --enable-libopenmpt --enable-version3 --enable-libkvazaar --enable-libxavs --enable-libzmq --enable-vapoursynth --enable-librav1e --enable-mbedtls --extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++ --extra-cflags=-DZMQ_STATIC --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --extra-cflags=-DKVZ_STATIC_LIB
  libavutil      56. 42.100 / 56. 42.100
  libavcodec     58. 76.100 / 58. 76.100
  libavformat    58. 42.100 / 58. 42.100
  libavdevice    58.  9.103 / 58.  9.103
  libavfilter     7. 77.100 /  7. 77.100
  libswscale      5.  6.101 /  5.  6.101
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
[avisynth @ 00d7cc00] Cannot load file 'C:/PROGRA~1/Hybrid/32bit/AVISYN~1/eedi3.dll'. Platform returned code 126:
The specified module could not be found.

(C:\Users\Masumah\AppData\Local\Temp\encodingTempSynthSkript_11_18_50_0210.avs, line 5)
C:\Users\Masumah\AppData\Local\Temp\encodingTempSynthSkript_11_18_50_0210.avs: Unknown error occurred

C:\Users\Masumah>



RE: Hybrid Crashed! When it wants to start encoding. - Selur - 21.03.2020

Okay, that is confusing.
[avisynth @ 00d7cc00] Cannot load file 'C:/PROGRA~1/Hybrid/32bit/AVISYN~1/eedi3.dll'. Platform returned code 126:
indicates that 'LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\eedi3.dll")' doesn't work since the file isn't present, but since the file is also used during preview the file must be present, so something is interfering during the decoding.
-> try disabling your anti virus and/or firewall, my guess is that some tool that is running int the background is interfering with the access to the file.

Cu Selur


RE: Hybrid Crashed! When it wants to start encoding. - Persian - 21.03.2020

The antivirus was disabled.


RE: Hybrid Crashed! When it wants to start encoding. - Selur - 21.03.2020

Then I have no clue what tool could interfere with the access to the file.
Especially since loading the first three filters does seem to work.
Since I can't reproduce this here I guess this is something on our system. :/

Cu Selur