Avisynth Open Failure and DGDecode.dll

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
User avatar
StarMasayume
Joined: Mon Nov 03, 2003 11:49 pm
Location: Florida
Contact:
Org Profile

Avisynth Open Failure and DGDecode.dll

Post by StarMasayume » Sat Oct 16, 2010 5:12 pm

Always, without fail, I seem to have technical errors and problems every time I want to create an AMV. :? I had the biggest headache getting stuff to work and exporting after my long hiatus and change of computers some months ago.

Can't exactly remember what my last headache was. I know my files are probably a mess but I'm afraid to touch anything. Currently have the amvapp and whatever plugins or extras. Was crossing my fingers for a painless process and almost immediately hit a dead end. I ripped Castle in the Sky and saved it as a d2v project but get this error when I attempted to open it in VirtualDub.

Image

The avisynth I'm using is:

Code: Select all

MPEG2Source("E:\AMVProjects\Little People\Footage\CastleInTheSky.d2v")
Also though it was weird that Vdub or one program seems to automatically be creating new default avs files that say..

Code: Select all

#ASYNTHER Default (AVISource)
AVISource("E:\AMVProjects\Little People\Footage\CastleInTheSky.avs")


I tried doing what was suggested and find all instances of DGDecode.dll - I assume the main one needed is the one in the AMVapp > DGMPEGDec > DGDecode.dll

I tried renaming other instances, or copying the same DGD file over the one in the avisynth 2.5 folder. Is there any other suggestions?

Recently tried adding LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll") but didn't make a difference. I'm probably going about this all wrong. Any help from those more tech savvy than me appreciated :oops:

User avatar
Zarxrax
Joined: Sun Apr 01, 2001 6:37 pm
Contact:
Org Profile

Re: Avisynth Open Failure and DGDecode.dll

Post by Zarxrax » Sat Oct 16, 2010 6:41 pm

C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll is the wrong file version.
It needs to be replaced with the version that came with Dgindex.

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Re: Avisynth Open Failure and DGDecode.dll

Post by Scintilla » Sat Oct 16, 2010 7:40 pm

StarMasayume wrote:Also though it was weird that Vdub or one program seems to automatically be creating new default avs files that say..

Code: Select all

#ASYNTHER Default (AVISource)
AVISource("E:\AMVProjects\Little People\Footage\CastleInTheSky.avs")
As counterintuitive as this sounds, don't select "Open file via AVISynth" to open AVISynth scripts. Just select the normal "Open video file" (Ctrl+O).

(Or, if you have a newer version of VirtualDub(/Mod), don't use the "Use AVISynth template" option in the Open dialog; just keep it set to "[none]".)
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

Mister Hatt
Joined: Tue Dec 25, 2007 8:26 am
Status: better than you
Contact:
Org Profile

Re: Avisynth Open Failure and DGDecode.dll

Post by Mister Hatt » Sun Oct 17, 2010 7:43 am

What's this, YAALP* strikes again? If the amvapp had something resembling smart structure this wouldn't happen. I suggest doing what Scintilla says seeing as messing with avs autoloads is always a pain. Install all your source filters manually in the future, and set a directory for all your other plugins and load them as necessary.

______________________________________________
*YAALP is short for Yet Another Auto-Loading Problem

User avatar
StarMasayume
Joined: Mon Nov 03, 2003 11:49 pm
Location: Florida
Contact:
Org Profile

Re: Avisynth Open Failure and DGDecode.dll

Post by StarMasayume » Sun Oct 17, 2010 1:42 pm

Hey Zarxrax! so I tried replacing that with

LoadPlugin("C:\Program Files\AMVapp\DGMPEGDec\DGDecode.dll")
MPEG2Source("E:\AMVProjects\Little People\Footage\CastleInTheSky.d2v")

Gives the same error MPEGSource: DGIndex/DGDecode mismatch =/ Thought if I force guided it to open the right .dll file it wouldn't have a problem...

(for EXTREME)
-- Don't worry, I remembered that much about opening the avs file. :) Doesn't make a difference for this error though.

Mister Hatt
~ Gah sounds like a notorious mess. So what's recommended - uninstall AMVapp and everything, redownload just the programs, and then individually install source filters and plugins? I'm liable to make an even worse mess of this. Is there a place in a guide for what plugins, filters, etc to have and where?

Still hoping to find a way around this stubborn error.... feels like it should be simpler than this. :x

User avatar
Cannonaire
Joined: Wed May 05, 2010 5:59 pm
Status: OVERLOAD
Location: Oregon
Org Profile

Re: Avisynth Open Failure and DGDecode.dll

Post by Cannonaire » Sun Oct 17, 2010 5:00 pm

Try this instead of Mpeg2Source:
DGDecode_MPEG2Source("E:\AMVProjects\Little People\Footage\CastleInTheSky.d2v")
Image Think millionaire, but with cannons. || Resident Maaya Sakamoto fan.

User avatar
Zarxrax
Joined: Sun Apr 01, 2001 6:37 pm
Contact:
Org Profile

Re: Avisynth Open Failure and DGDecode.dll

Post by Zarxrax » Sun Oct 17, 2010 6:30 pm

StarMasayume: The problem is that the dll which is located there is NOT that right file.

With dgindex, the dll files that you used MUST be the same that came with the version of dgindex that you used to create the .d2v files.

What this means, is that if you use an old version of dgindex to makes some d2v files, then upgrade dgindex/dgdecode.dll, then the old d2v files can not be opened.
Somehow you have gotten a version mismatch like this.

If you are using amvapp, then if you install the dgmpegdec package included in it then it should install the correct dgdecode.dll FOR THAT VERSION of dgindex. If your d2v files were created with a different version, then you need to remake them.

User avatar
StarMasayume
Joined: Mon Nov 03, 2003 11:49 pm
Location: Florida
Contact:
Org Profile

Re: Avisynth Open Failure and DGDecode.dll

Post by StarMasayume » Mon Oct 18, 2010 6:43 pm

Hmm I tried deleting the DGMPEGDec folder and reinstalling just dgindex from the pack but didn't help =/ Should I try uninstalling of all my plugins and amvpack and try to reinstall it again? =/

User avatar
Zarxrax
Joined: Sun Apr 01, 2001 6:37 pm
Contact:
Org Profile

Re: Avisynth Open Failure and DGDecode.dll

Post by Zarxrax » Mon Oct 18, 2010 6:45 pm

Yes, try that.

User avatar
Zarxrax
Joined: Sun Apr 01, 2001 6:37 pm
Contact:
Org Profile

Re: Avisynth Open Failure and DGDecode.dll

Post by Zarxrax » Mon Oct 18, 2010 6:46 pm

By the way did you try remaking the d2v files after doing that?

Locked

Return to “AviSynth Help”