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

Support forum for DGDecNV
Post Reply
User avatar
Selur
Posts: 137
Joined: Mon Nov 05, 2012 3:49 pm
Location: Germany
Contact:

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

Post by Selur »

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
DAE avatar
Guest

Re: Do you see a problem with this file?

Post by Guest »

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
Posts: 4553
Joined: Thu Sep 09, 2010 3:08 pm

Re: Do you see a problem with this file?

Post by admin »

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.
DAE avatar
Guest

Re: Do you see a problem with this file?

Post by Guest »

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 571 times
User avatar
Selur
Posts: 137
Joined: Mon Nov 05, 2012 3:49 pm
Location: Germany
Contact:

Re: Do you see a problem with this file?

Post by Selur »

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 529 times
User avatar
Selur
Posts: 137
Joined: Mon Nov 05, 2012 3:49 pm
Location: Germany
Contact:

Re: Do you see a problem with this file?

Post by Selur »

Doh, just noticed my DGDecNV isn't up-to-date. :)
-> updating and testing now :)
User avatar
Selur
Posts: 137
Joined: Mon Nov 05, 2012 3:49 pm
Location: Germany
Contact:

Re: Do you see a problem with this file?

Post by Selur »

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
Posts: 4553
Joined: Thu Sep 09, 2010 3:08 pm

Re: Do you see a problem with this file?

Post by admin »

Sweet.
Post Reply