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. |
22nd February 2017, 10:37 | #3061 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
__________________
Groucho's Avisynth Stuff Last edited by Groucho2004; 22nd February 2017 at 10:40. |
|
22nd February 2017, 12:05 | #3062 | Link |
Pajas Mentales...
Join Date: Dec 2004
Location: Spanishtán
Posts: 496
|
Dependency check throught asvmeter under wine works with MvTools2 2.7.14.22 is FFT3W is not installed, for example.
then i assume this funcionality works ok also works the version of the plugins in some cases (if has implemented) Code:
┌─┤[$]|[sl1pkn07]|[sL1pKn07]|[~/aplicaciones/breeze-gtk-git]| └───╼ mv /home/wine-Avisynth/drive_c/windows/syswow64/libfftw3f-3.dll /home/wine-Avisynth/drive_c/windows/syswow64/libfftw3f-3.dll.old ┌─┤[$]|[sl1pkn07]|[sL1pKn07]|[~/aplicaciones/breeze-gtk-git]| └───╼ avsmeter -avsinfo wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe" AVSMeter 2.4.9 (x86) - Copyright (c) 2012-2017, Groucho2004 VersionString: AviSynth+ 0.1 (r2420, MT, i386) VersionNumber: 2.60 File version: 0.0.0.0 Interface Version: 6 Multi-threading support: Yes Linker/compiler version: 14.0 Avisynth.dll location: Avisynth.dll time stamp: Cannot determine timestamp PluginDir+ (HKLM, x86): C:\Program Files (x86)\AviSynth+\plugins+ PluginDir2_5 (HKLM, x86): C:\Program Files (x86)\AviSynth+\plugins [CPP 2.5 / 32 Bit plugins] C:\Program Files (x86)\AviSynth+\plugins\AddGrainC.dll [1.7.1.0] C:\Program Files (x86)\AviSynth+\plugins\avstp.dll [1.0.3.0] C:\Program Files (x86)\AviSynth+\plugins\dfttest.dll [1.9.4.0] C:\Program Files (x86)\AviSynth+\plugins\dither.dll C:\Program Files (x86)\AviSynth+\plugins\flash3kyuu_deband.dll C:\Program Files (x86)\AviSynth+\plugins\LSMASHSource.dll [CPP 2.6 / 32 Bit plugins] C:\Program Files (x86)\AviSynth+\plugins+\ConvertStacked.dll C:\Program Files (x86)\AviSynth+\plugins+\DePan.dll [2.13.1.2] C:\Program Files (x86)\AviSynth+\plugins+\DePanEstimate.dll [2.10.0.1] C:\Program Files (x86)\AviSynth+\plugins+\DirectShowSource.dll C:\Program Files (x86)\AviSynth+\plugins+\ffms2.dll C:\Program Files (x86)\AviSynth+\plugins+\ImageSeq.dll C:\Program Files (x86)\AviSynth+\plugins+\KNLMeansCL.dll C:\Program Files (x86)\AviSynth+\plugins+\masktools2.dll [2.2.1.0] C:\Program Files (x86)\AviSynth+\plugins+\mvtools2.dll [2.7.14.22] C:\Program Files (x86)\AviSynth+\plugins+\RgTools.dll [0.94.0.0] C:\Program Files (x86)\AviSynth+\plugins+\SangNom2.dll C:\Program Files (x86)\AviSynth+\plugins+\Shibatch.dll C:\Program Files (x86)\AviSynth+\plugins+\TimeStretch.dll C:\Program Files (x86)\AviSynth+\plugins+\VDubFilter.dll [Plugin errors/warnings] ------------------------------------------------------------------------------ "C:\Program Files (x86)\AviSynth+\plugins\dfttest.dll" Dependencies that could not be loaded: libfftw3f-3.dll Note: "libfftw3f-3.dll can be downloaded here: http://www.fftw.org/install/windows.html libfftw3f-3.dll must be placed in a directory to which the 'PATH' environment variable points, i.e. System32/SysWOW64" ------------------------------------------------------------------------------ "C:\Program Files (x86)\AviSynth+\plugins+\DePanEstimate.dll" Dependencies that could not be loaded: libfftw3f-3.dll Note: "libfftw3f-3.dll can be downloaded here: http://www.fftw.org/install/windows.html libfftw3f-3.dll must be placed in a directory to which the 'PATH' environment variable points, i.e. System32/SysWOW64" ------------------------------------------------------------------------------ "C:\Program Files (x86)\AviSynth+\plugins+\mvtools2.dll" Dependencies that could not be loaded: libfftw3f-3.dll Note: "libfftw3f-3.dll can be downloaded here: http://www.fftw.org/install/windows.html libfftw3f-3.dll must be placed in a directory to which the 'PATH' environment variable points, i.e. System32/SysWOW64" ------------------------------------------------------------------------------ ┌─┤[$]|[sl1pkn07]|[sL1pKn07]|[~/aplicaciones/breeze-gtk-git]| └───╼ greetings Last edited by sl1pkn07; 22nd February 2017 at 12:31. |
22nd February 2017, 12:23 | #3063 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
I think I figured it out. In order to determine the correct location of avisynth.dll on 64 bit Windows and avoiding file re-direction problems (which happen on some Windows versions) I'm using code that is only supported on a native Windows platform. I'll have a look if I can rectify this.
__________________
Groucho's Avisynth Stuff |
22nd February 2017, 12:44 | #3064 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
|
Also the kind of dependency is different. AviSynth plugins which need libfftw3f-3.dll would use exported functions from within this DLL to be functional at all. But I believe they won't use any function from within avisynth.dll, there is probably no necessary runtime dependency in this direction. Vice versa, avisynth.dll instead uses exported functions from within the plugin DLL's (when used in the script).
|
22nd February 2017, 17:17 | #3065 | Link | |
Digital Artifact
Join Date: Sep 2015
Location: Houston Texas
Posts: 37
|
Quote:
A second for + is an easy addition. Am I remembering correctly that multiple plugin paths are only supported by Avisynth+ ? Looking for an elegant solution to use a standard plugin repo along with the unique plugins within the switcher, but not know enough about the internal loading mechanism. Can plugin directories be nested and will all synth versions look into all sub directories for plugins ? |
|
22nd February 2017, 18:10 | #3066 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
No Avisynth version supports nested plugin directories.
__________________
Groucho's Avisynth Stuff |
|
22nd February 2017, 18:23 | #3067 | Link |
Digital Artifact
Join Date: Sep 2015
Location: Houston Texas
Posts: 37
|
I further narrowed the issue with avisynth+ and
the Authors.avs down to this internal function. +chr(13)+ Code:
ovText = "AviSynth Authors:"+chr(13)+ \ "----------------------------"+chr(13)+ but this does run. Code:
ovText = "AviSynth Authors:" |
22nd February 2017, 19:09 | #3068 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
Code:
ovText = "AviSynth Authors:"+chr(13)+ \ "----------------------------"+chr(13) MessageClip(ovText) work fine in avs26 and avs+ x64, your code is not correct in normal avs26 btw so I did't test it in avs+
__________________
See My Avisynth Stuff |
|
22nd February 2017, 21:42 | #3069 | Link | |
Digital Artifact
Join Date: Sep 2015
Location: Houston Texas
Posts: 37
|
I do not have 64 bit wine installed so I can only test 32 bit.
The Authors.avs runs correctly for me in all flavors of avs26 except for avs+ x32. Code:
ovText = "AviSynth Authors:"+chr(13)+ \ "----------------------------"+chr(13) MessageClip(ovText) to run on avs+ x32 until I remove the +chr(13)+ Please share your experience so I can improve compatibility. Quote:
|
|
22nd February 2017, 22:30 | #3070 | Link |
Registered User
Join Date: Dec 2004
Location: Terneuzen, Zeeland, the Netherlands, Europe, Earth, Milky Way,Universe
Posts: 689
|
Thanks to Groucho's exellent Avisynth installer I discovered Avisynth Plus.
With MT enabled it runs my scripts 3-4 times faster! Fred.
__________________
About 8mm film: http://www.super-8.be Film Transfer Tutorial and example clips: https://www.youtube.com/watch?v=W4QBsWXKuV8 More Example clips: http://www.vimeo.com/user678523/videos/sort:newest |
23rd February 2017, 11:03 | #3071 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
tCope, have you tried replacing Chr(13) with Chr(10) # Carriage Return -> Line Feed.
I personally would never use Chr(13) for such a task. EDIT: On AVS v2.6 standard, both Chr(10) and Chr(13) work as expected.
__________________
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; 23rd February 2017 at 11:10. |
23rd February 2017, 16:04 | #3073 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,309
|
Quote:
Here is the code for MessageClip https://github.com/pinterf/AviSynthP...ource.cpp#L436 There is a GetTextBoundingBox call that establishes the dimensions of a rendered text to get the video width and height. It uses \n for separators. https://github.com/pinterf/AviSynthP...rlay.cpp#L2569 These codes were not changed since the classic Avisynth versions (aside from an anti-warning int cast) |
|
23rd February 2017, 16:46 | #3074 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,419
|
MessageClip isn't the thing erroring out. The Authors.avs tcope is referring to is this, which hasn't been updated since 2007. There's something 'clever' that the video block is doing that causes AviSynth+ to crash, and it's not a simple MessageClip invocation. My bet is something in Overlay, given the variable tango going on in there.
Last edited by qyot27; 23rd February 2017 at 16:49. |
23rd February 2017, 17:07 | #3075 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,309
|
Quote:
Code:
Exception while processing ScriptEnvironment::ThrowError(). Code:
static std::string FormatString(const char *fmt, va_list args) { va_list args2; va_copy(args2, args); _locale_t locale = _create_locale(LC_NUMERIC, "C"); // decimal point: dot int count = _vsnprintf_l(NULL, 0, fmt, locale, args); std::vector<char> buf(count + 1); _vsnprintf_l(buf.data(), buf.size(), fmt, locale, args2); _free_locale(locale); va_end(args2); return std::string(buf.data()); } |
|
24th February 2017, 01:05 | #3076 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,419
|
Wine acts a little differently than a native Windows distribution, but since the crash I was referring to happened on Windows 10, I'd think that the Exception may happen in Windows too, but that error message isn't readily available in Windows unless you dive into a debugging session - in Wine, it's front and center in the Terminal you ran the program from.
EDIT: Somewhat never mind, I updated to r2420 and the crash on Windows disappeared, and I could verify that that Exception error message shows up under Wine 2.2 on Ubuntu 16.10, regardless of trying to use 32-bit or 64-bit. Last edited by qyot27; 24th February 2017 at 03:49. |
24th February 2017, 03:22 | #3077 | Link |
Digital Artifact
Join Date: Sep 2015
Location: Houston Texas
Posts: 37
|
What ever is happening is deff unique
to avs+ .. all the other versions of avs run it with no issues. With absolutely no other changes to Authors.avs than changing this Code:
ovText = "AviSynth Authors:"+chr(13)+ Code:
ovText = "AviSynth Authors:" the author info below that line gets rendered but the script runs with no issues. |
24th February 2017, 08:53 | #3079 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,309
|
Quote:
20161222 r2347dev - Fix: ScriptClip would show garbage text when internal exception occurs instead of the error message Regarding the wine issue, I will make a special release and post the link to you and tcope. |
|
24th February 2017, 15:08 | #3080 | Link | |
Formerly davidh*****
Join Date: Jan 2004
Posts: 2,493
|
Quote:
Code:
ovText = "AviSynth Authors:"+chr(13)+ \ "----------------------------"+chr(13) Since the --------- doesn't show in tcope's screenshot, I'm guessing he's got confused over line continuations. tcope - post your full working and broken scripts in order to get an accurate diagnosis. Edit: perhaps by putting the backslash on the beginning of the line, the rest of the line is being ignored? Last edited by wonkey_monkey; 24th February 2017 at 15:10. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|