videotestsrc to generate rgb565 video stream failed

David Schleef ds at entropywave.com
Fri Jun 10 11:28:25 PDT 2011


On Fri, Jun 10, 2011 at 10:02:25PM +0800, Peter Xu wrote:
> hi, all,
> 
> I have found that videotestsrc plugin seems support rgb565 (by
> gst-inspect). So I tried to generate rgb565 stream with that and
> check it with ximagesink.
> 
> firstly, I tried this which worked:
> *$ gst-launch videotestsrc ! video/x-raw-rgb,framerate=5/1 ! ximagesink*
> 
> however, this won't:
> *$ gst-launch videotestsrc ! video/x-raw-rgb,framerate=5/1,bpp=16 !
> ximagesink*
> and the returned error is:
> *gstbasesrc.c(2755): gst_base_src_start ():
> /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
> Check your filtered caps, if any*

Your ximagesink doesn't support 16-bit video.

  gst-launch-0.10 -v videotestsrc ! video/x-raw-rgb,bpp=16 ! fakesink



David



More information about the gstreamer-devel mailing list