<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.18.1">
</HEAD>
<BODY>
&#65279;<BR>
<TABLE CELLSPACING="0" CELLPADDING="0">
<TR>
<TD>
Hi, I'm executing the following:<BR>
gst-launch v4l2src ! video/x-raw-rgb,width=160,height=120,bpp=24,depth=24 ! ffmpegcolorspace ! xvimagesink<BR>
<BR>
and it gives me the following errors:<BR>
<BR>
Setting pipeline to PAUSED ...<BR>
Pipeline is live and does not need PREROLL ...<BR>
ERROR: from element /pipeline0/v4l2src0: Device '/dev/video0' cannot capture at 160x120<BR>
Additional debug info:<BR>
v4l2src_calls.c(1194): gst_v4l2src_set_capture (): /pipeline0/v4l2src0:<BR>
Call to S_FMT failed for RGB3 @ 160x120: Invalid argument<BR>
ERROR: pipeline doesn't want to preroll.<BR>
Setting pipeline to PAUSED ...<BR>
Setting pipeline to READY ...<BR>
Setting pipeline to NULL ...<BR>
FREEING pipeline ...<BR>
<BR>
So it seams like gstreamer tries to send to the webcam an RGB3 format, although it specifically asked for an RGB 24 (bpp=24,depth=24). So how can I filter the caps to use RGB24?<BR>
<BR>
Thanks,<BR>
Ionut
</TD>
</TR>
</TABLE>
</BODY>
</HTML>