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.

[HELP] can't encode but displays finished
#7
According to the debug output there is a problem with decoding the Vapoursynth script.

The script itself:
# Imports import os import sys import ctypes # Loading Support Files Dllref = ctypes.windll.LoadLibrary("C:/Program Files/Hybrid/64bit/vsfilters/Support/libfftw3f-3.dll") import vapoursynth as vs # getting Vapoursynth core core = vs.core # Import scripts folder scriptPath = 'C:/Program Files/Hybrid/64bit/vsscripts' sys.path.insert(0, os.path.abspath(scriptPath)) # Loading Plugins core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/GrainFilter/RemoveGrain/RemoveGrainVS.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/GrainFilter/AddGrain/AddGrain.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/NEO_FFT3DFilter/neo-fft3d.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/DFTTest/DFTTest.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/EEDI3.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/ResizeFilter/nnedi3/vsznedi3.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/libmvtools.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/temporalsoften.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/scenechange.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/fmtconv.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/MiscFilter/MiscFilters/MiscFilters.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll") # Import scripts import havsfunc # source: 'D:\L\权力的游戏 iso\fix.264' # current color space: YUV420P8, bit depth: 8, resolution: 1920x1080, fps: 29.97, color matrix: 709, yuv luminance scale: limited, scanorder: top field first # Loading D:\L\权力的游戏 iso\fix.264 using LWLibavSource clip = core.lsmas.LWLibavSource(source="D:/L/权力的游戏 iso/fix.264", format="YUV420P8", cache=0, fpsnum=30000, fpsden=1001, prefer_hw=0) # making sure input color matrix is set as 709 clip = core.resize.Bicubic(clip, matrix_in_s="709",range_s="limited") # making sure frame rate is set to 29.970 clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001) # Setting color range to TV (limited) range. clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1) # setting field order to what QTGMC should assume (top field first) clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=2) # Deinterlacing using QTGMC clip = havsfunc.QTGMC(Input=clip, Preset="Placebo", TFF=True) # new fps: 29.97 # make sure content is preceived as frame based clip = core.std.SetFieldBased(clip, 0) clip = clip[::2] # DEBUG: VsQTGMC changed scanorder to: progressive # set output frame rate to 29.970fps clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001) # Output clip.set_output()
and the encoding call used:
"C:\Program Files\Hybrid\64bit\Vapoursynth\vspipe.exe" "C:\Users\x\AppData\Local\Temp\encodingTempSynthSkript_2021-12-04@02_58_50_1110.vpy" - --y4m | "C:\Program Files\Hybrid\64bit\x264.exe" --preset veryfast --pass 1 --slow-firstpass --bitrate 22000 --profile high --level 4.1 --ref 3 --direct auto --b-adapt 0 --sync-lookahead 66 --qcomp 0.50 --rc-lookahead 40 --qpmax 51 --partitions i4x4,p8x8,b8x8 --no-fast-pskip --subme 5 --aq-mode 0 --sar 1:1 --non-deterministic --range tv --stats "C:\Users\x\AppData\Local\Temp\fix_2021-12-04@02_58_50_1110_02.stats" --demuxer y4m --input-range tv --fps 30000/1001 --output-depth 8 --output "C:\Users\x\AppData\Local\Temp\fix.264" -
both look fine on first glance, but the first part of the encoding call has problems decoding the script.

This is usually happens when:
  • The source filter has a problem with the source, then switching the source filter might help.
  • The source is buggy, in some way. Then you are out of luck.
  • The script requires more ram than your system has.
  • Something filter that is used in the script doesn't properly work on you system.
  • Some problem with the setup, in example a messed up Vapoursynth folder. -> deinstall Hybrid and install it a new.
  • Some other tool is interfering with the encoding.
  • System is instable.
-> Check the Vapoursynth Preview to see whether it works.
If it does not it should show an error.
In case it does not show an error also call the encoding call inside a Windows Command Prompt to see whether there is another error shown that Hybrid doesn't log.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Offline between (including) 29th of June and 5th of July => RochHarz Festival
Reply


Messages In This Thread
can't encode but displays finished - by ssdde - 03.12.2021, 18:47
RE: can't encode but displays finished - by Selur - 04.12.2021, 09:48

Forum Jump:


Users browsing this thread: 1 Guest(s)