<p dir="ltr">In my expierence these cheap camera microcontrollers have tendency to chop parts of image when set to rgb, bgr(to limit data output to that of yuv), probably that messes up pipeline. Why you need rgb in input, when you just convert to other format anyway?<br>
Also did you tried requesting mjpg from camera?<br>
Like this<br>
v4l2src ! jpegdec ! videoconvert ...<br>
Probably jpeg is </p>
<div class="gmail_quote">2014 spal. 14 10:29 "Anthony Buckley" <<a href="mailto:tony.buckley000@gmail.com">tony.buckley000@gmail.com</a>> rašė:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>I have a problem trying to use RGB3 (also BGR3) format in a caps filter. I'm doing this in C, but the problem shows also if I use gst-launch thus:<br><br>gst-launch-1.0 -e v4l2src !  video/x-raw, format=RGB3, width=640, height=480, framerate=10/1 ! videoconvert ! autovideosink<br><br><span></span>0:00:00.023981006  3556      0x1ae0a10 ERROR           GST_PIPELINE ./grammar.y:624:gst_parse_perform_link: could not link v4l2src0 to videoconvert0<br>WARNING: erroneous pipeline: could not link v4l2src0 to videoconvert0<br><br></div>I know the webcam can accept RGB3 as I've another program just using v4l2 that takes snapshots using RGB3. Also running 'gucvview' shows the available formats are JPEG, YV12, YU12, RGB3, BGR3. JPEG is the native pix format of the camera and the others I think are available conversions added from v4l2. The above pipeline works fine with YV12 and I420 (YU12 ?), but not the others. Curiously, if I just use format=RGB it also works.<br><br></div>I'm sure I'm doing something wrong or have some misunderstanding and was hopeful that someone could possibly provide some insight for me.<br><br></div>Thanks much.<br><br></div>Tony<br></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div>