<div dir="ltr">Might be worth looking at the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/gst-plugins-bad-plugins-compositor.html" target="_blank">compositor</a> element (as a replacement for the videomixer) which is now in git master. I think I read somewhere that it is supposed to replace the videomixer in the future. <div><br></div><div>If someone could explain the differences between the compositor and videomixer it would be great. Just from the description I cannot understand between both. </div><div><br></div><div>Cheers</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-29 22:29 GMT+02:00 philippe renon <span dir="ltr"><<a href="mailto:philippe_renon@yahoo.fr" target="_blank">philippe_renon@yahoo.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div>Thanks Sérgio for your input.</div><div><br></div><div dir="ltr">Adding an imagefreeze after the textrender makes a difference.</div><span><div dir="ltr"><br></div>videomixer name=mixer ! videoconvert ! d3dvideosink \<br>
<div style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">  videotestsrc ! video/x-raw, framerate=10/1 ! mixer. \<br></div>
</span><div style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">  udpsrc port=5904 ! textrender ! imagefreeze ! mixer.</div><div><br><span></span></div><div dir="ltr">With the new pipeline above:</div><div dir="ltr">- still need to send one upd packet (but just one) for the pipeline to go in Playing state</div><div dir="ltr">- but, good news, the pipeline starts to play the test video</div><div 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 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 dir="ltr"><br></div><div dir="ltr">I confirm that imagefreeze makes it impossible to update the text used by textrender.</div><div dir="ltr">Further udp packets are ignored so the pipeline does not work as intented.<br></div><div><br><span></span></div><div dir="ltr"><span>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><div><div>  <br><div><br><br></div><div style="display:block"> <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 <<a href="mailto:sergio.r.agostinho@gmail.com" target="_blank">sergio.r.agostinho@gmail.com</a>> 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><div><div><div dir="ltr"><div><br clear="none"></div>I'm not sure if this will help because the <a rel="nofollow" shape="rect" href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-imagefreeze.html" target="_blank">description says</a> "it duplicates the first frame", but try using <a rel="nofollow" shape="rect" href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-imagefreeze.html" target="_blank">imagefreeze</a> after your textrender and see what happens.<div><br clear="none"></div><div>Cheers</div><div><br clear="none"></div></div><div><br clear="none"><div>2015-04-28 23:30 GMT+02:00 philippe renon <span dir="ltr"><<a rel="nofollow" shape="rect" href="mailto:philippe_renon@yahoo.fr" target="_blank">philippe_renon@yahoo.fr</a>></span>:<br clear="none"><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><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><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" href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br clear="none">
<a rel="nofollow" shape="rect" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">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></div></div></div></blockquote></div><br></div></div>