[RESOLVED] Avisynth open failure with dgi file in Virtualdub

Support forum for DGAVCDecDI
Post Reply
RGB
Posts: 7
Joined: Wed May 04, 2011 3:10 pm

[RESOLVED] Avisynth open failure with dgi file in Virtualdub

Post by RGB » Sat May 21, 2011 1:54 am

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

Re: Avisynth open failure with dgi file in Virtualdub

Post by admin » Sat May 21, 2011 8:57 am

Please post the first 20 lines of the DGI file.

RGB
Posts: 7
Joined: Wed May 04, 2011 3:10 pm

Re: Avisynth open failure with dgi file in Virtualdub

Post by RGB » Sat May 21, 2011 5:35 pm

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

Re: Avisynth open failure with dgi file in Virtualdub

Post by admin » Sat May 21, 2011 7:40 pm

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.

RGB
Posts: 7
Joined: Wed May 04, 2011 3:10 pm

Re: Avisynth open failure with dgi file in Virtualdub

Post by RGB » Sun May 22, 2011 1:23 pm

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

Re: Avisynth open failure with dgi file in Virtualdub

Post by admin » Sun May 22, 2011 7:10 pm

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

Post Reply