Selur's Little Message Board

Full Version: Crashed encoding....
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Merry Christmas and Happy New Year!
Used Avisynth script looks fine:
Code:
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\AutoAdjust.dll")
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
# loading source: M:\BlueStarLive.net\BSL-Rosee.Divine.-.French.Connection.1.avi
#  input color sampling YV12
#  input luminance scale tv
AviSource("M:\BLUEST~1.NET\BSL-RO~1.AVI")
# current resolution: 854x480
# filtering
# color modifications
Levels(0,1.00,255,0,230,dither=true)
AutoAdjust(auto_gain=true,dark_limit=2.30,bright_limit=1.00,gamma_limit=1.00,dark_exclude=0.00,bright_exclude=0.00,gain_mode=1,chroma_process=99,avg_safety=0.55,input_tv=false)
# adjusting bit depth current 8 to target 8
PreFetch(4)
return last
Does the Avisynth Preview work properly?

The encoding call:
Code:
"C:\PROGRA~1\Hybrid\32bit\ffmpeg.exe" -y -loglevel fatal -threads 4 -i "E:\Temp\encodingTempSynthSkript_19_23_24_9110.avs" -an -sn   -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p -vsync 0  -f rawvideo - | "C:\PROGRA~1\Hybrid\64bit\x264.exe" --preset veryslow --crf 16.00 --profile high --level 4.1 --ref 8 --no-fast-pskip --aq-mode 2 --vbv-maxrate 62500 --vbv-bufsize 78125 --sar 1:1 --ssim --non-deterministic --colormatrix bt470bg --demuxer raw --input-res 854x480 --input-csp i420 --input-depth 8 --fps 30000/1001 --output-depth 8 --output "E:\Temp\19_23_24_9110_06.264" -
also looks fine to me and the x264 output doesn't seem to thow an error either.
Hybrid aborts since the output file 'E:\Temp\19_23_24_9110_06.264' is empty.

-> What happens if you call the encoding call inside a Windows command prompt?

Cu Selur
Quote:Does the Avisynth Preview work properly?
Avisynth Preview work properly

Quote:What happens if you call the encoding call inside a Windows command prompt?

C:\WINDOWS\system32>"C:\PROGRA~1\Hybrid\64bit\x264.exe" --preset veryslow --crf 16.00 --profile high --level 4.1 --ref 8 --no-fast-pskip --aq-mode 2 --vbv-maxrate 62500 --vbv-bufsize 78125 --sar 1:1 --ssim --non-deterministic --colormatrix bt470bg --demuxer raw --input-res 854x480 --input-csp i420 --input-depth 8 --fps 30000/1001 --output-depth 8 --output "E:\Temp\17_02_27_5210_06.264" -
raw [info]: 854x480p 1:1 @ 30000/1001 fps (cfr)
x264 [warning]: --ssim used with psy on: results will be invalid!
x264 [warning]: --tune ssim should be used if attempting to benchmark ssim!
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
x264 [info]: profile High, level 4.1, 4:2:0, 8-bit
You only used half of the call,...
"C:\PROGRA~1\Hybrid\32bit\ffmpeg.exe" -y -loglevel fatal -threads 4 -i "E:\Temp\encodingTempSynthSkript_17_02_27_5210.avs" -an -sn -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p -vsync 0 -f rawvideo - | "C:\PROGRA~1\Hybrid\64bit\x264.exe" --preset veryslow --crf 16.00 --profile high --level 4.1 --ref 8 --no-fast-pskip --aq-mode 2 --vbv-maxrate 62500 --vbv-bufsize 78125 --sar 1:1 --ssim --non-deterministic --colormatrix bt470bg --demuxer raw --input-res 854x480 --input-csp i420 --input-depth 8 --fps 30000/1001 --output-depth 8 --output "E:\Temp\17_02_27_5210_06.264" -

Access denied
Quote:Access denied
sounds like something is interfering with ffmpeg, Avisynth or the connection between ffmpeg and x264. :/

What happens if you call:
Code:
"C:\PROGRA~1\Hybrid\32bit\ffmpeg.exe" -y -threads 4 -i "E:\Temp\encodingTempSynthSkript_17_02_27_5210.avs" -an -sn -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p -vsync 0 -f rawvideo nul
?

Cu Selur
C:\WINDOWS\system32>"C:\PROGRA~1\Hybrid\32bit\ffmpeg.exe" -y -threads 4 -i "E:\Temp\encodingTempSynthSkript_17_02_27_5210.avs" -an -sn -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p -vsync 0 -f rawvideo nul
ffmpeg version N-92621-g953bd58861 Copyright © 2000-2018 the FFmpeg developers
built with gcc 7.3.0 (Rev2, 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 --disable-debug --enable-ffnvcodec --enable-nvdec --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --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-version3 --enable-mbedtls --extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++ --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv
libavutil 56. 24.101 / 56. 24.101
libavcodec 58. 41.101 / 58. 41.101
libavformat 58. 23.102 / 58. 23.102
libavdevice 58. 6.101 / 58. 6.101
libavfilter 7. 46.101 / 7. 46.101
libswscale 5. 4.100 / 5. 4.100
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, avisynth, from 'E:\Temp\encodingTempSynthSkript_17_02_27_5210.avs':
Duration: 00:09:00.17, start: 0.000000, bitrate: 0 kb/s
Stream #0:0: Video: rawvideo (Y42B / 0x42323459), yuv422p, 854x480, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
Stream #0:1: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> rawvideo (native))
Press [q] to stop, [?] for help
Okay, so that works too.
-> wild guess is that something (firewall/virus scanner) is interfering with the communication between ffmpeg and x264 which is why you get the access denied. (Or for some reason your user can't access the temp folder)
When I disable firewall andvirus scanner - same result. Why other files are encoded normally?
I have full access this folder - delete, rename files into it.
No clue, what is happening on your system, but 'access denied' isn't something Hybrid could fix,...
If it's just happening with the file, may be moving it before trying to convert it helps,..

Cu Selur
Pages: 1 2 3 4