Open doganaktarr opened 12 months ago
Show both videos for better help.
You can set param: has_mask=True ,like this:
background = VideoFileClip("background.mp4")
layer = VideoFileClip("overlay.mov", has_mask=True)
CompositeVideoClip([background, layer]).write_videofile("out.mp4", codec='libx264')
Hello, I have a video in .webm format with a transparent background(clip2) and a normal mp4 video(clip1). I want to overlay clip2 video on clip1 video, but when I do that, the transparent feature in the background of clip2 disappears and a red beam of light comes on.
Here is my code: