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. |
3rd April 2020, 17:18 | #5362 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
Code:
mp_pipeline(""" ColorBars(width=640, height=480, pixel_type="yv12") admfilter() Prefetch(4) ### ### return last """)
__________________
See My Avisynth Stuff |
|
4th April 2020, 12:26 | #5364 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Tormento,
AvsInit.avsi allows you to use a GIMPORT directory where avs/avsi scripts are auto loaded (by AvsInit), and makes it possible to have scripts that will load under avs v2.58/2.60/2.61 Std with GScript, OR, under Avs+, either x86 or x64, and where all can use Gscript style constructs [for/While/If]. Can have a GIMPORT in plugins directory specifically for a single version of Avs, or where using G2K4 Avisynth Universal Installer, a universal GIMPORT directory used by all avs versions, dont need same identical scripts in all avs version plugins. Also some other functionality. AvsInit.avsi :- https://forum.doom9.org/showthread.p...hlight=AvsInit EDIT: Some functions callable from inside AvsInit or user scripts. Code:
AvsInit_LoadPlugin(fn) Load CPP dll with filename FN, sending debug stuff (success/fail) to DebugView window. [Avs+ will also load C plugins]. AvsInit_LoadCPlugin(fn) Load C dll with filename FN, sending debug stuff (success/fail) to DebugView window. AvsInit_Import(fn) Import[GImport() if GScript Present] avs/avsi script with filename FN, sending debug stuff (success/fail) to DebugView window. ### Directory of files load/Import functions. Return total number of scripts imported, or dll's loaded, AvsInit_DImport(Dir) Import[GImport() if GScript Present] All avs/avsi scripts in folder Dir, sending debug stuff (success/fail) to DebugView window. AvsInit_DLoad(Dir) Load all CPP/C plugin dll's in folder Dir, sending debug stuff (success/fail) to DebugView window. Both DImport and DLoad, funcs may be of use in user functions to satisfy some script dependency, where a complex script requires multiple dll's or script loaded. The Import style functions use GImport() when GScript is available, otherwise Import(). Any scripts imported should have any GScript style wrappers removed, eg >>>> CODE >>>> GScript(""" # <<<<<<<<<<========= REMOVE THIS LINE ... Some gscript stuff, if/else/for/next while etc ... """) # <<<<<<<<<<========= REMOVE THIS LINE <<<< END CODE <<<< With GScript wrappers removed and imported via this library, then should be able to use same scripts in any version of avs standard(with Gscript plugin) or avs+, whether it be avs v2.58, avs v2.60/2.61 Standard, avs+ x86 or 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 ??? Last edited by StainlessS; 4th April 2020 at 13:11. |
4th April 2020, 13:29 | #5365 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,542
|
Quote:
A question: why to have such a complicate solution as AvsInit when it would be way easier to have a separate AVSI folder?
__________________
@turment on Telegram |
|
4th April 2020, 15:00 | #5367 | Link |
Registered User
Join Date: Jan 2014
Posts: 2,309
|
MP_Pipeline with Avisynth+ colorspace support
https://github.com/pinterf/MP_Pipeli...eases/tag/0.20 Code:
0.20 (20200404) pinterf * Avisynth+ support Add version resource Build: move to VS2019, v142 and v141_xp toolset |
4th April 2020, 15:35 | #5368 | Link | |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,883
|
Quote:
I tested it on XP as well with 16bit and even 32bit as bit depth along with things like RGBPS and RGBAPS: they all work fine. Thank you! Thank you! Thank you!! *_* Now the cherry on the cake would be audio support. After that, MPP is gonna be perfect! Please, I beg you to do that as this way we can leave it as it is for the years to come and it would actually save me time by avoiding to make an additional separate script without MPP, just for the audio. p.s Ferenc, if you have a LinkedIn account I'll definitely leave you a good recommendation for everything you've done for this community. |
|
4th April 2020, 15:52 | #5369 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
__________________
See My Avisynth Stuff |
|
4th April 2020, 17:35 | #5370 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
but it's still need return last, so it's avs+ test problem? will it stay like this? there are another examples in gispos post in another cases not only mpp
__________________
See My Avisynth Stuff Last edited by real.finder; 4th April 2020 at 17:41. |
|
4th April 2020, 19:28 | #5371 | Link | |||
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Quote:
Quote:
Quote:
__________________
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; 4th April 2020 at 19:33. |
|||
4th April 2020, 19:33 | #5372 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
if anyone want to test admfilter (or anything else) with MT, GRunT update is needed http://www.mediafire.com/file/77urom...0.2tst.7z/file
its the one that pinterf made years ago
__________________
See My Avisynth Stuff |
5th April 2020, 08:06 | #5375 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
so that mean VS one was already has bug
__________________
See My Avisynth Stuff |
5th April 2020, 10:26 | #5377 | Link |
Registered User
Join Date: May 2009
Location: Belgium
Posts: 1,743
|
Hi,
I'd like to re-install Avisynth+, I still get an old version, but I don't know if I have to select the simple or the vcredist version. When should the vcredist version be used ? That's for Win 7 64. Thanks |
5th April 2020, 12:32 | #5379 | Link |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
|
Tip:
Always use this All-In-One VC++ redist package from Abbodi and be happy... https://github.com/abbodi1406/vcredist/releases |
Thread Tools | Search this Thread |
Display Modes | |
|
|