FORUM for IT

FORUM for IT



SearchSearch   Users   Registration   Entrance
Today: 29.01.2026 - 18:15:30
Pages:  1  2  

Plugin toaccess multiple clips and frame varying parameters

AuthorMessage

JaySpec7

user


Statistics:
Messages: 66
Registration: 03.24.2002

[QUOTE]Originally posted by siwalters SimpleSample 1.7[/URL] shows how to access 2 clips QUOTE] I have gone through this Simple Sample 1.7. Still I have some doubts. vi has been used without first defining it. As vi can be different for the two clips should not we call vi1=child1->GetVideoInf() and vi2 = child2->GetVideoInf() and then check if both vi have similar info eg pixel type, color space, etc? Or does Avisynth prechecks whenever multiple clips are called? In my attempt I intend to use clips which may have differing width and heights.



Message # 11 11.05.21 - 15:07:57
RE: Plugin toaccess multiple clips and frame varying parameters

TiAgMC

user


Statistics:
Messages: 631
Registration: 11.02.2003

"vi" and "child" are defined in the GenericVideoFilter class, so whenever you use that class vi is already defined. from avisynth.h: Code:



Message # 12 11.05.21 - 15:17:35
RE: Plugin toaccess multiple clips and frame varying parameters

V Shah

user


Statistics:
Messages: 19
Registration: 02.26.2001

@vcmohan AFAIK plain "vi" refers to the main clip and your idea of using vi2 = child2->GetVideoInf() should let you access any sub clips (assuming your syntax is right - never tried it myself :) ) SimpleSamples are VERY simple :o If your idea works then let me know and I'll produce V1.8 :) @sh0dan Miscomunication error - I thought you were saying not to use Invoke at all. :o - thanks for the clarification. regards Simon


---------------------
Vishal '03 Track Evo '97 Eurosport TS M3 - Sold [Track Videos]
Message # 13 11.05.21 - 15:27:02
RE: Plugin toaccess multiple clips and frame varying parameters
Request for feature... : Previous topicNext topic: if my cpu usage is at 100%
Pages:  1  2  

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


Participants