I want to concatenate image files into 1 video.
In order to make it more dynamic, I want to make the images "scroll". I tried to use the scrollfunction with no success.
I found a way to make just 1 ImageClip move by using the set_position function. I still have 3 issues:
1) I cannot concatenate my "scrolling" ImageClips. For whatever reason, the result is very weird, like images are not in the right order, black screens, some images do not even appear...
I commented out the composite.write_videofile('video.mp4') line, but you can uncomment it to look at 1 scrolled ImageClip object.
2) the scroll is jerky even though I set the fps to a big value
3) i dont know how to scroll "from a different point than the center of the image". Like for example, i would like the image to start by being slightly zoomed in and moved to its right, then it would scroll and end completely "scrolled to its left". I hope you get I mean. It would make it even more dynamic.
Is there a canonical way to achieve that with moviepy ? In most editing softwares, it is just a simple automation so I thought maybe there is a simpler way than what I am trying to do.
If there is not, I would be grateful for some help to solve my 3 issues !
Please always include your specs like we ask for in our issue templates – MoviePy version, platform used etc. – to help pinpoint what causes your problem, thanks.
I want to concatenate image files into 1 video. In order to make it more dynamic, I want to make the images "scroll". I tried to use the
scroll
function with no success. I found a way to make just 1 ImageClip move by using the set_position function. I still have 3 issues: 1) I cannot concatenate my "scrolling" ImageClips. For whatever reason, the result is very weird, like images are not in the right order, black screens, some images do not even appear... I commented out thecomposite.write_videofile('video.mp4')
line, but you can uncomment it to look at 1 scrolled ImageClip object. 2) the scroll is jerky even though I set the fps to a big value 3) i dont know how to scroll "from a different point than the center of the image". Like for example, i would like the image to start by being slightly zoomed in and moved to its right, then it would scroll and end completely "scrolled to its left". I hope you get I mean. It would make it even more dynamic.Is there a canonical way to achieve that with moviepy ? In most editing softwares, it is just a simple automation so I thought maybe there is a simpler way than what I am trying to do. If there is not, I would be grateful for some help to solve my 3 issues !
Here is my code, thanks for any help !