View Single Post
Old 30th April 2017, 17:20   #7  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
Quote:
Originally Posted by Joachim Buambeki View Post
I just remembered that attachments take forever to get approved and uploaded the image to an imagehoster.

Thanks for chiming in. Can you make the script dynamic so one can specify the speedup and it internally calculates the necessary values? Otherwise a separate script is needed for each speedup factor. This then would also allow to use different functions.

Also, what about precision? If you call overlay(), merge() or similar again and again, doesn't that hurt precision? If the weighted merging would be done in a separate plugin like StainlessS's Clipblend() with 32bit internal precision, wouldn't that be favourable?
c.misc.AverageFrames(clip, [-1, -3, -3, -6, 0, 17, 42, ...], scale=0.01)

I guess this is what you want. And if it isn't then I'm not sure just how you want to combine those frames.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote