[FFmpeg-trac] #549(avfilter:closed): Video filter overlay does not preserve alpha

FFmpeg trac at avcodec.org
Tue Nov 27 10:50:07 CET 2012


#549: Video filter overlay does not preserve alpha
-------------------------------------+-------------------------------------
             Reporter:  ehsmeng      |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  avfilter
              Version:  git-master   |               Resolution:  fixed
             Keywords:  overlay      |               Blocked By:
  alpha png                          |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  1            |
-------------------------------------+-------------------------------------
Changes (by saste):

 * status:  open => closed
 * resolution:   => fixed


Comment:

 Should be fixed in:
 {{{
 commit 13c62525362595cc914161aaa192953dd9077233
 Author: Mark Himsley <mark at mdsh.com>
 Date:   Sun Nov 25 15:24:29 2012 +0000

     lavfi/overlay: enable yuva420p as overlay background

     Same calculation as for RGBA etc to create unpremultiplied output.
     Useful for creating an intermediate "Mix/Effects bank", in vision
 mixer
     (switcher) terminology.

     Example command:

     ffmpeg -i input.mov -vf
 "[in]scale=iw:ih:interl=1,format=yuv420p[bg];movie=BBC_blocks_watermark.png,scale=iw:ih:interl=1,format=yuva420p[dog];movie=Kickabout_strap.mov,sc
     -b:v 3M -an output.mov

     Fix trac ticket #549.

     Signed-off-by: Stefano Sabatini <stefasab at gmail.com>
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/549#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list