VideoBox border-alpha
Sebastian Dröge
sebastian at centricular.com
Thu Dec 19 06:10:00 PST 2013
On Mi, 2013-12-18 at 15:07 -0800, fahad wrote:
> I have the following 1.0 pipeline on a windows box,
>
> gst-launch-1.0 -v videomixer name=mix ! videoconvert ! autovideosink \
> videotestsrc pattern=0 ! video/x-raw, framerate=1/1, width=350, height=250 !
> \
> videoconvert ! videobox border-alpha=0 top=-200 left=-50 ! mix. \
> multifilesrc location="X:\\test.png" caps="image/png,framerate=1/1" ! pngdec
> ! videoconvert ! mix.
>
> border-alpha=0 does not seem to do what it is suppose to? can any one tell
> if there is an issue with the border-alpha setting for video box.
>
> No matter what i set the property to, (1/0) it always shows a solid
> background, i expect to see the background video coming through the border
As Adrian said, videomixer can do what videobox does already. Use the
offset properties on the videomixer pads for that.
Independent of that, in your above pipeline you need to make sure that
videobox gets a video format negotiated that includes an alpha channel,
e.g. RGBA. You can enforce this with a capsfilter between videoconvert
and videobox.
--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131219/6c4516d5/attachment.pgp>
More information about the gstreamer-devel
mailing list