No function called mpeg2source?

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
Chaobunny12
Joined: Tue Jul 04, 2006 7:41 am
Org Profile

No function called mpeg2source?

Post by Chaobunny12 » Sun Jun 27, 2010 5:39 pm

I've been using Virtualdub for a long time and it has worked fine. Today, out of the blue, it decided to give me the error message "Script error: there is no function named mpeg2source" when I try and open my script. I can't figure it out- I have all my plugins installed in the Avisynth plugin directory. Scripts that opened the other day no longer open. Help please?

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: No function called mpeg2source?

Post by mirkosp » Sun Jun 27, 2010 6:19 pm

Try specifying dgdecode_mpeg2source instead of just mpeg2source. If it doesn't do anything, then reinstalling avisynth is pretty much the most likely solution, imho. Get 2.5.8 if you don't already have it, or perhaps getting 2.6alpha might be fine too (seems to be stable, actually, and offers a few new useful internal functions).
Image

User avatar
Panky
Joined: Wed Oct 04, 2006 12:57 am
Status: dozing...
Location: some place called Kokomo...
Org Profile

Re: No function called mpeg2source?

Post by Panky » Sun Jun 27, 2010 6:28 pm

There might be chances that you got the avisynth plugin path from the registry wrong. It's... unlikely for that to happen, but if you are saying yourself it just stopped working maybe something got modified. Are the other plugins in it working? And does it work if you load it manually?

User avatar
Chaobunny12
Joined: Tue Jul 04, 2006 7:41 am
Org Profile

Re: No function called mpeg2source?

Post by Chaobunny12 » Sun Jun 27, 2010 7:50 pm

The thing is, Avisynth scripts aren't the only thing that seem to be messed up on my computer right now. For example, my java compiler won't work anymore (I'm just doing noob stuff, so I'm using a guide and have no idea, but stuff that worked the other day isn't working anymore) But it keeps telling me certain files aren't found even though I installed everything...I'm beginning to think these things are related, but I don't know a lot about registry stuff and I know it's a bad idea to mess around with it.

User avatar
Chaobunny12
Joined: Tue Jul 04, 2006 7:41 am
Org Profile

Re: No function called mpeg2source?

Post by Chaobunny12 » Sun Jun 27, 2010 8:06 pm

A script I used with Avisource() works, even though the mpeg2 one doesn't.

I'm thinking this might be a registry thing (I hear Windows does crazy stuff like that sometimes), but I don't know how to identify the problem or fix it if that's what the issue is. Since it's not just Avisynth with the problem, I'm not sure what to do exactly unless I reinstall stuff. Which I might just end up doing.

User avatar
Chaobunny12
Joined: Tue Jul 04, 2006 7:41 am
Org Profile

Re: No function called mpeg2source?

Post by Chaobunny12 » Sun Jun 27, 2010 9:06 pm

Okay, reinstalling Avisynth fixed the problem, so it's solved for now.

I thought I wasn't supposed to get these crazy problems with Windows 7. >_>

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: No function called mpeg2source?

Post by Qyot27 » Sun Jun 27, 2010 9:14 pm

Even though it's fixed, the following might be good for future reference:

Open regedit by going to Start->Run, typing in 'regedit' (without the quotes), and hitting Enter.

Now, navigate to the following folder. A visual representation:
+HKEY_LOCAL_MACHINE
++SOFTWARE
+++AviSynth

In the right pane, there should be an entry for plugindir2_5. Make sure it reads C:\Program Files\AviSynth 2.5\plugins - if it doesn't, or it doesn't exist, then edit it to read such or create a new entry so that it does (right-click, New->String Value; name the string plugindir2_5, and edit it to match the right plugins directory).
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

Locked

Return to “AviSynth Help”