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

조회 수: 15(최근 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