Avisynth Open Failure and DGDecode.dll

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

Avisynth Open Failure and DGDecode.dll

Postby 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
StarMasayume
 
Joined: 03 Nov 2003
Location: Florida

Re: Avisynth Open Failure and DGDecode.dll

Postby 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
Zarxrax
 
Joined: 01 Apr 2001
Location: Concord, NC

Re: Avisynth Open Failure and DGDecode.dll

Postby 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:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Re: Avisynth Open Failure and DGDecode.dll

Postby 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
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: Avisynth Open Failure and DGDecode.dll

Postby 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
StarMasayume
 
Joined: 03 Nov 2003
Location: Florida

Re: Avisynth Open Failure and DGDecode.dll

Postby 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
Cannonaire
 
Joined: 05 May 2010
Location: Oregon
Status: OVERLOAD

Re: Avisynth Open Failure and DGDecode.dll

Postby 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
Zarxrax
 
Joined: 01 Apr 2001
Location: Concord, NC

Re: Avisynth Open Failure and DGDecode.dll

Postby 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
StarMasayume
 
Joined: 03 Nov 2003
Location: Florida

Re: Avisynth Open Failure and DGDecode.dll

Postby Zarxrax » Mon Oct 18, 2010 6:45 pm

Yes, try that.
User avatar
Zarxrax
 
Joined: 01 Apr 2001
Location: Concord, NC

Re: Avisynth Open Failure and DGDecode.dll

Postby Zarxrax » Mon Oct 18, 2010 6:46 pm

By the way did you try remaking the d2v files after doing that?
User avatar
Zarxrax
 
Joined: 01 Apr 2001
Location: Concord, NC

Re: Avisynth Open Failure and DGDecode.dll

Postby StarMasayume » Fri Oct 22, 2010 11:50 am

Thanks guys, got it working! Went ahead and did a clean sweep, uninstalling everything and then reinstalling.

Yay finally can work on an AMV again. :)
User avatar
StarMasayume
 
Joined: 03 Nov 2003
Location: Florida


Return to Footage Help

Who is online

Users browsing this forum: No registered users and 1 guest