image overlay on video stream in playbin2 from 0.10

Tim Müller tim at centricular.com
Tue Jan 14 13:47:53 UTC 2020


On Tue, 2020-01-14 at 05:48 -0600, shyam wrote:

> I am able to build a pipeline with playbin using textoverlay but not
> able to
> display a logo on top of the video. My pipeline is "gst-launch-
> 1.0.exe
> playbin uri=rtsp://161.85.89.220:8554/test video-sink='textoverlay
> font-desc=Sans,36 text=Hello ! autovideosink' "

There is also a "video-filter" property on playbin, which I would
recommend for this use case.


> How do I modify it to overlay a logo on the image ?

Is the overlay a static image in png or jpeg format (or tiff/bmp or
somesuch)? In that case, gdkpixbufoverlay should do the trick (location
property).

Cheers
 Tim


-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list