Saving live video feed
General and Desktop
9
Posts
2
Posters
2.1k
Views
1
Watching
-
I am working with live video feed using v4l library. I have started working on the following example:
http://qt-apps.org/content/show.php/qt+webcam+viewer+-+V4lCapture?content=126541how can you save the live video feed coming from the web cam?
-
Hi,
If you are using QtMultimedia for that then have a look at "QMediaRecorder":http://qt-project.org/doc/qt-5/qmediarecorder.html
Hope it helps
-
You can use the v4l library directly and transform the image data to a QImage/QPixmap
-
If you really want to avoid QtMultimedia then you must use something like libav/ffmpeg to do the video encoding
-
You wrote earlier that you wanted a method not using QtMultimedia. So what's the current state ?