Solved video from Qt5 and C++ code example directly failed
-
@SGaist Hi,
after many month, i had to suscribe by two different email address, because one of them is like blacklisted or something like that (never seen my messages printed on the discussion).
But anyway, with the second address, i saw it, but never have answer.When use the camera example code from Qt5, i know exactly the code line who make problem appears:
"camera->setViewfinder(ui->viewfinder);"
GPU is not the problem to.
so consider the testcase is the QT5 example, with archlinux and last Qt-5.7.xxx on Intel CPU, with a usb camera who works with all other programms, and also with QML code. Juste the Qt5 with widgets code never works for me.
Many month of search, never find solution, never find someone more than you that what to help on that to.IRC => no one answer on that to.
i don't know what to do more, seems like use camera with Qt5 and widget code is a pain and it is like that.
-
Can you check what type of video surface you are getting ?
-
I maybe had the same problem. I always got a black viewfinder and the same vaapi messages. The only solution for me was to uninstall the gstreamer-vaapi plugin (if you dont require vaapi).
-
@pauledd
that is also my problem, you find the solution.
I'm so happy ! thank you very much for that, close to one year long for searching a solution...
thank you very much pauledd.