How can I overlay one video on top of another, one with a reduced opacity?

28 次查看(过去 30 天)
Hello,
I have two separate videos. I need to create an output video that plays both videos on top of each other, as if it was one video. One video should be slightly transparent so that both videos can be seen. In addition, the transparent video needs to starts at a frame x and end at a frame y of the other video. I am a beginner, so I am not sure where to start.
Any help will be appreciated!

回答(1 个)

Shubham Khatri
Shubham Khatri 2021-7-27
Hello,
To my understanding, you can do this by splitting the video frame by frame and then overlaying each frame. Then combining all the frames to generate video. Refer to this answer in the community for reference.
Hope it helps.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by