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 773314 - alpha: Black definition alpha plugin not working
alpha: Black definition alpha plugin not working
Status: RESOLVED DUPLICATE of bug 766060
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.8.3
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-10-21 11:57 UTC by Andy S
Modified: 2017-05-25 09:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andy S 2016-10-21 11:57:01 UTC
I'm trying to create an alpha channel on a completely black screen using the gstreamer alpha good plugin.

I created a jpeg with a black square and varying greys to try and test how I could get just the pure black to be converted to the alpha. When using this jpeg I could not get the black square to be transparent, although I could get some of the greys to be transparent.

I thought 
alpha method=custom target-r=0 target-g=0 target-b=0
would work but it doesn't.

The following almost works but only works on greys:
alpha method=custom target-r=0 target-b=0 target-g=0 black-sensitivity=128 white-sensitivity=0

Let me know if I can provide any further information.

Andy
Comment 1 Sebastian Dröge (slomo) 2016-10-21 12:01:57 UTC
Reason for that is that the color keying works by using the hue. And black (and white, and grey) don't have any hue. A different approach would have to be used here.
Comment 2 Florian Echtler 2017-05-24 16:38:38 UTC
Ran into the same issue today. Also, https://bugzilla.gnome.org/show_bug.cgi?id=766060 seems to be a duplicate.
Comment 3 Sebastian Dröge (slomo) 2017-05-25 09:41:32 UTC

*** This bug has been marked as a duplicate of bug 766060 ***