[SOLVED] Do you see a problem with this file?

Support forum for DGDecNV
Post Reply
Selur
Distinguished Member
Distinguished Member
Posts: 103
Joined: Mon Nov 05, 2012 4:49 pm

[SOLVED] Do you see a problem with this file?

Post by Selur » Sun May 20, 2018 1:48 am

got a file test_mvt.MTS which when I use with the following script:

Code: Select all

# Imports
import vapoursynth as vs
core = vs.get_core()
# Loading Plugins
core.std.LoadPlugin(path="G:/Hybrid/64bit/vsfilters/SourceFilter/DGDecNV/DGDecodeNV.dll")
# Loading C:\Users\Selur\Desktop\test_mvt.MTS using DGSource
clip = core.dgdecodenv.DGSource("H:/Temp/mts_c9c1cb10025c5c33ff294007e794d0f3_41.dgi")
# Output
clip.set_output()
causes vsedit to crash during the analysis of the script.
Using it with vspipe doesn't cause a problem and using FFVideoSource or LSMashSource instead of DGDecNV also works fine.
I'm not sure what is causing this problem and where it should be fixed.
(Works fine in Avisynth 32bit when using DGDecNV.)

So my question is:
Do you see anything wrong with the file?

The file isn't anything particular, so I'm not really in a hurry with this since this is the first file which causes the issue, but would be nice to know where the root of the problem is to avoid the problem in case I stumble over it again with an important file. :)

Cu Selur

gonca
Distinguished Member
Distinguished Member
Posts: 543
Joined: Sun Apr 08, 2012 6:12 pm

Re: Do you see a problem with this file?

Post by gonca » Sun May 20, 2018 6:23 am

import vapoursynth as vs
core = vs.get_core()
core.std.LoadPlugin(r'C:\Program Files (Portable)\dgdecnv\x64 Binaries\DGDecodeNV.dll')
clip = core.dgdecodenv.DGSource(r'__vid__', fieldop=0)
clip.set_output()
This is one of my templates which works.
Tested yours and VSEdit complains starting at line 3
Note that I use r'----' and you use "----"
That is the only difference I see

User avatar
admin
Site Admin
Posts: 3752
Joined: Thu Sep 09, 2010 3:08 pm

Re: Do you see a problem with this file?

Post by admin » Sun May 20, 2018 6:51 am

I don't see any problems with the file. Works just fine in VSEdit r18 with this script:

import vapoursynth as vs
core = vs.get_core()
core.std.LoadPlugin(path="D:/Don/Programming/C++/DGDecNV/DGDecodeNV/x64/Release/DGDecodeNV.dll")
video = core.dgdecodenv.DGSource("C:/Users/Don/Downloads/test_mvt.dgi")
video.set_output()

Can you post the DGI file? That is the only thing that could be different.

gonca
Distinguished Member
Distinguished Member
Posts: 543
Joined: Sun Apr 08, 2012 6:12 pm

Re: Do you see a problem with this file?

Post by gonca » Sun May 20, 2018 7:01 am

Tried Selur's file with my template script and with his, note that only difference is the usage of r' vs "
r' works, " doesn't
Same dgi file
Using VSEdit r18
Attachments
test_mvt.dgi
(3.12 KiB) Downloaded 7 times

Selur
Distinguished Member
Distinguished Member
Posts: 103
Joined: Mon Nov 05, 2012 4:49 pm

Re: Do you see a problem with this file?

Post by Selur » Sun May 20, 2018 7:06 am

Tested yours and VSEdit complains starting at line 3
Note that I use r'----' and you use "----"
You use backslashes inside your path which is why the r is needed, I always use slashes. :)

Code: Select all

Can you post the DGI file? 
Sure. :)

Using goncas dgi file I get:
Python exception: DGSource: DGIndexNV/DGDecodeNV mismatch. You are picking up
a version of DGDecodeNV, possibly from your plugins directory,
that does not match the version of DGIndexNV used to make the index
file. Search your hard disk for all copies of DGDecodeNV.dll
and delete or rename all of them except for the one that
has the same version number as the DGIndexNV.exe that was used
to make the index file.
Cu Selur

Ps.: I'm using DGDecNV 2052.0.0.143 (64bit).
Attachments
Temp.7z
dgi and log file
(1.34 KiB) Downloaded 4 times

Selur
Distinguished Member
Distinguished Member
Posts: 103
Joined: Mon Nov 05, 2012 4:49 pm

Re: Do you see a problem with this file?

Post by Selur » Sun May 20, 2018 7:11 am

Doh, just noticed my DGDecNV isn't up-to-date. :)
-> updating and testing now :)

Selur
Distinguished Member
Distinguished Member
Posts: 103
Joined: Mon Nov 05, 2012 4:49 pm

Re: Do you see a problem with this file?

Post by Selur » Sun May 20, 2018 7:14 am

Okay, that was the cause of the problem. :)
After updating to the latest version, DGDevNV is working fine again.
:hat:

Thanks to you two for looking over this. :)

Cu Selur

User avatar
admin
Site Admin
Posts: 3752
Joined: Thu Sep 09, 2010 3:08 pm

Re: Do you see a problem with this file?

Post by admin » Sun May 20, 2018 9:44 am

Sweet.

Post Reply