gltransformation with alpha channel?

Matthew Waters ystreet00 at gmail.com
Wed Dec 9 19:40:38 PST 2015


You probably have to wrap the gltransformation in either a glfilterbin
or in glupload ! glcolorconvert ! gltransformation ! glcolorconvert !
gldownload.

Some more information about the exact pipeline and where it's failing
would also help.

Cheers
-Matt

On 09/12/15 11:27, waldemar wrote:
> 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.
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151210/39a52525/attachment.sig>


More information about the gstreamer-devel mailing list