gltransformation with alpha channel?

waldemar valdemar at gmail.com
Tue Dec 8 16:27:39 PST 2015


Hi!
I'm trying to use the gltransformation component within a
GESVideoSourceObject, so that I could have all those magic effects of x-y-z
rotation, translation and scaling. Only problem I've found is that I can't
get the alpha channel set properly. The areas without video resulting from
rotation and scaling are pitch black. Basically I went from this pipeline
inside ges-video-source.c:

to this:


Everytime I try to use a use an element to add an alpha channel to the color
space the qtdemux element will inform the pipeline is not linked. All the
properties for gltransformation are exposed correctly.
I tried to use some elements such as alpha, alphacolor, glcolorscale,
inserting filtercaps to change to RGBA or AYUV or ARGB up to no avail.
Looking at the logs the caps of the non-linking elements are always using
I420:


(qtdemux displays the error because I'm using a set of mp4 files to build
the GES pipeline)

Please... what I'm missing so that the pipeline could handle those areas
with transparency??
Could it be that the transparency needs to be set outside the pipeline on
the output of the ges-video-source?

Thanks in advance...



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gltransformation-with-alpha-channel-tp4674820.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list