[gst-devel] import image with transparent background

Tim Müller t.i.m at zen.co.uk
Thu Jan 3 10:57:20 CET 2008

On Thu, 2008-01-03 at 10:41 +0800, Terry Leung wrote:


> I am now writing a program to overlay an image on top of a video clip
> However, as I want to overlay an image with transparent background and
> those image decoder src pad are either raw rgb or raw yuv(without
> alpha), I want to ask how can i do that? can gstreamer support the
> transparent feature in some type of image(like png or gif)? and how?

Which image decoder exactly? What format is your image in?

IIRC, gdkpixbufdec outputs RGBA if the image has an alpha channel.


More information about the gstreamer-devel mailing list