[FFmpeg-user] how to blend logo and video with transparent effect

Paul B Mahol onemda at gmail.com
Fri Jun 26 18:21:20 CEST 2015


On 6/26/15, qw <applemax82 at 163.com> wrote:
> Hi,
>
> I use the below command to blend logo image and video together with
> transparent effect:
> ffmpeg -i ./file1.mp4 -i ./logo.jpg -filter_complex blend=all_mode=overlay
> ./file3.mp4
>
>
>
> But the command requires the same resolution from logo image and video. If
> the size of logo image is different from or smaller than that of video, the
> command will report error.
>
>
> How to blend image and video with different size? Could you provide some
> command examples?

You could crop logo and use expressions in blend filter to pick right
combination of pixels at any position of image.

> Thanks!
>
>
> B.R.
>
>
> Andrew
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list