[FFmpeg-user] how to use alpha channel to make transparent effect

Paul B Mahol onemda at gmail.com
Fri Jun 26 11:02:41 CEST 2015


On 6/26/15, Frank Tetzel <s1445051 at mail.zih.tu-dresden.de> wrote:
>> I use the below command to place one image on one video:ffmpeg
>> -i ./file1.mp4 -i ./file2.jpg -filter_complex overlay ./file3.mp4
>>
>> But there is no transparent effect in resulting file, i.e. file3.mp4.
>> What is the command to use alpha channel to make transparent effect?
>
> Have a look at the blend filter and its opacity and expression options:
> http://ffmpeg.org/ffmpeg-filters.html#blend_002c-tblend

IMHO OP actually wants overlay filter.

>
> Regards,
> Frank
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list