videotestsrc to generate rgb565 video stream failed

Peter Xu xzpeter at gmail.com
Fri Jun 10 07:02:25 PDT 2011


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*

then, I think the bpp=16 is not confirm enough, so I tried this:/
/*$ gst-launch videotestsrc ! 
video/x-raw-rgb,framerate=5/1,bpp=16,red_mask=31744,green_mask=992,blue_mask=31 
! ximagesink*
also failed with the same error on the cap:
*gstbasesrc.c(2755): gst_base_src_start (): 
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
Check your filtered caps, if any*

Can anyone tell me what's the matter? and how to generate rgb565 video 
stream with videotestsrc?

Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110610/03293c45/attachment.htm>


More information about the gstreamer-devel mailing list