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 Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 15th July 2020, 14:16   #1  |  Link
terminator3
Registered User
 
Join Date: Jan 2009
Posts: 31
Error avisinth help pls

When I am going to use the line darken toon it gives me an error, there is no function named "linedarken_toon" can you help me? thanks

script:
Mpeg2Source("C:\Users\xx\Desktop\55a.d2v")

import("C:\Program Files (x86)\AviSynth+\plugins\SAA.avs")

import("C:\Program Files (x86)\AviSynth+\plugins\fastlinedarken.avsi")


import("C:\Program Files (x86)\AviSynth+\plugins\FastLineDarken 1.3 MT MOD.avs")


crop( 8, 2, -2, -2)


BicubicResize(704,528,0,0.75)

awarpsharp2(thresh=128, blur=3, type=0, depth=16, chroma=4)

linedarken_toon(sstrength=180, sdboost=2.0, srange=0, warpdepth=8, fast=false)
ConvertToYV2()





I am using avisinth + but with normal plugins, I also tried mt and the same thing happens
terminator3 is offline   Reply With Quote
Old 15th July 2020, 15:04   #2  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
I dont touch cartoons so have no idea, but maybe you need this:- https://forum.doom9.org/showpost.php...39&postcount=2
__________________
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 15th July 2020, 15:37   #3  |  Link
terminator3
Registered User
 
Join Date: Jan 2009
Posts: 31
Quote:
Originally Posted by StainlessS View Post
I dont touch cartoons so have no idea, but maybe you need this:- https://forum.doom9.org/showpost.php...39&postcount=2
now it appears to me, there is no function called "awarsharp"

before it works for me on the other computer, I don't understand why not now

Last edited by terminator3; 15th July 2020 at 17:16.
terminator3 is offline   Reply With Quote
Old 15th July 2020, 17:14   #4  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,156
Quote:
Originally Posted by terminator3 View Post
now it appears to me, there is no function called "awarsharp"
Download awarpsharp
kedautinh12 is offline   Reply With Quote
Old 15th July 2020, 17:19   #5  |  Link
terminator3
Registered User
 
Join Date: Jan 2009
Posts: 31
Quote:
Originally Posted by kedautinh12 View Post
Download awarpsharp
I have it downloaded


terminator3 is offline   Reply With Quote
Old 15th July 2020, 22:41   #6  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Maybe post output of this(Avisynth InfoTool) :- https://forum.doom9.org/showthread.php?t=176079
__________________
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 15th July 2020, 23:47   #7  |  Link
terminator3
Registered User
 
Join Date: Jan 2009
Posts: 31
Quote:
Originally Posted by StainlessS View Post
Maybe post output of this(Avisynth InfoTool) :- https://forum.doom9.org/showthread.php?t=176079
https://pastebin.com/bgx6JNtu

terminator3 is offline   Reply With Quote
Old 16th July 2020, 00:57   #8  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by terminator3 View Post
That's not the whole log. the first section is missing (Avisynth version, etc.)
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 16th July 2020, 01:14   #9  |  Link
terminator3
Registered User
 
Join Date: Jan 2009
Posts: 31
Quote:
Originally Posted by Groucho2004 View Post
That's not the whole log. the first section is missing (Avisynth version, etc.)
https://pastebin.com/6YBHtWJU
terminator3 is offline   Reply With Quote
Old 16th July 2020, 01:56   #10  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
You really need to cleanup your plugins directory, its totally full o' shit in there, you should not just dump everything in plugins,
there is source code and all sorts of crap.
Also, You only choose one of each plugin, these are all alternative versions of the same plugin,
Code:
C:\Program Files (x86)\AviSynth+\plugins\Repair.dll  [2005-07-31]
C:\Program Files (x86)\AviSynth+\plugins\RepairS.dll  [2005-07-31]
C:\Program Files (x86)\AviSynth+\plugins\RepairSSE2.dll  [2005-07-31]
C:\Program Files (x86)\AviSynth+\plugins\RepairSSE3.dll  [2005-07-31]
The first one is CPP only, 'S' one is static linked, ie no CPP runtimes dll required, the SSE2 and SSE3 specific instruction versions.
It is basically pot-luck which one will be used. [I usually use SSE2 versions]

Read the output of Avisynth InfoTool, it lists the many problems you have. Suggest move everything out of plugins dir,
and move back only the plugins you need. Dump all the rubbish files (as noted in your infotool log), and choose
which of the alternatives you want.

Where you have v2.58 and v2.60 version plugs, suggest keep the v2.60 plugs.

EDIT:
Quote:
I am using avisinth + but with normal plugins, I also tried mt and the same thing happens
Actually, your log says v2.60 standard, not +.
Quote:
[Avisynth info]
VersionString: AviSynth 2.60, build:Feb 20 2015 [03:16:45]
VersionNumber: 2.60
File / Product version: 2.6.0.5 / 2.6.0.5
__________________
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 July 2020 at 02:35.
StainlessS is offline   Reply With Quote
Old 16th July 2020, 22:30   #11  |  Link
terminator3
Registered User
 
Join Date: Jan 2009
Posts: 31
Quote:
Originally Posted by StainlessS View Post
You really need to cleanup your plugins directory, its totally full o' shit in there, you should not just dump everything in plugins,
there is source code and all sorts of crap.
Also, You only choose one of each plugin, these are all alternative versions of the same plugin,
Code:
C:\Program Files (x86)\AviSynth+\plugins\Repair.dll  [2005-07-31]
C:\Program Files (x86)\AviSynth+\plugins\RepairS.dll  [2005-07-31]
C:\Program Files (x86)\AviSynth+\plugins\RepairSSE2.dll  [2005-07-31]
C:\Program Files (x86)\AviSynth+\plugins\RepairSSE3.dll  [2005-07-31]
The first one is CPP only, 'S' one is static linked, ie no CPP runtimes dll required, the SSE2 and SSE3 specific instruction versions.
It is basically pot-luck which one will be used. [I usually use SSE2 versions]

Read the output of Avisynth InfoTool, it lists the many problems you have. Suggest move everything out of plugins dir,
and move back only the plugins you need. Dump all the rubbish files (as noted in your infotool log), and choose
which of the alternatives you want.

Where you have v2.58 and v2.60 version plugs, suggest keep the v2.60 plugs.

EDIT:


Actually, your log says v2.60 standard, not +.
I already got it, in the end it was a failure of the awarsharp version, a question, I have put all the x86 plugins, if I want to make it x64, would I have to search all of them in x64? or is the normal Avisinth not ready? or would I have to put the mt?

Last edited by terminator3; 16th July 2020 at 22:36.
terminator3 is offline   Reply With Quote
Old 16th July 2020, 22:53   #12  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Quote:
I already got it, in the end it was a failure of the awarsharp version, a question, I have put all the x86 plugins, if I want to make it x64, would I have to search all of them in x64? or is the normal Avisinth not ready? or would I have to put the mt?
Above is a little unclear, but I think this is the answer you want,
x64 Avisynth/+ requires ALL x64 plugins, (x86 only x86 plugins, x64 only x64 plugins).
You can however have x86 and x64 versions installed side by side, where each has its own plugins as set in the system registry.


On Wikii

x86 plugs
http://avisynth.nl/index.php/External_filters

x64 plugs
http://avisynth.nl/index.php/AviSynth%2B_x64_plugins
__________________
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 16th July 2020, 23:47   #13  |  Link
terminator3
Registered User
 
Join Date: Jan 2009
Posts: 31
Quote:
Originally Posted by StainlessS View Post
Above is a little unclear, but I think this is the answer you want,
x64 Avisynth/+ requires ALL x64 plugins, (x86 only x86 plugins, x64 only x64 plugins).
You can however have x86 and x64 versions installed side by side, where each has its own plugins as set in the system registry.


On Wikii

x86 plugs
http://avisynth.nl/index.php/External_filters

x64 plugs
http://avisynth.nl/index.php/AviSynth%2B_x64_plugins
But when it comes to coding, how do I know that you are using the plugins of version + 64?
terminator3 is offline   Reply With Quote
Old 17th July 2020, 00:24   #14  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Quote:
But when it comes to coding, how do I know that you are using the plugins of version + 64?
VirtualDub x86 loading avs script uses/requires avisynth x86 and x86 avisynth plugins, VirtualDub x64 loading avs script uses/requires avisynth x64 and x64 avisynth plugins,
MeGUI x86 requires x86 avisynth & x86 avisynth pluigins, MeGUI x64 requires x64 avisynth & x64 avisynth pluigins,
etc.

NOTE,
Avisynth x86 AUTOMATICALLY loads CPP plugin dll's from the avs x86 plugins directory, you do not need LoadPlugin call for dll's in Plugins dir,
same for x64 dll's and Plugins dir.
[Avisynth+ auto loads C plugins too, dont need LoadCPlugin]

AVSI scripts in Plugins directory are AUTOMATICALLY Imported, you do NOT need Import of avsi files in the plugins directory.
[Avisynth+ auto loads avs scripts too]

Groucho2004 SysInfo:- https://forum.doom9.org/showthread.php?t=176131
Quote:
Originally Posted by Groucho2004 View Post
This plugin returns info about OS/CPU*/Memory/Screen/Avisynth

Code:
System related functions:

  string SI_OSVersionString()
    Returns Operating System info
  
  float SI_OSVersionNumber()
  int   SI_OSBuildNumber
  float SI_OSServicePack
  bool  SI_IsOS64Bit
  bool  SI_IsWin10
  bool  SI_IsWin7
  bool  SI_IsWin8
  bool  SI_IsWin81
  bool  SI_IsWinServer2003
  bool  SI_IsWinServer2008
  bool  SI_IsWinServer2008R2
  bool  SI_IsWinServer2012
  bool  SI_IsWinServer2012R2
  bool  SI_IsWinVista
  bool  SI_IsWinXP
    Convenience functions for the running OS
  
  string SI_CPUName()
    Returns the CPU brand string + code name
  
  int SI_NumberOfCPUs()
    Returns the number of physical CPUs in the system
  
  int SI_PhysicalCores()
    Returns the total number of physical cores in the system. If multiple CPUs
    are in the system, the sum of physical cores of all CPUs is returned.
  
  int SI_LogicalCores()
    Returns the total number of logical cores in the system. If multiple CPUs
    are in the system, the sum of logical cores of all CPUs is returned.
  
  string SI_CPUExtensions()
    Returns supported CPU extensions/Instruction sets.
  
  bool SI_HasAVX
  bool SI_HasAVX2
  bool SI_HasAVX512
  bool SI_HasFMA3
  bool SI_HasFMA4
  bool SI_HasMMX
  bool SI_HasSSE
  bool SI_HasSSE2
  bool SI_HasSSE3
  bool SI_HasSSE41
  bool SI_HasSSE42
  bool SI_HasSSSE3
    Convenience functions for supported CPU extensions
  
  int SI_TotalSystemMemory()
    Returns the total system memory in MiB
  
  int SI_AvailableSystemMemory()
    Returns the available system memory in MiB
  
  string SI_ProcessName()
    Returns the name of the current process
  
  int SI_ProcessBitness()
    Returns the bitness of the current process
  
  int SI_ModulePath()
    Returns the path of the SysInfo plugin.
  
  int SI_ScreenResX()
    Returns the horizontal screen resolution
  
  int SI_ScreenResY()
    Returns the vertical screen resolution
  
  int SI_ScreenBitsPerPixel()
    Returns the screen BPP
  
  int SI_ScreenVRefresh()
    Returns the vertical refresh rate of the screen

  string SI_GetEnvVar(string "env_var")
    Returns the value of the environment variable "env_var"
    Example:
    Path = SI_GetEnvVar("PATH")
    The argument "env_var" is not case-sensitive

  string SI_UserName()
    Returns the name of the currently logged in user

  

Avisynth related functions:

  string AI_AvsFileVersion
    Returns the value of the FileVersion resource property

  string AI_AvsProductVersion
    Returns the value of the ProductVersion resource property

  int AI_AvsPlusBuildNumber
    Returns the AVS+ build number

  bool AI_IsAvs26
    Returns true if the Avisynth VersionNumber is >= 2.6

  bool AI_IsAvsPlus
    Returns true for Avisynth+

  string AI_AvsDLLPath()
    Returns the path of the loaded avisynth.dll

  string AI_AvsDLLTimeStamp()
    Returns the time stamp (last write time) of the loaded avisynth.dll

  bool AI_InternalFunctionExists(string "name")
    Returns true if an internal function ("name") is available in the current environment
    The argument 'name' is not case-sensitive

  bool AI_ExternalFunctionExists(string "name")
    Returns true if an external (plugin) function ("name") is available in the current environment
    The argument 'name' is not case-sensitive

  bool AI_FunctionExists(string "name")
    Returns true if an internal or external (plugin) function ("name") is available in the current environment
    The argument 'name' is not case-sensitive

  string AI_AutoLoadPath(string "registry_location")
    Returns the Avisynth auto-load directory/directories. Valid arguments for "registry_location" are (case sensitive!):
    (See http://avisynth.nl/index.php/AviSynth%2B#New_Functions for info on the origin of these arguments)
      USER_PLUS_PLUGINS
      MACHINE_PLUS_PLUGINS
      USER_CLASSIC_PLUGINS   
      MACHINE_CLASSIC_PLUGINS


Other functions:

  float SysInfoVersion()
    Returns SysInfo.dll version number
See SI_ProcessBitness(), returns bitness of Avisynth Process.
__________________
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; 17th July 2020 at 01:14.
StainlessS is offline   Reply With Quote
Old 17th July 2020, 01:27   #15  |  Link
terminator3
Registered User
 
Join Date: Jan 2009
Posts: 31
Quote:
Originally Posted by StainlessS View Post
VirtualDub x86 loading avs script uses/requires avisynth x86 and x86 avisynth plugins, VirtualDub x64 loading avs script uses/requires avisynth x64 and x64 avisynth plugins,
MeGUI x86 requires x86 avisynth & x86 avisynth pluigins, MeGUI x64 requires x64 avisynth & x64 avisynth pluigins,
etc.

NOTE,
Avisynth x86 AUTOMATICALLY loads CPP plugin dll's from the avs x86 plugins directory, you do not need LoadPlugin call for dll's in Plugins dir,
same for x64 dll's and Plugins dir.
[Avisynth+ auto loads C plugins too, dont need LoadCPlugin]

AVSI scripts in Plugins directory are AUTOMATICALLY Imported, you do NOT need Import of avsi files in the plugins directory.
[Avisynth+ auto loads avs scripts too]

Groucho2004 SysInfo:- https://forum.doom9.org/showthread.php?t=176131


See SI_ProcessBitness(), returns bitness of Avisynth Process.
Do you know how I could get the most out of the Ryzen 3960x processor with the Avisinth? any command or script or something?
terminator3 is offline   Reply With Quote
Old 17th July 2020, 01:41   #16  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Not really, thats kinda like asking

"what is the best ?"

Best what ?

Avs x64 is defo the way to go, IF ALL YOUR REQUIRED PLUGINS ARE IMPLEMENTED for X64.
__________________
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 17th July 2020, 01:42   #17  |  Link
terminator3
Registered User
 
Join Date: Jan 2009
Posts: 31
Quote:
Originally Posted by StainlessS View Post
Not really, thats kinda like asking

"what is the best ?"

Best what ?

Avs x64 is defo the way to go, IF ALL YOUR REQUIRED PLUGINS ARE IMPLEMENTED for X64.
but surely you are not taking advantage of all the cpu threads
terminator3 is offline   Reply With Quote
Old 17th July 2020, 01:50   #18  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
You will have to ask specific questions, not
"What is the bestest super duper does everything better than any other script, and does it faster and more precise and makes my coffee and doles out free cigarettes and beer", type question.

Others may be able to answer CPU threads usage questions a lot better than I, I've only recently started using mutlithreading.
__________________
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
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 12:20.


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