View Single Post
Old 30th April 2017, 21:36   #14  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Quote:
Originally Posted by Joachim Buambeki View Post
Thanks.

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?
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!
I'll increase it to 63 for the next version. But be aware that once a frames only changes +-1% it probably won't have a visible impact at all. All calculations are done with no loss of precision.

Exactly how did you get those numbers anyway? How accurate does it have to be? Chopped off sinc not good enough?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote