Plugin toaccess multiple clips and frame varying parameters >> Freelancing and Remote Work >> FORUM for IT
FORUM for IT

FORUM for IT



SearchSearch   Users   Registration   Entrance
Today: 15.07.2025 - 09:58:23
Pages:  1  2  

Plugin toaccess multiple clips and frame varying parameters

Advertising

.
AuthorMessage

djKibblez

user




Statistics:
Messages: 403
Registration: 05.21.2003

I am trying to make a plugin for Avisynth which can be used for various effects including transitions. I need to access multiple clips.In the filter sdk I do not find info on how to access multiple clips. For eg. vi-> and child-> are used in the sdk. These have to be different incase of multiple clips. Will it be permissible to use clip.child-> and clip.vi-> ? I also need to use some internally included filters but with parameters varying for each frame including resizing. Animate filter expressly prohibits using varying size.How to call these with frame as input and other parameters? still keep env, vi of original unaffected? The header files of these internal filters specify clip and not frame. Since I am new I think that using internal functions will be faster with optimized code rather than me writing anew such code.

---------------------
Message # 1 11.05.21 - 13:53:16
RE: Plugin toaccess multiple clips and frame varying parameters

Griffmeister

user




Statistics:
Messages: 146
Registration: 07.16.2002

shows how to access 2 clips regards Simon

---------------------
Message # 2 11.05.21 - 13:57:48
RE: Plugin toaccess multiple clips and frame varying parameters

sOuNdOcToR

user




Statistics:
Messages: 130
Registration: 06.10.2003

I have a transition plugin under construction and almost complete now. I found out that I can just use "clip" parameter as any "normal" parameter - assigned to PClip member variable. So far transitions are circle : one clip is inside the circle, one is outside and line : one clip to the left, other one to the right. What transitions are you planning ?

---------------------
2003 Audi A4
Message # 3 11.05.21 - 14:01:51
RE: Plugin toaccess multiple clips and frame varying parameters

MZNorth

user




Statistics:
Messages: 155
Registration: 04.18.2002

How about explode...

---------------------
Message # 4 11.05.21 - 14:11:21
RE: Plugin toaccess multiple clips and frame varying parameters

ATMH

user




Statistics:
Messages: 178
Registration: 11.20.2003

Shubin: Nice examples . Ok - I'll shut up now. ;)

---------------------
Message # 5 11.05.21 - 14:22:42
RE: Plugin toaccess multiple clips and frame varying parameters

Brent_Vino

user




Statistics:
Messages: 2,394
Registration: 01.05.2002

Actually I won't. Anyway - regarding calling internal filters you need to look at "env->Invoke()". Invoke will return an AVSValue with the clip resulting from the filter you pass to it. See at avisynth.org. An example (grabbed from MipSmooth - it uses invoke a lot): Code:

---------------------
Message # 6 11.05.21 - 14:34:03
RE: Plugin toaccess multiple clips and frame varying parameters

paul e

user




Statistics:
Messages: 13,006
Registration: 03.04.2002

Because it costs.

---------------------
___________________ Paul E '11 AW 135i ; Sold: '99 White M3 81k mi; Dinan SC kit, 6"/3.48" sc pulleys, Aftercooler: 10.5 psi-367 SAE rwhp/304 rwftlbs @80 degrees ambient (still with OBDII manifold & stock cats); DynoTuning by Nick G (techniquetuning.
Message # 7 11.05.21 - 14:43:41
RE: Plugin toaccess multiple clips and frame varying parameters

43rdWorld

user




Statistics:
Messages: 574
Registration: 12.10.2003

Well, that's clarified the situation :rolleyes: :) I'd previously thought that a lot of Avisynth internal filters called other ones (to save duplicating code) as part of the C++ philosophy :confused: regards Simon

---------------------
Message # 8 11.05.21 - 14:51:21
RE: Plugin toaccess multiple clips and frame varying parameters

Matt Jacobson

user




Statistics:
Messages: 387
Registration: 07.03.2002

@siwalters They do call others filters, but not with Invoke, they use new Filter directly, which saves the linking step, AVSValue manipulation... @tempetai Invoke Dissolve with the proper parameters (you may want to generate appropriate dummy video) and only use the sound.

---------------------
Message # 9 11.05.21 - 14:57:27
RE: Plugin toaccess multiple clips and frame varying parameters

Airbus

user




Statistics:
Messages: 96
Registration: 03.06.2003

while you are in "comment mode/mood", could you describe how the variables (global, non-global) fit into this picture? I still don't get that "from end to start" thing and where and when the variables are actually stored. E.g. why there is a offset by one call if I use ScriptClip twice (the second subtitle shows the result of the first only at the next GetFrame Code:

---------------------
Message # 10 11.05.21 - 15:01:01
RE: Plugin toaccess multiple clips and frame varying parameters
Request for feature... : Previous topic
Pages:  1  2  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants