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


Messages In This Thread
DVD source - crash - by kkf_hu - 16.02.2019, 17:24
RE: DVD source - crash - by Selur - 16.02.2019, 18:25
RE: DVD source - crash - by kkf_hu - 16.02.2019, 18:49
RE: DVD source - crash - by Selur - 16.02.2019, 18:53
RE: DVD source - crash - by kkf_hu - 16.02.2019, 23:23
RE: DVD source - crash - by Selur - 16.02.2019, 23:53
RE: DVD source - crash - by kkf_hu - 17.02.2019, 00:04
RE: DVD source - crash - by Selur - 17.02.2019, 00:08
RE: DVD source - crash - by kkf_hu - 17.02.2019, 00:18
RE: DVD source - crash - by Selur - 17.02.2019, 00:20
RE: DVD source - crash - by Selur - 17.02.2019, 00:39
RE: DVD source - crash - by kkf_hu - 17.02.2019, 09:39
RE: DVD source - crash - by Selur - 17.02.2019, 09:58
RE: DVD source - crash - by kkf_hu - 17.02.2019, 10:05
RE: DVD source - crash - by Selur - 17.02.2019, 10:12
RE: DVD source - crash - by kkf_hu - 17.02.2019, 10:54
RE: DVD source - crash - by Selur - 17.02.2019, 11:02
RE: DVD source - crash - by kkf_hu - 17.02.2019, 11:23
RE: DVD source - crash - by Selur - 17.02.2019, 11:35
RE: DVD source - crash - by Selur - 17.02.2019, 11:49
RE: DVD source - crash - by kkf_hu - 17.02.2019, 14:34
RE: DVD source - crash - by Selur - 17.02.2019, 14:37
RE: DVD source - crash - by kkf_hu - 17.02.2019, 14:59
RE: DVD source - crash - by Selur - 17.02.2019, 15:07
RE: DVD source - crash - by kkf_hu - 17.02.2019, 16:11
RE: DVD source - crash - by Selur - 17.02.2019, 17:07
RE: DVD source - crash - by kkf_hu - 17.02.2019, 17:54
RE: DVD source - crash - by Selur - 17.02.2019, 19:38

Forum Jump:


Users browsing this thread: 2 Guest(s)