After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 499234 - gdkpixbuf: add gdkpixbufoverlay element
gdkpixbuf: add gdkpixbufoverlay element
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal enhancement
: 0.10.32
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-11-23 19:37 UTC by Renato Araujo Oliveira Filho
Modified: 2012-04-23 16:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (2.03 KB, patch)
2007-11-23 19:37 UTC, Renato Araujo Oliveira Filho
needs-work Details | Review
new files (6.15 KB, application/x-gzip)
2007-11-23 19:38 UTC, Renato Araujo Oliveira Filho
  Details
Modification of gdkpixbufoverlay (6.88 KB, application/gzip)
2008-04-11 13:12 UTC, David Régade
  Details

Description Renato Araujo Oliveira Filho 2007-11-23 19:37:12 UTC
A new element to put a pixbuf over the video stream.

pipe to test:
gst-launch filesrc location=[video file] ! decodebin ! gdkpixbufoverlay image-name=[image name] ! xvimagesink


decompress the  glue tar file on gst-plugins-good folder and apply the patch
Comment 1 Renato Araujo Oliveira Filho 2007-11-23 19:37:57 UTC
Created attachment 99551 [details] [review]
patch
Comment 2 Renato Araujo Oliveira Filho 2007-11-23 19:38:39 UTC
Created attachment 99552 [details]
new files
Comment 3 Wim Taymans 2007-11-27 18:38:24 UTC
Could this not be done with videomixer?
Comment 4 Tim-Philipp Müller 2007-12-28 11:12:10 UTC
videomixer isn't really the most convenient to just overlay a logo, is it?  

In any case, my impression is that the code of this pixbufoverlay is not even close to being in a state where it could/should be considered for inclusion into -good (IMHO).

Comment 5 Edgard Lima 2008-04-04 08:45:14 UTC
Renato, I think it is better to put it on gst-plugins-bad.

Then let people know sending a mail to the list.

After that more people get involved.

BR,
Edgard
Comment 6 David Régade 2008-04-11 13:12:19 UTC
Created attachment 109053 [details]
Modification of gdkpixbufoverlay

decompress the  glue2 tar file on gst-plugins-good folder and apply the patch Renato published.

-add opacity property
-support 4 and 3 channels images
-pre-compute rgb2yuv matrices
Comment 7 Olivier Aubert 2008-09-01 15:46:02 UTC
Approximately 3 months from now will be the first birthday of this patch. I am interested in it, and while I can build the component by myself, having it integrated in an official gstreamer distributions considerably eases work.

Is it considered for inclusion in gst-plugins-bad, and if not, what can be done about it ?
Comment 8 Stefan Sauer (gstreamer, gtkdoc dev) 2008-09-01 19:22:20 UTC
oliver, if can consolidate the changes into a patch that applies to gst-plugins-bad that would help to get it into -bad.
Comment 9 Olivier Aubert 2008-09-02 12:09:57 UTC
(In reply to comment #8)
> oliver, if can consolidate the changes into a patch that applies to
> gst-plugins-bad that would help to get it into -bad.
I have done that, and a new bug report #550443 has been created to track it.
Comment 10 Tim-Philipp Müller 2008-09-02 13:02:02 UTC
Let's stick to this bug (we can change components if we need to).

I think it makes more sense to get this widget into shape and add it to the existing gdkpixbuf plugin. The main reason that hasn't happened yet is probably that the code isn't quite ready yet. It looks like gdkpixbufoverlay was based on the pango textoverlay element, which is not a good element to base this on, since it has two input pads and needs to do all kinds of things you don't need to deal with in gdkpixbufoverlay. So there's quite a bit of weird code in there that doesn't need to be in there.

The element should probably be based on GstVideoFilter (which is based on GstBaseTransform).

Comment 11 Tobias Mueller 2009-04-15 23:20:43 UTC
This bug has been set to NEEDINFO in comment #3. As the question has been answered by now, I am reopening this bug.
Comment 12 Tim-Philipp Müller 2009-04-15 23:31:12 UTC
Code still needs serious clean-up as said in comment #10. Since it's an enhancement bug, we may just as well set it to NEW. One day someone will get to it, I'm sure (had it on my lis for ages, but never got around to it, sorry).

Comment 13 Sebastian Dröge (slomo) 2009-07-16 18:57:24 UTC
Any news on this?
Comment 14 Tim-Philipp Müller 2012-04-23 16:40:09 UTC
commit 729a30c38b2aacfac9aa6454d7037e08c1416557
Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
Date:   Sat Mar 17 20:18:19 2012 +0000

    gdkpixbuf: add gdkpixbufoverlay element
    
    Still lacks features such as positioning or resizing, or
    animations, but it's usable already, and supports lots of
    formats.