Getting access to the frames in video stream provided by QCamera
I have a problem for which I cannot find a solution. I’m using QCamera class (Qt Mobility 1.1) and I need to get access to the video frames(e.g. QVideoFrame) provided by the camera in N900. I need to do some image processing to the frames before they are shown in for example QVideoWidget. How can I do that?
I have tried the method illustrated in http://developer.qt.nokia.com/forums/viewthread/370 with no luck.
If i don’t define “camera->setViewfinder(viewfinder);”, all I get is some Camerabin “internal data flow error”.
I have also considered subclassing QVideoWidget and reimplementing paintEvent, but don’t see how can I actually get access to the frames before they are drawn to the widget.
I do not want to process snapshot images that are already saved in file.
Is the any good solutions/examples how to solve this problem?
Thank you.
6 replies
The camera API is still in Technology preview mode.
It is not the final release, There are so many developers are getting error while making project using camera API under Qt Mobility 1.1 TP. [doc.qt.nokia.com]
We have to wait for the stable version, for full support.
The camera API is still in Technology preview mode.It is not the final release, There are so many developers are getting error while making project using camera API under Qt Mobility 1.1 TP. [doc.qt.nokia.com]
We have to wait for the stable version, for full support.
Qt Mobility 1.1 is out from TP and now a” stable version”:http://doc.qt.nokia.com/qtmobility-1.1/index.html is available. Even Qt Mobility 1.2 TP is out.
You must log in to post a reply. Not a member yet? Register here!



