Hello,
I'd like play video in a QT4 application, capturing frames with V4l2 functions. What is the faster method to do it (QImage, QPixmap, XWindow, etc.)
Thanks.
(and sorry for my english, I'm spanish)
Hello,
I'd like play video in a QT4 application, capturing frames with V4l2 functions. What is the faster method to do it (QImage, QPixmap, XWindow, etc.)
Thanks.
(and sorry for my english, I'm spanish)
maybe it would be better to use Phonon?
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
OK, but how can I send V4L2 frames to phonon?.
You have to encode them in some format known to Phonon. Otherwise you have to render each frame yourself by going through QImage and QPixmap rendered on QLabel or QImage that you will map to an OpenGL texture and render it on QGLWidget (which is less resource intensive if you have hardware accelerated OpenGL).
Bookmarks