<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1430332269153_21579">Thanks Sérgio for your input.</div><div id="yui_3_16_0_1_1430332269153_21582"><br></div><div id="yui_3_16_0_1_1430332269153_21578" dir="ltr">Adding an imagefreeze after the textrender makes a difference.</div><div id="yui_3_16_0_1_1430332269153_21583" dir="ltr"><br></div>videomixer name=mixer ! videoconvert ! d3dvideosink \<br>
<div id="yui_3_16_0_1_1430332269153_22354" class="" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">  videotestsrc ! video/x-raw, framerate=10/1 ! mixer. \<br></div>
<div id="yui_3_16_0_1_1430332269153_21575" class="" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">  udpsrc port=5904 ! textrender ! imagefreeze ! mixer.</div><div id="yui_3_16_0_1_1430332269153_22382"><br><span></span></div><div style="" class="" id="yui_3_16_0_1_1430332269153_21577" dir="ltr">With the new pipeline above:</div><div id="yui_3_16_0_1_1430332269153_22383" style="" class="" dir="ltr">- still need to send one upd packet (but just one) for the pipeline to go in Playing state</div><div id="yui_3_16_0_1_1430332269153_22384" style="" class="" dir="ltr">- but, good news, the pipeline starts to play the test video</div><div id="yui_3_16_0_1_1430332269153_22385" style="" class="" dir="ltr">- there is pause before the video animates, the pause duration is proportional to the lapse of time between the pipeline start and the reception of the first packet. The pause (looks like it is dropping the accumulated test video frames).</div><div id="yui_3_16_0_1_1430332269153_24384" style="" class="" dir="ltr">- turning off sync in the d3dvideosink removes the pause. The video will probably lag badly but can't see if that is true with the videotestsrc)</div><div id="yui_3_16_0_1_1430332269153_25165" style="" class="" dir="ltr"><br></div><div id="yui_3_16_0_1_1430332269153_25166" style="" class="" dir="ltr">I confirm that imagefreeze makes it impossible to update the text used by textrender.</div><div style="" class="" dir="ltr">Further udp packets are ignored so the pipeline does not work as intented.<br style="" class=""></div><div id="yui_3_16_0_1_1430332269153_22386"><br><span></span></div><div dir="ltr" id="yui_3_16_0_1_1430332269153_26625"><span id="yui_3_16_0_1_1430332269153_28429">I am pretty sure that there are ways to get the pipeline to work by using external logic, but I'd like to get this pipeline to work from gstreamer cli.</span></div>  <br><div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font face="Arial" size="2"> Le Mercredi 29 avril 2015 9h50, Sérgio Agostinho <sergio.r.agostinho@gmail.com> a écrit :<br> </font> </div> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <br><br> <div class="y_msg_container"><div id="yiv9670658586"><div><div dir="ltr"><div><br clear="none"></div>I'm not sure if this will help because the <a rel="nofollow" shape="rect" target="_blank" href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-imagefreeze.html">description says</a> "it duplicates the first frame", but try using <a rel="nofollow" shape="rect" target="_blank" href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-imagefreeze.html">imagefreeze</a> after your textrender and see what happens.<div><br clear="none"></div><div>Cheers</div><div><br clear="none"></div></div><div class="yiv9670658586gmail_extra"><br clear="none"><div class="yiv9670658586gmail_quote">2015-04-28 23:30 GMT+02:00 philippe renon <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:philippe_renon@yahoo.fr" target="_blank" href="mailto:philippe_renon@yahoo.fr">philippe_renon@yahoo.fr</a>></span>:<br clear="none"><blockquote class="yiv9670658586gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="yiv9670658586yqt9142930745" id="yiv9670658586yqt74963"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div>Hi,</div><div><br clear="none"></div><div dir="ltr">I am trying to get this pipeline to work on windows with gstreamer 1.4.5</div><div dir="ltr"><br clear="none"></div><div>videomixer name=mixer ! videoconvert ! d3dvideosink \</div><div>   videotestsrc ! video/x-raw, framerate=10/1 ! mixer. \</div><div>   udpsrc port=5904 ! textrender ! video/x-raw, framerate=10/1 ! mixer.</div><div><br clear="none"></div><div dir="ltr">This pipeline is supposed to mix a simple test source and rendered text from an udpsrc and render at 10fps.<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">It _kinda_ works but:</div><div dir="ltr">- the pipeline stays in Paused state when asked to go to Playing state.</div><div dir="ltr">- need to send 2 udp packets before the pipeline goes into Playing mode</div><div dir="ltr">- 1st packet will cause the renderer window to appear (but black)</div><div dir="ltr">- 2nd packet will move the pipeline in Playing state and will display *one* frame</div><div dir="ltr">- then pipeline will not display any additional frames unless more packets are sent to the udpsrc.<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">I have tried to add queue or videorate elements in a lot of places but could not get the pipeline to "run".</div><span class="yiv9670658586HOEnZb"><font color="#888888"></font></span><div dir="ltr"><br clear="none"></div><div dir="ltr">Philippe.<br clear="none"></div><div dir="ltr"><br clear="none"></div></div></div></div><br clear="none">_______________________________________________<br clear="none">
gstreamer-devel mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div><br><br></div> </blockquote>  </div> </div>   </div></div></body></html>