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

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


On 6/26/15, Paul B Mahol <onemda at gmail.com> wrote:
> 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

Instead of crop I meant pad filter.

> combination of pixels at any position of image.


More information about the ffmpeg-user mailing list