View Single Post
Old 3rd May 2019, 07:01   #34  |  Link
SilSinn9801
Chiptuner & VapourSynther
 
SilSinn9801's Avatar
 
Join Date: Mar 2019
Location: Scarlet Devil Mansion, Gensōkyō
Posts: 52
Quote:
Originally Posted by HolyWu View Post
Since we are in python scripting, you can simply define a helper function for convenience.

Code:
def loop_vfx(c, times):
    c[0] = c[0] * times
    c[1] = c[1] * times
    return c

vfx00 = loop_vfx(core.ffms2.Source('VFX__000.png', alpha=True), 118)
vfx01 = loop_vfx(core.ffms2.Source('VFX__118.png', alpha=True), 8)
vfx02 = loop_vfx(core.ffms2.Source('VFX__126.png', alpha=True), 18)
Thanks. And I imagine I would have to do something similar for concatenating the various vfx## clips together with the + operator.

Finally got the result I desired. Thankee for all your support.
SilSinn9801 is offline   Reply With Quote