There is no function called....

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
User avatar
Second Element
Joined: Tue May 13, 2003 5:28 am
Location: City of Trees
Org Profile

There is no function called....

Post by Second Element » Tue Aug 21, 2007 5:30 am

After a recent hard drive crash, I recently re-installed a lot of programs for video editing, including the most current version of the AMVApp.

However, I am running into problems with my AVIsynth scripts. Whether I try to open it in Premiere, or open my d2v file as a script in Virtual Dub Mod, I keep getting the following error:

"there is no function called 'MPEG2source'.

User avatar
Purge
Joined: Mon Oct 10, 2005 9:18 am
Location: Under Aus
Org Profile

Post by Purge » Tue Aug 21, 2007 10:57 pm

post your script! - are you loading the required plugin or at least have it in the plugin folder?

User avatar
Kariudo
Twilight prince
Joined: Fri Jul 15, 2005 11:08 pm
Status: 1924 bots banned and counting!
Location: Los taquitos unidos
Contact:
Org Profile

Post by Kariudo » Tue Aug 21, 2007 11:34 pm

try getting the latest mpeg2dec3.dll or dgdecode.dll (depends on whether you use dvd2avi or dgindex. I don't remember if it's mpeg2dec3 or decomb that has mpeg2source() )

then make sure that the .dll files are in the avisynth plugin directory
Image
Image

RDphantom
Joined: Thu Jan 18, 2007 7:37 pm
Contact:
Org Profile

Post by RDphantom » Mon Sep 03, 2007 4:19 pm

Hello, I am having the same problem and I hope that someone can help me.

I am editing in Premiere by importing a .avs file and editing with that. Over this weekend I installed several programs to capture and then edit flash video from the web. Today when I opened my editing project in premiere, none of my footage showed up and I got this message:
Script Error: there is no function named "mpeg2source"
(C:\Documents and Settings\My Computer\My Documents\Rebecca|IfEveryoneCared\D2V Files\Campfire 1.avs, line 1)

The programs that I installed were:
WM Recorder 11.3
FLV Player
Replay Converter
#1 Video Converter
Video Edit Magic 4.3
Blaze Media Pro.

My Script in VirtualDubMod is:
AssumeFPS(24)
ConvertToRGB32()
Crop(4,60,-4,-60)
LanczosResize(720,368)

I'd like to try to reinstall the latest mpeg2dec3.dll but I don't know where to get it. Can anyone link me to the place?

Thanks so much for your help, I appreciate it so much.
RD

User avatar
Kariudo
Twilight prince
Joined: Fri Jul 15, 2005 11:08 pm
Status: 1924 bots banned and counting!
Location: Los taquitos unidos
Contact:
Org Profile

Post by Kariudo » Mon Sep 03, 2007 4:41 pm

http://avisynth.org/warpenterprises/#other
it's the fifth from the top
Image
Image

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

Post by Scintilla » Mon Sep 03, 2007 4:42 pm

If you need MPEG2Dec3DG.dll (the last version of MPEG2Dec3 before Donald Graft changed it to DGDecode), you can get it here:
http://www.aquilinestudios.org/scripts
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

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

Post by Scintilla » Mon Sep 03, 2007 4:44 pm

Append:

MPEG2Dec3DG.dll, from what I understand, is also the last version of the MPEG-2 decoder plugin that will accept .D2V files created with DVD2AVI 1.76. If you get DGDecode.dll instead, you will have to remake your .D2V files with DGIndex.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

RDphantom
Joined: Thu Jan 18, 2007 7:37 pm
Contact:
Org Profile

Post by RDphantom » Mon Sep 03, 2007 5:17 pm

Kariudo and Scintilla, thanks for replying so quickly. I tried both of the plugins you recommended and neither worked. But I'm wondering if they were the right ones. I already use DGIndex to index my VOB files, and then open them via avisynth in VDMod. Do I need something different than what you recommended? Where do I get it?
RD

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

Post by Scintilla » Mon Sep 03, 2007 5:30 pm

When you say they didn't work, do you mean that they still produced the "There is no function called MPEG2Source" error, or something different? If the error is still the same, then that means you didn't put the DLLs in your AVISynth plugins directory (and only one of them should have been in there at a time).

If you already used DGIndex to create the D2V files, then you should be using the version of DGDecode.dll that came with DGIndex as your MPEG-2 decoder plugin.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

RDphantom
Joined: Thu Jan 18, 2007 7:37 pm
Contact:
Org Profile

Post by RDphantom » Thu Sep 06, 2007 7:35 pm

Scintilla, sorry I've taken so long to get back to you. I did check my AVISynth plugins folder and the DGDecode.dll was there, but I was still getting the same error message as before. However, I uninstalled those programs and restored my computer back to a week ago and that did the trick. I don't know what the problem was exactly, but it all seems to be working now. Thanks so much for your prompt help!

RD

Locked

Return to “AviSynth Help”