<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[unable to get colored image using v4l2 and qt+qml onClicked]]></title><description><![CDATA[<p dir="auto">hi everyone first of all i am very new to Qt and using Qt-Quick Application on Qt-4.8.5 for my 32 bit IMX6-arm7 target and building on 64bit ubuntu12.04.<br />
i want to generate onClicked event to capture camera image using v4l2 api. I am following the referance from this <a href="http://linuxtv.org/downloads/v4l-dvb-apis/capture-example.html" target="_blank" rel="noopener noreferrer nofollow ugc">link text</a> and <a href="http://linuxtv.org/downloads/v4l-dvb-apis/" target="_blank" rel="noopener noreferrer nofollow ugc">link text</a> but somwhat unable to get colored image as per expected, the output is combination of black and green color. I will feel really glad if u help me to get rid of this issue.</p>
]]></description><link>https://forum.qt.io/topic/60253/unable-to-get-colored-image-using-v4l2-and-qt-qml-onclicked</link><generator>RSS for Node</generator><lastBuildDate>Mon, 28 Sep 2026 10:51:06 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/60253.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 02 Nov 2015 13:19:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to unable to get colored image using v4l2 and qt+qml onClicked on Tue, 03 Nov 2015 06:52:49 GMT]]></title><description><![CDATA[<p dir="auto">There already a camera application(qtcam) integrated qtquick and v4l2, please try clone the source from the below link,<br />
<a href="https://github.com/econsysqtcam/qtcam.git" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/econsysqtcam/qtcam.git</a><br />
Application available in launchpad also for ubuntu 12.04 &amp; 14.04</p>
]]></description><link>https://forum.qt.io/post/296322</link><guid isPermaLink="true">https://forum.qt.io/post/296322</guid><dc:creator><![CDATA[vishnukumarmdu]]></dc:creator><pubDate>Tue, 03 Nov 2015 06:52:49 GMT</pubDate></item><item><title><![CDATA[Reply to unable to get colored image using v4l2 and qt+qml onClicked on Tue, 03 Nov 2015 06:47:27 GMT]]></title><description><![CDATA[<p dir="auto">thankx for ur reply,</p>
<p dir="auto">yes i did try sample code from this <a href="http://linuxtv.org/downloads/v4l-dvb-apis/capture-example.html" target="_blank" rel="noopener noreferrer nofollow ugc">link text</a>.<br />
but the output was just stream of dots</p>
<p dir="auto">[root@imx6q 3nov]# ./test1  -h<br />
Usage: ./test1 [options]</p>
<p dir="auto">Version 1.3<br />
Options:<br />
-d | --device name   Video device name [/dev/video0]<br />
-h | --help          Print this message<br />
-m | --mmap          Use memory mapped buffers [default]<br />
-r | --read          Use read() calls<br />
-u | --userp         Use application allocated buffers<br />
-o | --output        Outputs stream to stdout<br />
-f | --format        Force format to 640x480 YUYV<br />
-c | --count         Number of frames to grab [70]</p>
<p dir="auto">[root@imx6q 3nov]# ./test1  -d /dev/video0<br />
YUYV<br />
......................................................................<br />
[root@imx6q 3nov]#</p>
<p dir="auto">[root@imx6q 3nov]# ./test1  -r<br />
imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x00000001<br />
.imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x00000001<br />
.imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x00000001<br />
.imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x00000001<br />
.imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x00000001<br />
.imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x00000001</p>
<p dir="auto">[root@imx6q 3nov]# ./test1  -o test.jpg<br />
YUYV<br />
�������������������������������������������������������������������������������������������������������������������������������������������������������������������</p>
<p dir="auto">[root@imx6q 3nov]# ./test1  -o test.bmp<br />
YUYV<br />
�������������������������������������������������������������������������������������������������������������������������������������������������������������������</p>
<p dir="auto">some kind of unsupported data. not getting what i am doin wrong.</p>
]]></description><link>https://forum.qt.io/post/296321</link><guid isPermaLink="true">https://forum.qt.io/post/296321</guid><dc:creator><![CDATA[Anas_Deshmukh]]></dc:creator><pubDate>Tue, 03 Nov 2015 06:47:27 GMT</pubDate></item><item><title><![CDATA[Reply to unable to get colored image using v4l2 and qt+qml onClicked on Mon, 02 Nov 2015 23:53:46 GMT]]></title><description><![CDATA[<p dir="auto">Hi and welcome to devnet,</p>
<p dir="auto">Did you run the v4l2 sample code successfully ?</p>
]]></description><link>https://forum.qt.io/post/296295</link><guid isPermaLink="true">https://forum.qt.io/post/296295</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 02 Nov 2015 23:53:46 GMT</pubDate></item></channel></rss>