Page 1 of 2

Re: [RESOLVED] Native Vapoursynth support

Posted: Sun Jun 19, 2016 6:24 am
by hydra3333
Just mentioning, after some searching today either I am mis-understanding what is supported or there's information at odds out there about support in VapourSynth.

http://forum.doom9.org/showthread.php?p ... ost1771039

Re: [RESOLVED] Native Vapoursynth support

Posted: Sun Jun 19, 2016 6:33 am
by admin
According to the Vapoursynth documentation it should be able to use DGSource() in 32-bit. If you need 64-bit, you can ask the Vapoursynth author to support 2.5 plugins in 64-bit. Or, better yet, ask him to put his "frame rate normalization" in the core where it belongs, so I can release native support. I am not going to make multiple versions or implement unnecessary code hacks.

Use FFMPEGSOURCE. It rocks. :lol:

Re: [RESOLVED] Native Vapoursynth support

Posted: Sun Jun 19, 2016 7:04 am
by hydra3333
admin wrote:According to the Vapoursynth documentation it should be able to use DGSource() in 32-bit ... Use FFMPEGSOURCE. It rocks. :lol:
Ooh, icon-looking-things (says an ex assembler/fortran programmer from the 70s).

Righty, DGSource() in 32-bit, will be it then.
:bow:

I assess 0.00% chance of the Vapoursynth author supporting NV :evil: however it is time for me to give in, bite that bullet, and give portable VapourSynth a go.

Per http://forum.doom9.org/showthread.php?p ... ost1770986 :lol: :scratch: :( :o :wow: :shock: :?
I just visited https://github.com/FFMS/ffms2/releases to download the latest version https://github.com/FFMS/ffms2/releas...2-2.22-msvc.7z for vapoursynth
... and chrome spewed and told me that ffms2-2.22-msvc.7z is malicious and blocked the download.
Other files from github dowloaded fine earlier this morning which suggests it doesn't like ffms2-2.22-msvc.7z specifically.
So I may give FFMPEGSOURCE a miss for the time being.

Re: [RESOLVED] Native Vapoursynth support

Posted: Sun Jun 19, 2016 7:10 am
by hydra3333
Also, what should I read into this (4 Mar 2016) http://forum.doom9.org/showthread.php?p ... ost1759402 which seems to indicate that DGdecNV is supported in VapourSynth because it shows how to use it (code below) and says "DGSource works fine btw".

Code: Select all

import vapoursynth as vs
core = vs.get_core()
core.std.LoadPlugin(r'D:\Software\Medien\DGDecNV\DGDecodeNV.dll')
clip = core.dgdecodenv.DGSource(r'D:\Temp\Video\00009 temp files\00009.dgi')
clip = core.vivtc.VFM(clip, 1)
clip = core.vivtc.VDecimate(clip)
clip.set_output()

Re: [RESOLVED] Native Vapoursynth support

Posted: Sun Jun 19, 2016 7:29 am
by admin
So I may give FFMPEGSOURCE a miss for the time being.
As they say, discretion is the better part of valor.

It must be in 32-bit, which as I said is supported by Vapoursynth.

Re: [RESOLVED] Native Vapoursynth support

Posted: Wed Jul 27, 2016 4:49 pm
by astrayred
Hi Mr DG,

So I have read through the thread and I understand the differences that you and the VS author have, but I really hope you would reconsider making a native VS plugin.

My dilemma now is that I have upgraded to a GTX 1070, and apparently only DGNV 2051 works on that. The VS plugin you did way way back won't read index files generated by 2051, so you can see the problem I have.

I have been using Avisynth now as a stopgap, but Avisynth is much slower than VS and multi-threading isn't as stable. So now my workflow is totally busted.

Going forward, I'm sure you would have more users who have upgraded to the Pascal series, so I sincerely hope you would reconsider!

Thanks for your time.

Re: [RESOLVED] Native Vapoursynth support

Posted: Wed Jul 27, 2016 6:29 pm
by admin
Greetings astrayred and welcome to the forum.

Do you use 64-bit or 32-bit stuff? If 32-bit, then VS can load the 2051 32-bit DGDecodeNV without problems.

We'll find a solution that doesn't require me to abandon my principles, which won't allow me to hack the frame rate because some misguided soul wants to be stubborn. So there can't be a native VS version, but if I made an Avisynth 2.6 binary VS could load both the 32-bit and 64-bit versions of my DLL. Maybe it's time to drop 2.5 support. Does that affect only a few Windows XP holdouts?

I've created a new thread to get user opinions on switching to 2.6. Sorry guys, I'm not going to make dual binaries going forward. If I switch to 2.6, which is getting very likely, anyone needing 2.5 will have to use the last version compiled for 2.5. If anyone has a strong objection please post in the survey thread, but do it fast as I am getting ready to pull the trigger. Thank you.

viewtopic.php?f=8&t=500

Re: [RESOLVED] Native Vapoursynth support

Posted: Thu Jul 28, 2016 2:42 pm
by admin
There is now a release candidate for 2052 in the binaries area. Please test it and let me know if Vapoursynth can load the 64-bit DGDecodeNV.dll. If everything is fine I will make a full release.

Re: [RESOLVED] Native Vapoursynth support

Posted: Sat Jul 30, 2016 12:39 am
by astrayred
Hi Admin Sir!

Wow, it's been a busy week at work for me and I come back to a very nice gift! The plugin works fine (and perhaps better than fine as it seems faster than the native dll you did a while back!) I'm very grateful at the speed which you seemed to have resolved this, and looking at the thread you created it seems like it hasn't inconvenienced other users, so for that I'm very glad as well.

Cheers, you really went beyond and above the call of duty on this one!

Re: [RESOLVED] Native Vapoursynth support

Posted: Sat Jul 30, 2016 6:57 am
by admin
Glad to be of assistance and thanks for nudging me along. Let's also acknowledge Boulder, who also asked for this earlier. To be honest, it only took a few hours, including making the release and updating the website.

Now we have to pray for 10-bit HEVC support.

Re: [RESOLVED] Native Vapoursynth support

Posted: Sun Jul 31, 2016 4:43 am
by Boulder
Thank you Don, it is very nice to see you support us "paying customers". HD stuff really likes a 64-bit environment :D

Re: [RESOLVED] Native Vapoursynth support

Posted: Sun Jul 31, 2016 4:56 am
by admin
You are most welcome! Keep those feature requests coming.

Re: [RESOLVED] Native Vapoursynth support

Posted: Sun Jul 31, 2016 6:11 am
by hydra3333
Thank you.
Just checking, only 32-bit 2051 is supported in vapoursynth, not 2052 ?
Like this ?

Code: Select all

core.std.LoadPlugin(r'C:\software\DGDecNV\DGDecodeNV.dll')
video = core.dgdecodenv.DGSource(r'D:\Temp\Video\00009 temp files\00009.dgi')

Re: [RESOLVED] Native Vapoursynth support

Posted: Sun Jul 31, 2016 6:16 am
by admin
Vapoursynth can use only 32-bit DGDecodeNV 2051. Vapoursynth can use both 32-bit and 64-bit DGDecodeNV 2052.

I can't help you with Vapoursynth syntax.

Re: [RESOLVED] Native Vapoursynth support

Posted: Sun Jul 31, 2016 6:20 am
by hydra3333
admin wrote:Vapoursynth can use both 32-bit and 64-bit DGDecodeNV 2052.
Beaut.
admin wrote:I can't help you with Vapoursynth syntax because I do not use it. Is it working for you?
I'm about to find out, after "RTFM" and googling to nick someone else's VS scripts for using QTGMC, Degrain2, LSFmod, reinterlacing, etc.

Re: [RESOLVED] Native Vapoursynth support

Posted: Sun Jul 31, 2016 6:36 am
by admin
Sweet. Please keep us informed of your progress.

Re: [RESOLVED] Native Vapoursynth support

Posted: Sat Feb 18, 2017 2:04 am
by Selur
Just wondering what the status of current Vapoursynth support is.
Atm. I use 64bit DGSource as an AvisynthPlugin in Vapoursynth 64bit:

Code: Select all

# Imports
import vapoursynth as vs
core = vs.get_core()
# Loading Avisynth Plugins
core.avs.LoadPlugin(path="G:/Hybrid/vsfilters/SourceFilter/DGDecNV/DGDecodeNV.dll")
# Loading C:\Users\Selur\Desktop\Test.ts using DGSource
clip = core.avs.DGSource("H:/Temp/temporaryFile.dgi")
# Output
clip.set_output()
which works fine.
That said, is there a direct DGDecNV version planned, or should I already be able to to load it like suggested by hydra333? (haven't tested)

Cu Selur

Re: [RESOLVED] Native Vapoursynth support

Posted: Sat Feb 18, 2017 6:49 am
by admin
Nothing has changed. You can load the existing 2053 DGDecodeNV (32-bit or 64-bit) in Vapoursynth.

I have no plans for a Vapoursynth native version.