videobox and RGB video formats...

Tim Müller tim at centricular.com
Mon Feb 24 13:45:12 PST 2014


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



More information about the gstreamer-devel mailing list