No function called mpeg2source?
- Chaobunny12
- Joined: Tue Jul 04, 2006 7:41 am
No function called mpeg2source?
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?
- mirkosp
- The Absolute Mudman
- Joined: Mon Apr 24, 2006 6:24 am
- Status: (」・ワ・)」(⊃・ワ・)⊃
- Location: Gallarate (VA), Italy
- Contact:
Re: No function called mpeg2source?
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).
- Panky
- Joined: Wed Oct 04, 2006 12:57 am
- Status: dozing...
- Location: some place called Kokomo...
Re: No function called mpeg2source?
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?
- Chaobunny12
- Joined: Tue Jul 04, 2006 7:41 am
Re: No function called mpeg2source?
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.
- Chaobunny12
- Joined: Tue Jul 04, 2006 7:41 am
Re: No function called mpeg2source?
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.
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.
- Chaobunny12
- Joined: Tue Jul 04, 2006 7:41 am
Re: No function called mpeg2source?
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. >_>
I thought I wasn't supposed to get these crazy problems with Windows 7. >_>
- Qyot27
- Surreptitious fluffy bunny
- Joined: Fri Aug 30, 2002 12:08 pm
- Status: Creepin' between the bullfrogs
- Location: St. Pete, FL
- Contact:
Re: No function called mpeg2source?
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).
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