You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using your example to insert an image into a video file:
import moviepy.editor as mp
video = mp.VideoFileClip("video.mp4")
logo = (mp.ImageClip("logo.png")
.set_duration(video.duration)
.resize(height=50) # if you need to resize...
.margin(right=8, top=8, opacity=0) # (optional) logo-border padding
.set_pos(("right","top")))
final = mp.CompositeVideoClip([video, logo])
final.subclip(1000,1010).write_videofile("test.mp4")
This actually pastes the image on top of all the frame in the video, how can I add the image in the video file at specific time. For example, I would like the Logo image to appear on its own at 5 sec, 15 sec & Logo2 (different logo) at 30 sec.
Is it possible with MoviePy?
Kind Regards
The text was updated successfully, but these errors were encountered:
Hi there,
I am using your example to insert an image into a video file:
This actually pastes the image on top of all the frame in the video, how can I add the image in the video file at specific time. For example, I would like the Logo image to appear on its own at 5 sec, 15 sec & Logo2 (different logo) at 30 sec.
Is it possible with MoviePy?
Kind Regards
The text was updated successfully, but these errors were encountered: