Log in

View Full Version : Avisynth+


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 [112]

real.finder
27th April 2020, 18:34
And behind the scenes mode 26-28 are ready from C up to avx2. I decided to do the Repair side as well because these things are ugly when done half finished.

big thanks!

I think I will add SoftSharpen my edits/modeds scripts

pinterf
27th April 2020, 22:11
And we have an RgTools of which version no longer starts with zero :)

real.finder
27th April 2020, 23:34
And we have an RgTools of which version no longer starts with zero :)

what a happy day :goodpost:

and yes, as you said in github
pinterf: I swear that by seeing the code mode 28 is different from mode 27 but I cannot find a clip where 27 and 28 gave different results :)
seems the output is same for quick test!

SoftSharpen now works! but no x64 since it use asharp :( but in any case I will did some edit for it (later!) to make it HBD ready

pinterf
28th April 2020, 17:24
And finally. 3.5.2. test builds, files only.
There are plugins and plugins64 folder inside, not plugins+ and plugins64+, sorry. But I think not much mixed environment (with avs 2.6) are left by now.

Those who cannot wait for the feature explanations please check readme_history.txt for changes.

But until I post about the new features use these builds as usual. If they fail in something test them with other scripts. Thank you.

This one with array support (preferred)
https://drive.google.com/open?id=1_4yCKy1oSpCZQpVPISlTIp3u5jFpAgRW

Without arrays
https://drive.google.com/open?id=1EY1wgsh7pQD7kqj_2suD--nSj12hILX4

Groucho2004
28th April 2020, 18:09
And finally. 3.5.2. test builds, files only.
There are plugins and plugins64 folder inside, not plugins+ and plugins64+, sorry. But I think not much mixed environment (with avs 2.6) are left by now.

Those who cannot wait for the feature explanations please check readme_history.txt for changes.

But until I post about the new features use these builds as usual. If they fail in something test them with other scripts. Thank you.

This one with array support (preferred)
https://drive.google.com/open?id=1_4yCKy1oSpCZQpVPISlTIp3u5jFpAgRW

Without arrays
https://drive.google.com/open?id=1EY1wgsh7pQD7kqj_2suD--nSj12hILX4
I just looked at readme_history.txt - Crikey, you've been busy.

:thanks:

StainlessS
28th April 2020, 18:58
From Brief comparison with previous issue.


AviSynth+_3.5.2_(r3218,_neo,_i386)_MOD_ADD_Function_List.TXT

NOTE, We cannot tell if more than single modification or addition has been made, some may have been omitted.

######
AlignedSplice "cci"

###### NEW
Array ".*"
ArrayGet "a.+"
ArraySize "a"

######
BlankClip "[]c*[length]i[width]i[height]i[pixel_type]s[fps]f[fps_denominator]i[audio_rate]i[channels]i[sample_type]s[color]i[color_yuv]i[clip]c[colors]a"

######
ConditionalFilter "cccn[show]b[local]b"

######
ConditionalReader "css[show]b[condvarsuffix]s[local]b"

######
ConditionalSelect "cnc+[show]b[local]b"

###### NEW
DumpFilterGraph "c[outfile]s[mode]i[nframes]i[repeat]b"

###### NEW
Format "s.+"

###### NEW
Func "n"

###### NEW
IsArray "."

###### NEW
IsFunction "."

###### NEW
OnCPU "n"

######
Prefetch "c[threads]i[frames]i"

###### NEW
propClearAll "c"
propDelete "cs"
propGetAll "c[offset]i"
propGetAny "cs[index]i[offset]i"
propGetAsArray "cs[offset]i"
propGetDataSize "cs[index]i[offset]i"
propGetFloat "cs[index]i[offset]i"
propGetInt "cs[index]i[offset]i"
propGetKeyByIndex "c[index]i[offset]i"
propGetString "cs[index]i[offset]i"
propGetType "cs[offset]i"
propNumElements "cs[offset]i"
propNumKeys "c[offset]i"
propSet "csa"
propSetArray "csn"
propSetFloat "csn[mode]i"
propSetInt "csn[mode]i"
propSetString "csn[mode]i"
propShow "c[size]i[showtype]b"

######
ScriptClip "cn[show]b[after_frame]b[local]b"

######
SetFilterMTMode "si[force]b"

###### NEW
SetCacheMode "[mode]i"
SetDeviceOpt "[opt]i[val]i"

###### NEW
SetGraphAnalysis "b"

###### NEW
SetMaxCPU "s"

######
SetMemoryMax "[]i[type]i[index]i"

###### NEW
TypeName "."

######
UnalignedSplice "cci"

###### NEW
UseVar "cs+"

######
WriteFile "c[filename]sn+[append]b[flush]b[local]b"

######
WriteFileEnd "c[filename]sn+[append]b[local]b"

######
WriteFileIf "c[filename]sn+[append]b[flush]b[local]b"

######
WriteFileStart "c[filename]sn+[append]b[local]b"


Top Notch P, thanks :)

pinterf
28th April 2020, 19:08
propSets must be of different signatures.
Function with n-function parameter types are from Nekopanda's fork. And filter graph. And the mt fixes. Thanks for him.

tormento
28th April 2020, 19:19
Crikey
I think it's 35 years I did not hear that word.

And it was from my 70 yo english teacher reading some XVIII century book.

pinterf
28th April 2020, 19:22
If no instant fix is required then I will have time to explain the features, one per day :). Unless you explain them to yourselves.

tormento
28th April 2020, 19:23
And finally. 3.5.2. test builds, files only.
Wow, what a work!

Can we use "old" plugins or they won't work as you told us?

pinterf
28th April 2020, 19:27
I found no failing plugins so far. But I have only a limited set of them compared to the community.

tormento
28th April 2020, 19:40
I found no failing plugins so far. But I have only a limited set of them compared to the community.

The infamous recompile of KNLMeansCL is not necessary?

pinterf
28th April 2020, 20:26
Ah yes. I forgot it because I had fixed it for my tests.

tormento
28th April 2020, 20:29
Ah yes. I forgot it because I had fixed it for my tests.
[2020-04-28][21:28:30] error: System exception - Access Violation
[2020-04-28][21:28:30] (D:/Programmi/Media/AviSynth+/plugins64/Zs_RF_Shared-1.121.avsi, line 698)
[2020-04-28][21:28:30] (D:/Programmi/Media/AviSynth+/plugins64/SMDegrain-3.1.2·106.avsi, line 610)
[2020-04-28][21:28:30] (D:/Programmi/Media/AviSynth+/plugins64/SMDegrain-3.1.2·106.avsi, line 181)
[2020-04-28][21:28:30] (E:\in\2_15 Amabili resti\resti_4_500.avs, line 16)
[2020-04-28][21:28:30]
[2020-04-28][21:28:30] PROCESS EXITED WITH ERROR CODE: 1
I noticed. :rolleyes:

real.finder
29th April 2020, 06:41
And finally. 3.5.2. test builds, files only.
There are plugins and plugins64 folder inside, not plugins+ and plugins64+, sorry. But I think not much mixed environment (with avs 2.6) are left by now.

Those who cannot wait for the feature explanations please check readme_history.txt for changes.

But until I post about the new features use these builds as usual. If they fail in something test them with other scripts. Thank you.

This one with array support (preferred)
https://drive.google.com/open?id=1_4yCKy1oSpCZQpVPISlTIp3u5jFpAgRW

Without arrays
https://drive.google.com/open?id=1EY1wgsh7pQD7kqj_2suD--nSj12hILX4

thank you for the update :thanks:

I note MP_Pipeline still need return last, also another cases https://forum.doom9.org/showthread.php?p=1906156#post1906156


and all https://github.com/chikuzen plugins now don't work :devil:

chikuzen, we need you back, please come back!

pinterf
29th April 2020, 07:16
thank you for the update :thanks:

I note MP_Pipeline still need return last, also another cases https://forum.doom9.org/showthread.php?p=1906156#post1906156


and all https://github.com/chikuzen plugins now don't work :devil:

chikuzen, we need you back, please come back!
Yes, probably they are using the old avs+ specific IScriptEnvironment2. I found TMM2_avx2 at myself, which ones are actively used?

real.finder
29th April 2020, 07:35
Yes, probably they are using the old avs+ specific IScriptEnvironment2. I found TMM2_avx2 at myself, which ones are actively used?

addition to TMM2 (https://github.com/chikuzen/TMM2), I have those

https://github.com/chikuzen/TCannyMod (I have fork for names changes https://github.com/realfinder/TCannyMod)

https://github.com/chikuzen/CombMask (also I have fork for names changes https://github.com/realfinder/CombMask)

https://github.com/chikuzen/MPEG2DecPlus (this one also need HBD deblock update from https://github.com/mysteryx93/Avisynth-Deblock)

https://github.com/chikuzen/yadifmod2

https://github.com/chikuzen/DCTFilter

https://github.com/chikuzen/PlanarTools

https://github.com/chikuzen/TEMmod

https://github.com/chikuzen/ReduceFlicker

maybe you should wait chikuzen for some time (few days) before update them

pinterf
29th April 2020, 07:48
Anyway, the current working branch is here:
https://github.com/AviSynth/AviSynthPlus/tree/neo
I'm using the new AviSynth headers from there.
They are not 100% final but those things that are needed for a rebuild are there.

pinterf
29th April 2020, 07:51
addition to TMM2 (https://github.com/chikuzen/TMM2), I have those

https://github.com/chikuzen/TCannyMod (I have fork for names changes https://github.com/realfinder/TCannyMod)

https://github.com/chikuzen/CombMask (also I have fork for names changes https://github.com/realfinder/CombMask)

https://github.com/chikuzen/MPEG2DecPlus (this one also need HBD deblock update from https://github.com/mysteryx93/Avisynth-Deblock)

https://github.com/chikuzen/yadifmod2

https://github.com/chikuzen/DCTFilter

https://github.com/chikuzen/PlanarTools

https://github.com/chikuzen/TEMmod

https://github.com/chikuzen/ReduceFlicker

maybe you should wait chikuzen for some time (few days) before update them
PlanarTools is for what?

real.finder
29th April 2020, 07:54
PlanarTools is for what?

IIRC, it's faster in convert YUY2 to YV16

jpsdr
29th April 2020, 09:06
There are plugins and plugins64 folder inside, not plugins+ and plugins64+, sorry. But I think not much mixed environment (with avs 2.6) are left by now.

I think i missed this one.
What do you mean exactly ?
Do you mean that the new version doesn't look anymore for "+" folders, and if i stay with my actual configuration with plugins in "+" and "not +" folders, the plugins within the "+" folders will not be loaded ?

pinterf
29th April 2020, 09:19
I think i missed this one.
What do you mean exactly ?
Do you mean that the new version doesn't look anymore for "+" folders, and if i stay with my actual configuration with plugins in "+" and "not +" folders, the plugins within the "+" folders will not be loaded ?
No, no, recently we were asked why the "filesonly" distribution is changing its internal folder names, plus or non-plus. The installer puts them into plugins(64)+ directory, while I provide it sometimes without the plus in the name inside the zip file.
I meant that in an Avisynth+-only system it is not problem if those appear in the main plugin directory and not in the plus (as long as you don't have two sets of the bundled plugins, one in the plugins the other in the plugins+ folder)

jpsdr
29th April 2020, 09:41
Ok, fine.

tormento
29th April 2020, 09:44
PlanarTools is for what?
KNLMeansCL badly needed here.

Testing purposes, of course. :D

StainlessS
29th April 2020, 10:51
31st October 2018, 11:25
I guess thread control means editing the very first post. Good idea, considering.

28th April 2019, 07:08:
Regarding the new thread, yeah, I'll start it, promise, unfortunately my draftsman is on holiday :), I wanted to write a proper intro w/o mis-spelling.
Anyway it's time for a new release but I found way too many other tasks and coding adventures for myself, so it's just a question of weeks.


Wonderful new Avs+ v3.x version with arrays and such, what a great opportunity to have its own thread, or do you need think about it for a little while. :)

ChaosKing
29th April 2020, 11:12
With new stuff like arrays, why not make life easier and add also a official scripts folder while we are at it?
We would have then 2 plugins and 1 script folder.

pinterf
29th April 2020, 11:42
KNLMeansCL badly needed here.

Testing purposes, of course. :D
Unofficial test, grab it from here
https://github.com/pinterf/KNLMeansCL/releases/download/1.1.1b/KNLMeansCL_1.1.1_test_for_avs3.5.2.7z

Groucho2004
29th April 2020, 11:50
Unofficial test, grab it from here
https://github.com/pinterf/KNLMeansCL/releases/download/1.1.1b/KNLMeansCL_1.1.1_test_for_avs3.5.2.7zWorks, thanks!

tormento
29th April 2020, 15:03
With new stuff like arrays, why not make life easier and add also a official scripts folder while we are at it?
We would have then 2 plugins and 1 script folder.



+1 to have AVSI folder.

In my dreams a repo where AVS+ automatically downloads needed plugins and AVSI functions to run a script...

real.finder
29th April 2020, 15:07
In my dreams a repo where AVS+ automatically downloads needed plugins and AVSI functions to run a script...

there are this already https://forum.doom9.org/showthread.php?t=176443

tormento
29th April 2020, 15:41
there are this already https://forum.doom9.org/showthread.php?t=176443
:thanks:

ChaosKing
29th April 2020, 15:54
The gui is an older release and has a bug where it can mix up 32 and 64bit plugins (fixed in VS version). Use avsrepo for now to be on the safe side. https://forum.doom9.org/showthread.php?t=175822

Zetti
29th April 2020, 16:09
New thread >> AviSynth+ thread Vol.2

https://forum.doom9.org/showthread.php?t=181351

tormento
29th April 2020, 18:29
Unofficial test, grab it from here
Tested and working. A bit faster but perhaps it's placebo effect.

LigH
30th April 2020, 08:19
^ tormento: So, "imports[64]" like "plugins[64]"?
_

Oops, missed a new page. :o

real.finder
1st May 2020, 07:02
Hi everyone, I just want to say thanks to all responsible for the continued work on AviSynth+. There are now over 100+ 64-bit plugins available to use and still a handful missing.

http://avisynth.nl/index.php/Category:Plugins_x64

:thanks:

I just note that Asd did backport SmoothUV and DeDot and DeCross from VS, cool :goodpost:

tormento
2nd May 2020, 11:00
I just note that Asd did backport SmoothUV and DeDot and DeCross from VS, cool :goodpost:
As I wrote in the vol.2 thread it would be better starting to divide plugins into AVS supported interface versions, thus easing programmers to start a revision of the missing plugins.

Selur
31st May 2020, 16:04
Using Avisynth+ 3.6 32bit loading:
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\LoadDll.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\AddGrainC.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\dfttest.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\EEDI2.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\eedi3.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\FFT3DFilter.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\masktools2.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\mvtools2.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\TDeint.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\RgTools.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\PlanarTools.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\MedianBlur2.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\nnedi3.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\nnedi2.dll")
LoadCPlugin("I:\Hybrid\32bit\AVISYN~1\yadif.dll")
LoadDLL("I:\Hybrid\32bit\avisynthPlugins\libfftw3f-3.dll")
Import("I:\Hybrid\32bit\avisynthPlugins\QTGMC.avsi")
Import("I:\Hybrid\32bit\avisynthPlugins\SMDegrain.avsi")
Import("I:\Hybrid\32bit\avisynthPlugins\AnimeIVTC.avsi")
LoadCPlugin("I:\Hybrid\32bit\AVISYN~1\ffms2.dll")
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
# loading source: F:\TestClips&Co\files\interlaceAndTelecineSamples\interlaced\YUV422_sample.avi
# input color sampling YUY2@8
# input luminance scale tv
FFVideoSource("F:\TESTCL~1\files\INTERL~1\INTERL~1\YUV422~1.AVI",cachefile="E:\Temp\avi_1deca8d5573c8cb8cd8489678b764f38_853323747_1_0.ffindex",fpsnum=25,colorspace="YUY2")
# current resolution: 720x576
# deinterlacing
ConvertToYUY2(interlaced=true)
AssumeTFF()
QTGMC(Preset="Fast", ediThreads=2)
SelectEven()
# cropping
Crop(16,4,-16,-12)# 688x560
# filtering
ConvertToYV12(matrix="Rec601")
PreFetch(8)
return last
I get:
'I:/Hybrid/32bit/AVISYN~1/PlanarTools.dll' cannot be used as a plugin for AviSynth.
same script works fine with Avisynth+ 3.5 (r3106, 3.5, i386)

Using:
LoadCPlugin("I:\Hybrid\32bit\AVISYN~1\ffms2.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\mvtools2.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\masktools2.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\MedianBlur2.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\SSE2Tools.dll")
Import("I:\Hybrid\32bit\avisynthPlugins\SMDegrain.avsi")
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
# loading source: F:\TestClips&Co\test.avi
# input color sampling YV12@8
# input luminance scale tv
FFVideoSource("F:\TESTCL~1\test.avi",cachefile="E:\Temp\avi_0197468a3716844ade54f3f30f60eeda_853323747_1_0.ffindex",fpsnum=25,colorspace="YV12")
# current resolution: 640x352
# filtering
# grain handling
SMDegrain(interlaced=false)
PreFetch(8)
return last
I get:
Script error: expected `)' ((null), line 1, column 4) (I:\Hybrid\32bit\avisynthPlugins\SMDegrain.avsi, line 879) (I:\Hybrid\32bit\avisynthPlugins\SMDegrain.avsi, line 75) (E:\Temp\tempPreviewAvisynthFile17_00_53_414.avs, line 16)
Line 75 of SMDegrain.avsi is
"sisphbd = AvsPlusVersionNumber > 2294"
which calls line 879:
function AvsPlusVersionNumber()
{
IsAvsNeo ? eval(MidStr(VersionString(),20,4)) : IsAvsPlus ? eval(MidStr(VersionString(),17,4)) : 0
}


-> did I miss some change that broke old plugins and scripts? (couldn't see anything about it in the release notes)

Cu Selur

StainlessS
31st May 2020, 16:45
Selur, Get new SMDeGrain and Zs_RF_Shared.avsi from Real.Finder repository:- https://github.com/realfinder/AVS-Stuff/tree/master/avs%202.5%20and%20up
things changed [everything currently in turmoil].
Also, post in the new thread maybe, this one nearly dead.

real.finder
31st May 2020, 17:00
this thread should closed

and new thread should mention this one as an archive (edit: it's already did)

@Moderators

Selur
31st May 2020, 18:14
@StanlessS: Thanks for the info about the new scripts.