QT mobility API : How to record video
-
Hi,
the task of my project would be to record a video and analize the frames for
image processing.
Please, is there any sample project to record on a buffer and not on a file
and is there any class to analize the sequences of frame?
I have already searched in forum but seems nobody has posted any similar question
Thanks in advance, regards
-
Not sure there exists a (high level) API to record to memory (partly because of the limited memory on mobile/embedded devices). What you could do is did into the mobility sources and see how the recording is done and if there is someway you could hook into the process (or copy a private class and use it in your project). However, I would suggest you re-think whether you actually want the recording to be done to memory.
-
One way would be to subclass "QAbstractVideoSurface":http://doc.qt.nokia.com/qtmobility-1.2/qabstractvideosurface.html and use QMediaPlayer. Otherwise, again, look into the Qt mobility sources. It's quite useful in finding what you need.