[RESOLVED] Avisynth open failure with dgi file in Virtualdub

Support forum for DGAVCDecDI
Post Reply
DAE avatar
RGB

[RESOLVED] Avisynth open failure with dgi file in Virtualdub

Post by RGB »

When I write an Avisynth script pointing to a .dgi file and attempt to open it in Virtualdub, I receive the following message:

Code: Select all

Avisynth open failure: 
DGMultisource: The input file is not a DG project file.
("C:\My_path_to_file\My_filename.dgi", line 1)
I actually used DGsource in the first line of the script:

Code: Select all

DGSource("C:\My_path_to_file\My_filename.dgi")
I don't understand what is wrong because I've checked the path and I don't receive this error message with other files. I have tried to re-make the .dgi file many times. Any help would be appreciated. (I have both DGAVCDecDI and DGIndexNV installed on my system, and I'm running Windows 7 Home Premium.)

EDIT: My source file works in DGAVCIndex, so I don't know why there should be a problem with DGAVCDecDI.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Avisynth open failure with dgi file in Virtualdub

Post by admin »

Please post the first 20 lines of the DGI file.
DAE avatar
RGB

Re: Avisynth open failure with dgi file in Virtualdub

Post by RGB »

Code: Select all

DGAVCIndexFileDI9 DGAVCIndexDI 2038 X32
C:\Users\JRB\Tools\dgavcdecdi2038\

E:\FAFDM_UK\FAFDM.h264 29140062315

STREAM 0
CLIP 0 0 0 0
RANGE 0 0 29140062314 0
AUDIO 

SPS 6
PPS 53
RPS 151
IDR 159
FRM 7 0 0 1
FRM 6 1 0 1
FRM 5 2 0 1
FRM 6 3 0 1
FRM 5 4 0 1
FRM 6 5 0 1
FRM 6 7 0 1
FRM 5 8 0 1
FRM 6 9 0 1
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Avisynth open failure with dgi file in Virtualdub

Post by admin »

Looks like you are actually invoking DGSource() from the DGDecodeNV.dll and not from DGAVCDecodeDI.dll. The reason I know that is because the error message "DGMultiSource: ..." exists only in DGDecNV. In DGAVCDecDI, it is just "DGSource: ...".

Add a loadplugin() line at the start to explicitly load DGAVCDecodeDI.dll and do not use the plugins directory to automatically load either of the DLLs.
DAE avatar
RGB

Re: Avisynth open failure with dgi file in Virtualdub

Post by RGB »

Add a loadplugin() line at the start to explicitly load DGAVCDecodeDI.dll and do not use the plugins directory to automatically load either of the DLLs.
That works perfectly. I have deleted both those plugins from Avisynth's plugins directory and shall load them manually from now on. Thank you for your time and assistance, and thank you once again for making these programs. They are invaluable. :D
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Avisynth open failure with dgi file in Virtualdub

Post by admin »

Thanks and sorry for the inconvenience. I do plan to merge the apps at some point so that issue will not arise.
Post Reply