"No function named mpeg2source" on Win 7 64bit

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Mister Hatt
Joined: Tue Dec 25, 2007 8:26 am
Status: better than you
Contact:
Org Profile

Re: "No function named mpeg2source" on Win 7 64bit

Post by Mister Hatt » Fri Jul 09, 2010 3:31 am

Just gonna point out that for 64-bit FFMS2 it depends which plugin you have. If you have the developer approved one, you do not need LoadCPlugin. If you use the one from the avs64 project, then you DO need LoadCPlugin. I would suggest the officially approved one which is loaded like any normal plugin. TheRyuu compiles it every so often in Darkhold and when it's stable it gets added to the FFMS2 site.

User avatar
SQ
Doesn't have a title
Joined: Fri Nov 08, 2002 8:11 pm
Status: youtube.com/SQ
Location: Upstate NY
Contact:
Org Profile

Re: "No function named mpeg2source" on Win 7 64bit

Post by SQ » Fri Jul 09, 2010 6:01 pm

I think I may be going about this in entirely the wrong way. But I'm lost.

I just downloaded the x64 avisynth and virtualdub. My script, which works fine in x32 version of each program, comes up with "There is no function named DirectShowSource".
I downloaded all my x64 directshow filters here. I was unsure where to place them though.
I guessed (most likely wrong) and put them in the plugin64 folder of Avisynth. Still nothing. Added the LoadPlugin line, I get an error that it is not a plugin.
I tried LoadCPlugin instead, I got unrecognized exception.

Someone please help me, I know I'm being stupid. Where should I have put the directshow filters?
Discord: @standardquip (Vars)
BentoVid.com

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 named mpeg2source" on Win 7 64bit

Post by mirkosp » Fri Jul 09, 2010 6:17 pm

DON'T use directshowsource. It's not frame accurate. Use FFVideoSource instead. Or, if for some reason you really really need to use directshow to load in avisynth (you most likely don't, probably), use DSS2, which is frame accurate. I'm not sure where to get a 64bit avss.dll (the one to use DSS2), but I'm positive it's around somewhere. As for FFVideoSource, there have been links to it (ffms2) in this thread.

Still, however, directshowsource is an internal avisynth function, so if it is not working, then I think something might have gone wrong when installing avisynth, and I'd suggest a reinstall.
Image

User avatar
SQ
Doesn't have a title
Joined: Fri Nov 08, 2002 8:11 pm
Status: youtube.com/SQ
Location: Upstate NY
Contact:
Org Profile

Re: "No function named mpeg2source" on Win 7 64bit

Post by SQ » Fri Jul 09, 2010 6:26 pm

I saw ffms2 mentioned, but no links to it... Quick google and nothing. Am I blind?

I followed the avs 64 readme file.. Not sure what could've gone wrong... But I guess I will try again.
Discord: @standardquip (Vars)
BentoVid.com

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 named mpeg2source" on Win 7 64bit

Post by mirkosp » Fri Jul 09, 2010 6:36 pm

Look for "kemuri-_9's FFMS2 (The Fabulous FM Source 2)" in there. Also, as qyot pointed out:
Qyot27 wrote:64-bit FFMS2 is a C-interface plugin. You have to use LoadCPlugin, not LoadPlugin.
Remember to do:

Code: Select all

loadcplugin("ffms2.dll")
ffvideosource("file.mkv")
or whatever applies to your specific case.

As for the install, I don't personally have a 64bit os so I never tried 64bit avisynth and can't help much further... perhaps it really is not internal for 64bit avisynth, but it would seem weird, that's why I'm assuming something went wrong.
Image

User avatar
SQ
Doesn't have a title
Joined: Fri Nov 08, 2002 8:11 pm
Status: youtube.com/SQ
Location: Upstate NY
Contact:
Org Profile

Re: "No function named mpeg2source" on Win 7 64bit

Post by SQ » Sat Jul 10, 2010 10:40 am

Awesome, it worked! Thank you.
Discord: @standardquip (Vars)
BentoVid.com

Locked

Return to “AviSynth Help”