<div dir="ltr">While its true that the xvimagesink only supports YUV formats, you'll note that I have a videoconvert in that pipeline, so if videobox would only ASK for a YUV format for input, it would get one. But it doesn't...<br>
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 24, 2014 at 4:45 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 Mon, 2014-02-24 at 16:19 -0500, Stirling Westrup wrote:<br>
<br>
Hi,<br>
<div class=""><br>
> The thing to note is that I have an element that can only output about<br>
> half-a-dozen RGB based formats, and videobox, despite claiming to<br>
> support them, doesn't seem to:<br>
><br>
> $ gst-launch-1.0 videotestsrc  !<br>
> "video/x-raw,format={BGRx,BGRA,RGB,RGB16,RGB15}" ! videoconvert !<br>
> videobox ! xvimagesink display=:2<br>
> Setting pipeline to PAUSED ...<br>
> Pipeline is PREROLLING ...<br>
> ERROR: from<br>
> element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal<br>
> data flow error.<br>
> Additional debug info:<br>
> gstbasesrc.c(2865): gst_base_src_loop<br>
> (): /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>
> $<br>
> The intent of the above command line is to take the RGB output from my<br>
> element, convert it to a movie format supported by my sink, and have<br>
> videobox crop it before display. For some reason, its just not<br>
> managing to negotiate a working pipeline, despite all of the sink and<br>
> source templates looking good.<br>
<br>
</div>Most likely xvimagesink only accepts YUV formats in practice (or<br>
xvimagesink only supports those, we disabled the RGB ones at some point<br>
iirc). xvinfo should show you what's supported.<br>
<br>
Cheers<br>
<span class="HOEnZb"><font color="#888888"> -Tim<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><br clear="all"><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>