<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi all,</div>
<div> </div>
<div>I'm trying to pipeline a webcam to a qmlglsink.</div>
<div> </div>
<div>When testing:</div>
<div>gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! autovideosink<br/>
This is working.</div>
<div> </div>
<div>FYI: my webcam seems to provide YUY2 (only).</div>
<div> </div>
<div>But when testing (in Code):</div>
<div>v4l2src device=/dev/video0 ! videoconvert ! glupload ! qmlglsink</div>
<div>I get this problem:</div>
<div>gluploadelement0> transform could not transform video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:5:1, interlace-mode=(string)progressive in anything we support</div>
<div> </div>
<div>I can reproduce this behaviour in commandline with:</div>
<div>gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! glupload ! gldownload ! autovideosink --gst-debug-level=4</div>
<div> </div>
<div>Same problem:</div>
<div>WARN basetransform gstbasetransform.c:1364:gst_base_transform_setcaps:<gluploadelement0> transform could not transform video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:5:1, interlace-mode=(string)progressive in anything we support<br/>
INFO basesrc gstbasesrc.c:2962:gst_base_src_loop:<v4l2src0> marking pending DISCONT<br/>
WARN basetransform gstbasetransform.c:1364:gst_base_transform_setcaps:<gluploadelement0> transform could not transform video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:5:1, interlace-mode=(string)progressive in anything we support<br/>
WARN basesrc gstbasesrc.c:3072:gst_base_src_loop:<v4l2src0> error: Internal data stream error.<br/>
WARN basesrc gstbasesrc.c:3072:gst_base_src_loop:<v4l2src0> error: streaming stopped, reason not-negotiated (-4)<br/>
INFO GST_ERROR_SYSTEM gstelement.c:2141:gst_element_message_full_with_details:<v4l2src0> posting message: Internal data stream error.<br/>
INFO GST_ERROR_SYSTEM gstelement.c:2168:gst_element_message_full_with_details:<v4l2src0> posted error message: Internal data stream error.<br/>
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.</div>
<div> </div>
<div>I also tried something like:</div>
<div>gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw, width=320, height=240, format=YUY2 ! videoconvert ! "video/x-raw, width=320, height=240, format=RGBA" ! glupload ! gldownload ! autovideosink --gst-debug-level=4</div>
<div> </div>
<div>For my understanding the videoconvert should be able to handle YUY2 as well as the RGBA that is expected by glupload. But something is missing..</div>
<div> </div>
<div>Any enlightment into this is highly appreciated,</div>
<div> </div>
<div>Thanks + Best,</div>
<div>Bodo</div></div></body></html>