View Single Post
Old 30th April 2017, 18:43   #10  |  Link
Joachim Buambeki
Registered User
 
Join Date: May 2010
Location: Germany, Munich
Posts: 49
Thanks.

Quote:
Originally Posted by Myrsloik View Post
Simply add c.std.SelectEvery(clip, cycle=y, offsets=0) assuming you only want to keep 1 in y frames.
So my script would look like this?
Code:
Helperscript() #outputs weight (w1, w2, w3,...,w99) for each frame
c.misc.AverageFrames(clip, [w1, w2, w4, ...,w99]) 
c.std.SelectEvery(clip, cycle=y, offsets=0)
If yes, wouldn't that average x/y more frames than necessary if they are discarded afterwards anyway?
Quote:
Originally Posted by Myrsloik View Post
Simply add c.std.SelectEvery(clip, cycle=y, offsets=0) assuming you only want to keep 1 in y frames. You can pass any vector with up to 25 values to AverageFrames. There's no need to add zeroes at the ends.
Does that mean "AverageFrames()" can only process 25 frames? If yes, could this be increased or do I need to call it multiple times and merge them afterwards?

TIA!

Last edited by Joachim Buambeki; 30th April 2017 at 20:56.
Joachim Buambeki is offline   Reply With Quote