<div dir="ltr"><div>Thanks for your quick feedback.<br><br>rawvideoparse isn't in gstreamer 1.0 on the stock Ubuntu 16.10, but I'll try to build the latest gstreamer and check the behaviour there.<br><br></div>Best regards, Kristoffer<br><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 21, 2017 at 1:08 PM, Andrew Grace <span dir="ltr"><<a href="mailto:apenngrace@gmail.com" target="_blank">apenngrace@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Not sure if this affects anything, but the docs state that videoparse is deprecated and to look at rawvideoparse instead. </div><div><br></div><div>(<a href="https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/gst-plugins-bad-plugins-videoparse.html" target="_blank">https://gstreamer.<wbr>freedesktop.org/data/doc/<wbr>gstreamer/head/gst-plugins-<wbr>bad-plugins/html/gst-plugins-<wbr>bad-plugins-videoparse.html</a>)</div><div><br></div><div>Andrew</div><br><div><blockquote type="cite"><div><div class="h5"><div>On Mar 21, 2017, at 6:57 AM, Kristoffer Koch <<a href="mailto:kristoffer@huddly.com" target="_blank">kristoffer@huddly.com</a>> wrote:</div><br class="m_2813746568570639702Apple-interchange-newline"></div></div><div><div><div class="h5"><div dir="ltr"><div><div><div><div><div><div><div><div>Hi,<br><br></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><br></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><br></div>Of course, if I do<br><br>  gst-launch-1.0 v4l2src ! xvimagesink<br><br></div>it "works", but with a green image.<br><br></div>I'm trying to override the format, but I'm not having any luck:<br><br>  gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=YVYU,width=<wbr>3456,height=2592,framerate=5/1 ! videoparse ! video/x-raw,format=rgb,width=<wbr>3456,height=2592  ! xvimagesink<br>Setting pipeline to PAUSED ...<br>Pipeline is live and does not need PREROLL ...<br>Setting pipeline to PLAYING ...<br>New clock: GstSystemClock<br>ERROR: from element /GstPipeline:pipeline0/<wbr>GstV4l2Src:v4l2src0: Internal data flow error.<br>Additional debug info:<br>gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/<wbr>GstV4l2Src:v4l2src0:<br>streaming task paused, reason not-negotiated (-4)<br>Execution ended after 0:00:00.001297994<br>Setting pipeline to PAUSED ...<br>Setting pipeline to READY ...<br>Setting pipeline to NULL ...<br>Freeing pipeline ...<br><br></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><br></div>Best regards,<br></div>Kristoffer Koch<br></div></div></div>
______________________________<wbr>_________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<wbr>freedesktop.org</a><br><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br></div></blockquote></div><br></div><br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br></div>