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.

[BUG] Bugfix version closes immediately after launch
#11
(03.01.2021, 08:59)Selur Wrote: Same effect different cause.
This time it crashes because of a decoding problem.
x264 aborts with:
y4m [error]: bad sequence header magic
x264 [error]: could not open input file `-'
encoding call:
"C:\Program Files\Other\Hybrid\64bit\Vapoursynth\vspipe.exe" "C:\Users\colin\AppData\Local\Temp\encodingTempSynthSkript_2021-01-02@21_21_12_7610.vpy" - --y4m | "C:\Program Files\Other\Hybrid\64bit\x264.exe" --preset veryfast --pass 1 --bitrate 4000 --profile high --level 4.0 --sync-lookahead 12 --rc-lookahead 40 --qpmax 51 --weightp 2 --sar 64:45 --qpfile "C:\Users\colin\AppData\Local\Temp\The Silence of the Lambs (1991) {tmdb-274}_2021-01-02@21_21_12_7610_05.qp" --deblock -1:-1 --non-deterministic --range tv --stats "C:\Users\colin\AppData\Local\Temp\The Silence of the Lambs (1991) {tmdb-274}_2021-01-02@21_21_12_7610_06.stats" --demuxer y4m  --input-range tv --fps 25/1 --output-depth 8 --output NUL -
the Vapoursynth script:
# Imports
import os
import sys
import ctypes
# Loading Support Files
Dllref = ctypes.windll.LoadLibrary("C:/Program Files/Other/Hybrid/64bit/vsfilters/Support/libfftw3f-3.dll")
import vapoursynth as vs
core = vs.get_core()
# Import scripts folder
scriptPath = 'C:/Program Files/Other/Hybrid/64bit/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Other/Hybrid/64bit/vsfilters/GrainFilter/AddGrain/AddGrain.dll")
core.std.LoadPlugin(path="C:/Program Files/Other/Hybrid/64bit/vsfilters/DenoiseFilter/NEO_FFT3DFilter/neo-fft3d.dll")
core.std.LoadPlugin(path="C:/Program Files/Other/Hybrid/64bit/vsfilters/DenoiseFilter/DFTTest/DFTTest.dll")
core.std.LoadPlugin(path="C:/Program Files/Other/Hybrid/64bit/vsfilters/Support/EEDI3.dll")
core.std.LoadPlugin(path="C:/Program Files/Other/Hybrid/64bit/vsfilters/ResizeFilter/nnedi3/vsznedi3.dll")
core.std.LoadPlugin(path="C:/Program Files/Other/Hybrid/64bit/vsfilters/Support/libmvtools.dll")
core.std.LoadPlugin(path="C:/Program Files/Other/Hybrid/64bit/vsfilters/Support/temporalsoften.dll")
core.std.LoadPlugin(path="C:/Program Files/Other/Hybrid/64bit/vsfilters/Support/scenechange.dll")
core.std.LoadPlugin(path="C:/Program Files/Other/Hybrid/64bit/vsfilters/Support/fmtconv.dll")
core.std.LoadPlugin(path="C:/Program Files/Other/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# Import scripts
import havsfunc
# source: 'S:\video\Rips\Films\The Silence of the Lambs (1991) {tmdb-274}\The Silence of the Lambs (1991) {tmdb-274}.mkv'
# current color space: YUV420P8, bit depth: 8, resolution: 720x576, fps: 25, color matrix: 470bg, yuv luminance scale: limited, scanorder: top field first
# Loading S:\video\Rips\Films\The Silence of the Lambs (1991) {tmdb-274}\The Silence of the Lambs (1991) {tmdb-274}.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="S:/video/Rips/Films/The Silence of the Lambs (1991) {tmdb-274}/The Silence of the Lambs (1991) {tmdb-274}.mkv", format="YUV420P8", cache=0, prefer_hw=0)
# making sure input color matrix is set as 470bg
clip = core.resize.Point(clip, matrix_in_s="470bg",range_s="limited")
# making sure frame rate is set to 25
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
# 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="Fast", TFF=True)
# make sure content is preceived as frame based
clip = core.std.SetFieldBased(clip, 0)
clip = clip[::2]
# set output frame rate to 25.000fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
# Output
clip.set_output()
Does seem fine to.

-> Does the Vapoursynth preview work properly?

Cu Selur

No, the VapourSynth preview fails with this output (which I'm pretty sure I have seen before BTW)-


[color=#ff0000]Failed to evaluate the script:[/color]
[color=#ff0000]Python exception: No entry point found in C:/Program Files/Other/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll[/color]

[color=#ff0000]Traceback (most recent call last):[/color]
[color=#ff0000]  File "src\cython\vapoursynth.pyx", line 2244, in vapoursynth.vpy_evaluateScript[/color]
[color=#ff0000]  File "src\cython\vapoursynth.pyx", line 2245, in vapoursynth.vpy_evaluateScript[/color]
[color=#ff0000]  File "C:\Users\colin\AppData\Local\Temp\tempPreviewVapoursynthFile20_41_53_385.vpy", line 22, in <module>[/color]
[color=#ff0000]    core.std.LoadPlugin(path="C:/Program Files/Other/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")[/color]
[color=#ff0000]  File "src\cython\vapoursynth.pyx", line 2069, in vapoursynth.Function.__call__[/color][color=#ff0000]vapoursynth.Error: No entry point found in C:/Program Files/Other/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll[/color]
Reply
#12
A forgot about that, see: https://forum.selur.net/showthread.php?tid=1666 and replacing the vslsmashsource.dll should fix the issue.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#13
(03.01.2021, 22:46)Selur Wrote: A forgot about that, see: https://forum.selur.net/showthread.php?tid=1666 and replacing the vslsmashsource.dll should fix the issue.

Cu Selur

That did the trick, thanks. The vslsmashsource.dll in the dev version is a few bytes different in size to the one linked in that thread.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)