0

I'm trying to make watermark with blend mode "overlay" like in Photoshop or Premiere Pro and apply it to video that larger than watermark image: https://i.imgur.com/OXRV68u.png

This is how looks like:

https://i.imgur.com/SLrrVPx.png (without blend mode overlay)

https://i.imgur.com/IjWXBvf.png (with blend mode overlay)

But I can't get it to work with watermark image that smaller than video. Here is example query:

-filter_complex "[0:v] format=rgba [bg]; [1:v] format=rgba [fg]; [bg][fg] blend=all_mode='overlay':all_opacity=1, format=rgba"

And here is what I get:

[Parsed_blend_2 @ 0000026231f60f80] First input link top parameters (size 480x848) do not match the corresponding second input link bottom parameters (size 200x83)

ffmpeg developers says that is possible, but don't say how to do it. I googled hars ≈3 days and still can't understand how I can do it without resizing my watermark image. I need to put such a watermark on many videos at once, with different resolutions, so resizing image for every video will be a hell.

And even if I resize watermark to video size I got green screen: https://i.imgur.com/iselDMT.jpg

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.