<div dir="ltr"><div>I have an application that has been having pipeline issues lately. I managed to build a model of what was going wrong, and reproduce it below.<br><br></div>The thing to note is that I have an element that can only output about half-a-dozen RGB based formats, and videobox, despite claiming to support them, doesn't seem to:<br>
<br><span style="font-family:courier new,monospace">$ gst-launch-1.0 videotestsrc ! "video/x-raw,format={BGRx,BGRA,RGB,RGB16,RGB15}" ! videoconvert ! videobox ! xvimagesink display=:2<br>Setting pipeline to PAUSED ...<br>
Pipeline is PREROLLING ...<br>ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data flow error.<br>Additional debug info:<br>gstbasesrc.c(2865): gst_base_src_loop (): /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:<br>
streaming task paused, reason not-negotiated (-4)<br>ERROR: pipeline doesn't want to preroll.<br>Setting pipeline to NULL ...<br>Freeing pipeline ...<br>$ </span><br clear="all"><div><div><br></div><div>The intent of the above command line is to take the RGB output from my element, convert it to a movie format supported by my sink, and have videobox crop it before display. For some reason, its just not managing to negotiate a working pipeline, despite all of the sink and source templates looking good.<br>
<br></div><div><br>-- <br>Stirling Westrup<br>Programmer, Entrepreneur.<br><a href="https://www.linkedin.com/e/fpf/77228" target="_blank">https://www.linkedin.com/e/fpf/77228</a><br><a href="http://www.linkedin.com/in/swestrup" target="_blank">http://www.linkedin.com/in/swestrup</a><br>
<a href="http://technaut.livejournal.com" target="_blank">http://technaut.livejournal.com</a><br><a href="http://sourceforge.net/users/stirlingwestrup" target="_blank">http://sourceforge.net/users/stirlingwestrup</a>
</div></div></div>