videobox and RGB video formats...

Stirling Westrup swestrup at gmail.com
Tue Feb 25 08:29:20 PST 2014


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...



On Mon, Feb 24, 2014 at 4:45 PM, Tim Müller <tim at centricular.com> wrote:

> On Mon, 2014-02-24 at 16:19 -0500, Stirling Westrup wrote:
>
> Hi,
>
> > 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:
> >
> > $ gst-launch-1.0 videotestsrc  !
> > "video/x-raw,format={BGRx,BGRA,RGB,RGB16,RGB15}" ! videoconvert !
> > videobox ! xvimagesink display=:2
> > Setting pipeline to PAUSED ...
> > Pipeline is PREROLLING ...
> > ERROR: from
> > element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal
> > data flow error.
> > Additional debug info:
> > gstbasesrc.c(2865): gst_base_src_loop
> > (): /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
> > streaming task paused, reason not-negotiated (-4)
> > ERROR: pipeline doesn't want to preroll.
> > Setting pipeline to NULL ...
> > Freeing pipeline ...
> > $
> > 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.
>
> Most likely xvimagesink only accepts YUV formats in practice (or
> xvimagesink only supports those, we disabled the RGB ones at some point
> iirc). xvinfo should show you what's supported.
>
> Cheers
>  -Tim
>
> --
> Tim Müller, Centricular Ltd - http://www.centricular.com
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



-- 
Stirling Westrup
Programmer, Entrepreneur.
https://www.linkedin.com/e/fpf/77228
http://www.linkedin.com/in/swestrup
http://technaut.livejournal.com
http://sourceforge.net/users/stirlingwestrup
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140225/ff93ba5a/attachment.html>


More information about the gstreamer-devel mailing list