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] DVD source - crash
#21
(17.02.2019, 11:49)Selur Wrote: Found the problem for the code consistency errors, will send you a link to a new dev version in a few minutes via PM.
Btw. I would probably apply a lot of filtering to your source,...
There is still much to improve, but here's a small example of what one could do:
# Imports
import os
import sys
import ctypes
# Loading Support Files
Dllref = ctypes.windll.LoadLibrary("I:/Hybrid/64bit/vsfilters/Support/libfftw3f-3.dll")
import vapoursynth as vs
core = vs.get_core()
# Import scripts folder
scriptPath = 'I:/Hybrid/64bit/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Loading Plugins
core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/ResizeFilter/nnedi3/NNEDI3CL.dll")
core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/ResizeFilter/nnedi3/vsznedi3.dll")
core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/DenoiseFilter/DFTTest/DFTTest.dll")
core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/Support/libdescale.dll")
core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/Support/fmtconv.dll")
core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/Support/Bilateral.dll")
core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/Support/libmvtools.dll")
core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/DeCrawlFilter/DotKill/dotkill64.dll")
core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/SourceFilter/d2vSource/d2vsource.dll")
# Import scripts
import hysteria
import edi_rpow2
import fvsfunc
import havsfunc
import muvsfunc
import hnwvsfunc
import mvsfunc
# Loading F:\TestClips&Co\files\MPEG-2\Transformers filtering test.VOB using D2VSource
clip = core.d2v.Source(input="E:/Temp/vob_bf46adec8e80fc1e5f51365b5d592683_853323747.d2v")
# 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 30000/1001
clip = core.std.AssumeFPS(clip, fpsnum=30000, fpsden=1001)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
clip = core.vivtc.VFM(clip=clip, order=0, mode=1)
clip = core.vivtc.VDecimate(clip=clip)
# DeCrawling using DotKill
clip = core.dotkill.DotKill(clip=clip, napply=3)
# cropping the video to 692x468
clip = core.std.CropRel(clip=clip, left=16, right=12, top=12, bottom=0)
# removing grain using MLDegrain
clip = hnwvsfunc.MLDegrain(clip=clip, soft=[0,0,0])
# Debanding using GradFun3Mod
clip = fvsfunc.GradFun3(src=clip)
# line darkening using Hysteria
clip = hysteria.Hysteria(clip=clip,strength=0.80)
# Anti Aliasing using DAA
clip = havsfunc.daa(c=clip, opencl=True)
# adjusting output color from: YUV420P16 to YUV420P8 for x264Model (i420)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, range_s="limited")
# Output
added a few screenshots (left side is the original, right the filtered version)
[Image: screen-2.png]
[Image: screen-1.png]
[Image: screen-4.png]
[Image: screen-3.png]


Cu Selur

okay, now the warning is also gone, however DVD input still dont work.
interesting job with the filters, however if i add them all like i see in your command window, i again get an internal crash message.
i will do some more exhausting testing.
in the meantime thanks for the fix Selur.
Reply
#22
Quote:okay, now the warning is also gone, however DVD input still dont work.
No details what you do, no debug output. -> Nothing I can do.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#23
(17.02.2019, 14:37)Selur Wrote:
Quote:okay, now the warning is also gone, however DVD input still dont work.
No details what you do, no debug output. -> Nothing I can do.

Cu Selur

the steps are the same as described earlier, only difference, im using a mounted iso, and hybrid 'dvd input' (VIDEO_TS) and im leaving audio on passthrough.
log attached.
cheers.
Reply
#24
What happens if you call:
"C:\PROGRA~1\Hybrid\64bit\VAPOUR~1\vspipe.exe" "C:\Users\Laci\AppData\Local\Temp\encodingTempSynthSkript_13_55_40_1110.vpy" - --y4m | "C:\PROGRA~1\Hybrid\64bit\x264.exe" --preset veryfast --pass 1 --bitrate 1250 --profile high --level 4.1 --bframes 5 --rc-lookahead 40 --weightp 2 --aq-strength 0.6 --sar 8:9 --deblock 1:1 --non-deterministic --range tv --stats "C:\Users\Laci\AppData\Local\Temp\testfulldvd_13_55_40_1110_04.stats" --demuxer y4m  --input-range tv --fps 24000/1001 --output-depth 8 --output NUL -
inside a windows command prompt?

The Vapoursynth script itself looks fine to me:
# Imports
import vapoursynth as vs
core = vs.get_core()
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/d2vSource/d2vsource.dll")
# Loading P:\VIDEO_TS using D2VSource
clip = core.d2v.Source(input="C:/Users/Laci/AppData/Local/Temp/13_55_40_1110.d2v")
# making sure input color matrix is set as 709
clip = core.resize.Point(clip, matrix_in_s="709",range_s="limited")
# making sure frame rate is set to 30000/1001
clip = core.std.AssumeFPS(clip, fpsnum=30000, fpsden=1001)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
clip = core.vivtc.VFM(clip=clip, order=0, mode=1)
clip = core.vivtc.VDecimate(clip=clip)
# Output
clip.set_output()
My guess is that there is still something 'off' with D2VSource on your system.

Also try using another temp folder than the default one governed by Windows. (e.g. D:\Temp; under Config->Paths)

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#25
(17.02.2019, 15:07)Selur Wrote: What happens if you call:
"C:\PROGRA~1\Hybrid\64bit\VAPOUR~1\vspipe.exe" "C:\Users\Laci\AppData\Local\Temp\encodingTempSynthSkript_13_55_40_1110.vpy" - --y4m | "C:\PROGRA~1\Hybrid\64bit\x264.exe" --preset veryfast --pass 1 --bitrate 1250 --profile high --level 4.1 --bframes 5 --rc-lookahead 40 --weightp 2 --aq-strength 0.6 --sar 8:9 --deblock 1:1 --non-deterministic --range tv --stats "C:\Users\Laci\AppData\Local\Temp\testfulldvd_13_55_40_1110_04.stats" --demuxer y4m  --input-range tv --fps 24000/1001 --output-depth 8 --output NUL -
inside a windows command prompt?

The Vapoursynth script itself looks fine to me:
# Imports
import vapoursynth as vs
core = vs.get_core()
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/d2vSource/d2vsource.dll")
# Loading P:\VIDEO_TS using D2VSource
clip = core.d2v.Source(input="C:/Users/Laci/AppData/Local/Temp/13_55_40_1110.d2v")
# making sure input color matrix is set as 709
clip = core.resize.Point(clip, matrix_in_s="709",range_s="limited")
# making sure frame rate is set to 30000/1001
clip = core.std.AssumeFPS(clip, fpsnum=30000, fpsden=1001)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
clip = core.vivtc.VFM(clip=clip, order=0, mode=1)
clip = core.vivtc.VDecimate(clip=clip)
# Output
clip.set_output()
My guess is that there is still something 'off' with D2VSource on your system.

Also try using another temp folder than the default one governed by Windows. (e.g. D:\Temp; under Config->Paths)

Cu Selur
same as before
what im thinking, there used to be two simultanous installations of hybrid on my PC, one from 2016 and the latest stable.
maybe the old one made some system registers, that now causes errors?
apparently now both 2016 version and the latest stable are uninstalled via normal uninstaller and only the dev version is installed.
i added now the log of the latest dev version you sent me.

and debug log from when i try to enable some filters.


Attached Files Thumbnail(s)
   
Reply
#26
Having multiple Version installed without really knowing how to do it is a bad idea.
-> best deinstall all Hybrid installs complete (check that the settings&co folders are all empty), then just install the dev version
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#27
(17.02.2019, 17:07)Selur Wrote: Having multiple Version installed without really knowing how to do it is a bad idea.
-> best deinstall all Hybrid installs complete (check that the settings&co folders are all empty), then just install the dev version

all hybrid installations were completely removed incl. everything in their installation folders before i started using the dev versions.
Reply
#28
No clue why you have problems with the d2v version. :/
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)