Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 16th August 2017, 15:48   #1  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,056
Avisynth_c.dll revisited

A terrible fate has befallen Defiant, my desktop of the past several years, and I've had to build a new one. this means I've had to reinstall everything, which means that I'm running into problems that I figured out how to solve several years ago and then forgot how I solved. In this case, Avisynth_c.dll is giving me headaches. Thanks to my previous two threads on the subject, I know that I shouldn't put it in the plugin autoload directory unless I need to load some Avisynth 2.0 C plugins and use STDcall for all the 2.5 C plugins. However, when it's NOT in the plugin autoload directory, vdub and Tsunami give me 3 error messages saying "The program can't start because avisynth-c.dll is missing from your computer. Try reinstalling the program". But then after clicking through all of those, everything works fine.

So how do I get rid of these errors without ruining my ability to actually use the loadcplugin command?
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 16th August 2017, 16:08   #2  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Did you try this?
Groucho2004 is offline   Reply With Quote
Old 16th August 2017, 17:09   #3  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
You can auto install C plugins, eg

InitExternalPlugins.avsi (my current init script)
Code:
fn1 ="C:\NON-INSTALL\DGMpgDec\DGDecode.DLL"
Exist(fn1) ? LoadPlugin(fn1) : NOP

fn2= "C:\NON-INSTALL\DGAVCDec\DGAVCDecode.dll"
Exist(fn2) ? LoadPlugin(fn2) : NOP

#fn3= "C:\Program Files\AviSynth\plugins\FFMS_C\ffms2.dll"                # FFMpegSource C Plugin
#Exist(fn3) ? LoadCPlugin(fn3) : NOP

fn4= "C:\Program Files\AviSynth\plugins\FFMS2000_CPP\ffms2.dll"           # FFMpegSource CPP Plugin
#Exist(fn4) ? LoadPlugin(fn4) : NOP
Exist(fn4) ? LoadPlugin(fn4) : RT_DebugF("FFMS2000_CPP: NOT FOUND") # added in BLUE

#fn5= "C:\Program Files\AviSynth\plugins\FFMS_CPP\ffms2_26.dll"            # FFMpegSource CPP Plugin
#Exist(fn5) ? LoadPlugin(fn5) : NOP

fn6= "C:\Program Files\AviSynth\plugins\LSMASH_CPP\LSMASHSource.dll"      # L-Smash CPP
Exist(fn6) ? LoadPlugin(fn6) : NOP
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 16th August 2017 at 17:14.
StainlessS is offline   Reply With Quote
Old 17th August 2017, 22:21   #4  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,056
Quote:
Originally Posted by Groucho2004 View Post
Did you try this?
No, I did not try a solution to a completely different and only tangentially related problem.

Quote:
Originally Posted by StainlessS View Post
You can auto install C plugins
Okay but will that work with C 2.5 plugins if avisynth_c.dll (which is for C 2.0 plugins) is in the autoload directory? And how would i modify it for my needs? I've never seen "avsi" files before so I can't make heads or tails of your code.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 18th August 2017, 05:09   #5  |  Link
FredThompson
Registered User
 
FredThompson's Avatar
 
Join Date: Feb 2002
Location: Charlotte, NC USA
Posts: 1,984
put avisynth_c.dll in a different directory in your path.
__________________
Reclusive fart.
Collecting Military, Trains, Cooking, Woodworking, Fighting Illini, Auburn Tigers
FredThompson is offline   Reply With Quote
Old 18th August 2017, 17:24   #6  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,056
Okay, I found the answer. The secret is to install the x86 version of the Microsoft Visual C++ Runtime, 2010. This will also eliminate the error messages relating to vcruntime140.dll, msvcr100.dll, etc., which is what I was actually trying to solve when I figured this out.

Quote:
Originally Posted by FredThompson View Post
put avisynth_c.dll in a different directory in your path.
And how, exactly, is that supposed to make the "I can't find avisynth_c.dll" error messages go away?
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.

Last edited by Katie Boundary; 18th August 2017 at 17:34.
Katie Boundary is offline   Reply With Quote
Old 18th August 2017, 17:43   #7  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by Katie Boundary View Post
No, I did not try a solution to a completely different and only tangentially related problem.
Your question was:
Quote:
Originally Posted by Katie Boundary View Post
So how do I get rid of these errors without ruining my ability to actually use the loadcplugin command?
The link I gave you showed you the solution to that problem.

I don't know why I even bother...
Groucho2004 is offline   Reply With Quote
Old 18th August 2017, 17:45   #8  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,056
Quote:
Originally Posted by Groucho2004 View Post
Your question was:

The link I gave you showed you the solution to that problem.

I don't know why I even bother...
Your proposal said "move avisynth_c.dll out of the auto-load directory"

Not having that file in the autoload directory was part of what was causing the problem to begin with.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 18th August 2017, 17:48   #9  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by Katie Boundary View Post
Your proposal said "move avisynth_c.dll out of the auto-load directory"

Not having that file in the autoload directory was part of what was causing the problem to begin with.
So, you're getting an error from VDub even when you explicitly load avisynth_c.dll before your C2.0 plugin(s)?

How about posting the script that gives you trouble?
Groucho2004 is offline   Reply With Quote
Old 18th August 2017, 17:51   #10  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Also, run AVSMeter with the switches "-avsinfo -log" and post the avsinfo_x86.log file.
Groucho2004 is offline   Reply With Quote
Old 23rd August 2017, 17:38   #11  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,056
Quote:
Originally Posted by Groucho2004 View Post
So, you're getting an error from VDub even when you explicitly load avisynth_c.dll before your C2.0 plugin(s)?
I'm not using any "C2.0" plugins.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 23rd August 2017, 17:48   #12  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by Katie Boundary View Post
I'm not using any "C2.0" plugins.
In that case no program should complain about a missing avisynth_c.dll.
You could most likely locate your Avisynth problem by following my advice in my last post (#10).

Last edited by Groucho2004; 24th August 2017 at 12:28.
Groucho2004 is offline   Reply With Quote
Old 11th June 2019, 17:17   #13  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,056
I just reinstalled windows and avisynth on a newly acquired laptop and I'm seeing a lot of these old problems again. This time, however, the avisynth_c.dll error persists even after installing all the MS VC++ runtimes.

Quote:
Originally Posted by Groucho2004 View Post
In that case no program should complain about a missing avisynth_c.dll.
And yet they do.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 11th June 2019, 18:08   #14  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by Katie Boundary View Post
I just reinstalled windows and avisynth on a newly acquired laptop and I'm seeing a lot of these old problems again. This time, however, the avisynth_c.dll error persists even after installing all the MS VC++ runtimes.
Installing these runtimes will not help with anything related to avisynth_c.dll.


Quote:
Originally Posted by Katie Boundary View Post
I'm not using any "C2.0" plugins.
Quote:
Originally Posted by Groucho2004 View Post
In that case no program should complain about a missing avisynth_c.dll.
Quote:
Originally Posted by Katie Boundary View Post
And yet they do.
Only C2.0 plugins complain about a missing avisynth_c.dll.



Anyway, run the Avisynth Info Tool and post the log (Save Info...).
__________________
Groucho's Avisynth Stuff

Last edited by Groucho2004; 11th June 2019 at 22:21.
Groucho2004 is offline   Reply With Quote
Old 11th June 2019, 18:18   #15  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Quote:
Originally Posted by Groucho2004 View Post
Run the Avisynth Info Tool and post the log (Save Info...).
You know with 100% surety, that she aint gonna do it. EDIT: It aint Ghetto enough, bitchin' is though, apparently. [still, nice to see she finally saw sense and installed all runtimes]
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 11th June 2019 at 18:47.
StainlessS is offline   Reply With Quote
Old 11th June 2019, 18:53   #16  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by StainlessS View Post
nice to see she finally saw sense and installed all runtimes]
Not that it matters much but how do you know she installed all of them?
__________________
Groucho's Avisynth Stuff

Last edited by Groucho2004; 11th June 2019 at 19:04.
Groucho2004 is offline   Reply With Quote
Old 11th June 2019, 18:59   #17  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Quote:
Originally Posted by Katie Boundary View Post
I just reinstalled windows and avisynth on a newly acquired laptop and I'm seeing a lot of these old problems again. This time, however, the avisynth_c.dll error persists even after installing all the MS VC++ runtimes.
You guessin' that she's tellin' porkies ?
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 11th June 2019, 19:01   #18  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by StainlessS View Post
You guessin' that she's tellin' porkies ?
This post makes me think that she installs things randomly. I doubt very much that she knows the whole list of MS C++ runtimes.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 11th June 2019, 19:05   #19  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Arh well, as they say, arrogance is bliss.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 2nd August 2019, 05:58   #20  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,056
Are there any MS Visual C++ runtimes other than 2008, 2010, 2012, 2013, and 2015/7 (2017 is just a slightly updated 2015), all in both x86 and x64 flavors? Those are the ones that I have.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:22.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.