[FFmpeg-trac] #9626(undetermined:new): alphamerge and transparency in main

FFmpeg trac at avcodec.org
Fri Feb 4 23:52:45 EET 2022


#9626: alphamerge and transparency in main
-------------------------------------+-------------------------------------
             Reporter:  Jozef        |                    Owner:  (none)
  Chutka                             |
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Jozef Chutka):

 Thanks both for looking into it. I can understand alphamerge a bit better.
 I eventually ended up using `blend` instead.

 {{{
 ffmpeg -f lavfi -i color=color=#ff0000:size=100x100 -i main.png -i
 mask.png -filter_complex
 [2]split,alphamerge,[1]blend=c3_mode=and,[0]overlay -frames:v 1
 output/fix4.jpg -y
 }}}

 Feel free to close the ticket, `blend` is a working alternative.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9626#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list