<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Not sure if this affects anything, but the docs state that videoparse is deprecated and to look at rawvideoparse instead. </div><div class=""><br class=""></div><div class="">(<a href="https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/gst-plugins-bad-plugins-videoparse.html" class="">https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/gst-plugins-bad-plugins-videoparse.html</a>)</div><div class=""><br class=""></div><div class="">Andrew</div><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 21, 2017, at 6:57 AM, Kristoffer Koch <<a href="mailto:kristoffer@huddly.com" class="">kristoffer@huddly.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class="">Hi,<br class=""><br class=""></div>We're developing a UVC camera, and as a part of our production test, we set the camera into a raw mode, where we output the raw bayer image.<br class=""><br class=""></div>Because reasons, we must lie in the USB-descriptors, so we say that we output a YVYU image, while it is really bayer.<br class=""><br class=""></div>Of course, if I do<br class=""><br class="">  gst-launch-1.0 v4l2src ! xvimagesink<br class=""><br class=""></div>it "works", but with a green image.<br class=""><br class=""></div>I'm trying to override the format, but I'm not having any luck:<br class=""><br class="">  gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=YVYU,width=3456,height=2592,framerate=5/1 ! videoparse ! video/x-raw,format=rgb,width=3456,height=2592  ! xvimagesink<br class="">Setting pipeline to PAUSED ...<br class="">Pipeline is live and does not need PREROLL ...<br class="">Setting pipeline to PLAYING ...<br class="">New clock: GstSystemClock<br class="">ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.<br class="">Additional debug info:<br class="">gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:<br class="">streaming task paused, reason not-negotiated (-4)<br class="">Execution ended after 0:00:00.001297994<br class="">Setting pipeline to PAUSED ...<br class="">Setting pipeline to READY ...<br class="">Setting pipeline to NULL ...<br class="">Freeing pipeline ...<br class=""><br class=""></div>I tried turning up the debug level, but there's not any more details coming from the v4l2src element, as far as i can see. If anyone have some hints, it's maybe a bit hard to reproduce, but I guess you can try to "cast" data on any camera.<br class=""><br class=""></div>Best regards,<br class=""></div>Kristoffer Koch<br class=""></div>
_______________________________________________<br class="">gstreamer-devel mailing list<br class=""><a href="mailto:gstreamer-devel@lists.freedesktop.org" class="">gstreamer-devel@lists.freedesktop.org</a><br class="">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br class=""></div></blockquote></div><br class=""></body></html>