konstantin1
2nd December 2016, 09:02
I would like to add a continuously changing colored borders to my clip. My clip is 406 pixel width and 360 height, contains 23213 frames (12 min 54 sec).
I want to add a 117 pixel border on the left and right to make a 640x360 clip.
I tried Animate() filter to achieve the rainbow coloured transition, but no luck:
v=lanczos4resize(406,360).converttorgb24()
animate(v,0,23213,"addborders",117,0,117,0,0,117,0,117,0,16777215)
Colour transition should be appear, because I pass 10 parameters after "addborders": first 4 for the border dimensions, 5th is the beginning colour in integer (0), next 4 parameter is for the border dimension again, doesn't change, only the 10th parameter is altered from the 0 color int to the 0xffffff corresponding value: 16777215
In fact I get a lot of color in the changing colored border, but not in the right order, not like in the rainbow.
How can I achieve this goal? Maybe should I use ScriptClip() instead of Animate() and using current_frame somehow to get the desired color code?
I want to add a 117 pixel border on the left and right to make a 640x360 clip.
I tried Animate() filter to achieve the rainbow coloured transition, but no luck:
v=lanczos4resize(406,360).converttorgb24()
animate(v,0,23213,"addborders",117,0,117,0,0,117,0,117,0,16777215)
Colour transition should be appear, because I pass 10 parameters after "addborders": first 4 for the border dimensions, 5th is the beginning colour in integer (0), next 4 parameter is for the border dimension again, doesn't change, only the 10th parameter is altered from the 0 color int to the 0xffffff corresponding value: 16777215
In fact I get a lot of color in the changing colored border, but not in the right order, not like in the rainbow.
How can I achieve this goal? Maybe should I use ScriptClip() instead of Animate() and using current_frame somehow to get the desired color code?