color
12th December 2022, 18:44
I have two videos, both are almost similar, the bigger resolution has a logo, and the other has a logo on another place in lower resolution (img-size).
I want to replace a part, and it works great..however, I want to make it better.
Is there a way to "fade" out the edges. So its not a hard edge when overlay like this?
UNDER=LWLibavVideoSource("under.mp4")
OVER=LWLibavVideoSource("over.mp4").Lanczos4Resize(1920, 1080).Trim(1,13547).Crop(1730,70,-80,-950)
Overlay(UNDER, OVER, Y=70, X=1730, mode="blend", opacity=1.0)
I want to replace a part, and it works great..however, I want to make it better.
Is there a way to "fade" out the edges. So its not a hard edge when overlay like this?
UNDER=LWLibavVideoSource("under.mp4")
OVER=LWLibavVideoSource("over.mp4").Lanczos4Resize(1920, 1080).Trim(1,13547).Crop(1730,70,-80,-950)
Overlay(UNDER, OVER, Y=70, X=1730, mode="blend", opacity=1.0)