<div dir="ltr"><div><div>Hi,<br><br></div>Thanks for taking the time to reply. The first option is impossible at this moment, as everything relies on gstreamer+cairo and doing it outside means having to start nearly from scratch.<br><br></div>I've been looking at intervideosink as you suggested, but I don't have that plugin (I'm using gstreamer 1.4.0 under windows), and couldn't find enough documentation. Could your point me to some documentation or examples?<br><br>Thanks <br><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 18, 2014 at 7:47 PM, Tim Müller <span dir="ltr"><<a href="mailto:tim@centricular.com" target="_blank">tim@centricular.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 2014-09-18 at 19:10 +0200, Wizardy wrote:<br>
<br>
Hi,<br>
<div><div class="h5"><br>
> I'm developing a client application where I use gstreamer to get a<br>
> video streaming from another device and display it along with some<br>
> extra information (text and images). To render all the information<br>
> over the video I'm using the cairo plugin included with gstreamer<br>
> which works great. The problem I'm having is the video streaming is<br>
> not always available, and when it isn't gstreamer doesn't render<br>
> anything, so all my extra information isn't shown either.<br>
><br>
> A simplified version of my pipeline:<br>
><br>
> udpsrc port=5000 ! application/x-rtp, payload=96 ! rtph264depay !<br>
> avdec_h264 ! videoconvert ! cairooverlay ! videoconvert ! d3dvideosink<br>
><br>
> Does someone know how can I make gstreamer render cairo even when<br>
> there is no video?<br>
<br>
</div></div>I think you broadly have two options:<br>
<br>
1) do the overlaying outside of GStreamer using your graphics system<br>
<br>
2) you could do something like:<br>
<br>
  udpsrc ! ... ! dec ! intervideosink<br>
<br>
  intervideosrc ! cairooverlay ! videoconvert ! d3dvideosink<br>
<br>
and intervideosrc will continue to output the last buffer or (after a<br>
while without signal) a black buffer<br>
<br>
 Cheers<br>
<span class="HOEnZb"><font color="#888888">  -Tim<br>
<br>
<br>
--<br>
Tim Müller, Centricular Ltd - <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</font></span></blockquote></div><br></div></div></div></div></div>