VdubMod/Avisynth open failure

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
Flame-X
Joined: Mon Nov 21, 2005 8:10 pm
Status: In Silence
Location: Illinois
Contact:
Org Profile

VdubMod/Avisynth open failure

Post by Flame-X » Sun Mar 29, 2009 12:16 am

Here's the screenshot of the error I got.
http://img14.imageshack.us/img14/2095/16035545.png

And the script says...

Code: Select all

mpeg2source("")
Everytime I save the d2v file, it's missing the directory paths. Little help please?

User avatar
LivingFlame
Joined: Sat May 28, 2005 4:41 pm
Location: Closer than you think...
Org Profile

Re: VdubMod/Avisynth open failure

Post by LivingFlame » Sun Mar 29, 2009 12:22 am

Err...did you type in the file path to the .d2v file?

Code: Select all

MPEG2Source("C:\directory\file.d2v")
Just leaving it blank between the quote marks won't do anything. It has to know where the file actually is. =\
... yea ...

User avatar
Flame-X
Joined: Mon Nov 21, 2005 8:10 pm
Status: In Silence
Location: Illinois
Contact:
Org Profile

Re: VdubMod/Avisynth open failure

Post by Flame-X » Sun Mar 29, 2009 12:42 am

Isn't DGIndex suppose to do that for you? This is the first time I've had this problem.

User avatar
LivingFlame
Joined: Sat May 28, 2005 4:41 pm
Location: Closer than you think...
Org Profile

Re: VdubMod/Avisynth open failure

Post by LivingFlame » Sun Mar 29, 2009 12:46 am

I don't know, but even if it is supposed to, it's apparently not. So, assuming it's properly making a .d2v file somewhere on your machine, can't you just type/copy-paste the file path into the .avs script?

Or heck, VDM will do it for you too, if you tell it to open the .d2v file with an AviSynth template. (MPEG2Source template, obviously.)
... yea ...

User avatar
LivingFlame
Joined: Sat May 28, 2005 4:41 pm
Location: Closer than you think...
Org Profile

Re: VdubMod/Avisynth open failure

Post by LivingFlame » Sun Mar 29, 2009 12:47 am

And if DGIndex is indeed not working right, maybe someone else can give you advice on how to fix that problem. I've always created the .avs file with VDM, personally, so I'm not sure if DGIndex is even supposed to do that or not, so....sorry I'm not of more help.
... yea ...

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: VdubMod/Avisynth open failure

Post by Qyot27 » Sun Mar 29, 2009 1:58 am

What does your DGIndex template look like?

It's not required to have the full path, because AviSynth and DGIndex both accept relative paths (in DGIndex you have to turn off full paths, but AviSynth accepts them from the get-go). As long as the script and .d2v are in the same folder as the video, you won't have any problems omitting the full path. You just need the filename if the script is in the same folder [AVISource("testvideo.avi")], or the relevant information to get from the script to the file, as the case may be, such as AVISource("testfiles/testvideo.avi").

If DGIndex is indeed messed up (i.e., the template doesn't have "__vid__" where the .d2v normally is), then add it in there. You'll need to go into DGIndex itself, and manually select the template file afterward. Options->AVS Template, Change Template File, and give it the template.avs file residing in DGIndex's directory.

To quickly copy filenames or full paths, take a look at Ninotech Path Copy (for XP; dunno if it works in Vista). Also note that it's a 32-bit shell extension.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: VdubMod/Avisynth open failure

Post by Qyot27 » Sun Mar 29, 2009 2:10 am

Qyot27 wrote:AVISource("testfiles\testvideo.avi")
Fixed. We're not on Unix or Linux, here.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
Flame-X
Joined: Mon Nov 21, 2005 8:10 pm
Status: In Silence
Location: Illinois
Contact:
Org Profile

Re: VdubMod/Avisynth open failure

Post by Flame-X » Sun Mar 29, 2009 5:56 pm

After reinstalling amvapps 3 times, I still get the same error. Even when I typed the file path or creating the file with vdubmod, same thing happens.

http://img14.imageshack.us/img14/2346/20479168.png
This is what my DGIndex template looks like.

Am I missing a plugin or something?

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: VdubMod/Avisynth open failure

Post by Qyot27 » Sun Mar 29, 2009 10:55 pm

That's not your template. That's just DGIndex's information/statistics window.

Open Windows Explorer, and navigate to the folder DGIndex.exe is kept in (probably somewhere in the C:\Program Files\AMVapp folder). There should be a file named template.avs. Open it in Notepad and copy-and-paste the results here. If there isn't a template.avs, then create one with these settings:

Code: Select all

MPEG2Source("__vid__", ipp=true, cpu=4)
You can also include other things like your usual IVTC operations and basic cleanup, if you so choose. After you've done that, point DGIndex itself at it using the AVS Template option I mentioned before.


Also, it might help to update DGIndex. You can download the newest version here:
http://neuron2.net/dgmpgdec/dgmpgdec.html

Just make sure that you put DGDecode.dll in C:\Program Files\AviSynth 2.5\plugins. If it warns you about it already being there, it's OK to replace it. The version of DGDecode.dll needs to match the version of DGIndex used to make the .d2v file.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
Flame-X
Joined: Mon Nov 21, 2005 8:10 pm
Status: In Silence
Location: Illinois
Contact:
Org Profile

Re: VdubMod/Avisynth open failure

Post by Flame-X » Sun Mar 29, 2009 11:44 pm

ALRIGHT! It worked. Thank for your help! Really appreciate it. :D

Locked

Return to “AviSynth Help”