<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
hi, all,<br>
<br>
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.<br>
<br>
firstly, I tried this which worked:<br>
<b>$ gst-launch videotestsrc ! video/x-raw-rgb,framerate=5/1 !
ximagesink</b><br>
<br>
however, this won't:<br>
<b>$ gst-launch videotestsrc ! video/x-raw-rgb,framerate=5/1,bpp=16
! ximagesink</b><br>
and the returned error is:<br>
<b>gstbasesrc.c(2755): gst_base_src_start ():
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:<br>
Check your filtered caps, if any</b><br>
<br>
then, I think the bpp=16 is not confirm enough, so I tried this:<i><br>
</i><b>$ gst-launch videotestsrc !
video/x-raw-rgb,framerate=5/1,bpp=16,red_mask=31744,green_mask=992,blue_mask=31
! ximagesink</b><br>
also failed with the same error on the cap:<br>
<b>gstbasesrc.c(2755): gst_base_src_start ():
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:<br>
Check your filtered caps, if any</b><br>
<br>
Can anyone tell me what's the matter? and how to generate rgb565
video stream with videotestsrc?<br>
<br>
Peter<br>
</body>
</html>