<?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[Camera example from QT5 on linux show black screen (no error output)]]></title><description><![CDATA[<p dir="auto">from archlinux, with intel i7 CPU and GPU on Intel CPU...<br />
just try to use QViewFinder or QMediaRecorder failed. And then, you can try by use directly the example provide by QT5 examples for "Camera example".<br />
When use code writing in QML, all video works... not from Qt/C++ codes.</p>
<p dir="auto">here is the output:</p>
<p dir="auto">libva info: VA-API version 0.38.1<br />
libva info: va_getDriverName() returns 0<br />
libva info: Trying to open /usr/lib/dri/i965_drv_video.so<br />
libva info: Found init function __vaDriverInit_0_38<br />
libva info: va_openDriver() returns 0</p>
<p dir="auto">I asked for help before here (i not find the post... forum search tool here seems to be confuse for me, and i not find where is the page of all the post i send... tell me please) and used from a laptop, then i thank about it came from dual nvidia/intel use with blumblebee, but not. Here on my desktop PC, just with Intel use, there is a black screen instead of the camera image. The camera USB is well recognize and works fine (there is no problem with the camera, and also, it works when use QML code). Take picture from these example application works...<br />
I can not remove libva because other dependencies need it... and i think that the problem come from the fact of bad (maybe old never resolved bug) use of libva by QT5... how is it possible to tell QT5 to use an other one way for show screen video images (for example the same way QML use libs for show video could be just perfect) ?</p>
<p dir="auto">Thank you for help.</p>
]]></description><link>https://forum.qt.io/topic/65015/camera-example-from-qt5-on-linux-show-black-screen-no-error-output</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 22:08:57 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/65015.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 11 Mar 2016 09:24:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Camera example from QT5 on linux show black screen (no error output) on Sun, 27 Mar 2016 04:10:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> HI, yes, i had a problem with my account/password... now i found my password notebook. Then the post you link is my post from my first "old" account.<br />
I have to delete this new account.</p>
<p dir="auto">thank you Ggaist.</p>
]]></description><link>https://forum.qt.io/post/319622</link><guid isPermaLink="true">https://forum.qt.io/post/319622</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sun, 27 Mar 2016 04:10:19 GMT</pubDate></item><item><title><![CDATA[Reply to Camera example from QT5 on linux show black screen (no error output) on Fri, 11 Mar 2016 22:02:26 GMT]]></title><description><![CDATA[<p dir="auto">Hi and welcome to devnet,</p>
<p dir="auto">Looks pretty similar to this <a href="https://forum.qt.io/topic/63314/">thread</a>.</p>
<p dir="auto">Same problem ?</p>
]]></description><link>https://forum.qt.io/post/317599</link><guid isPermaLink="true">https://forum.qt.io/post/317599</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 11 Mar 2016 22:02:26 GMT</pubDate></item></channel></rss>