How to save QCamera recorded video into file
@QCamera *camera = new QCamera;
QMediaRecorder *recorder = new QMediaRecorder(camera);
I want to save QCamera recorded video into file stream and get recording progress!
You need to call QMediaRecorder::setOutputLocation(). See http://qt-project.org/doc/qt-5/qmediarecorder.html#details
Thank you, but camera doesn't record and doesn't burn durationChanged() event.
My web camera works well.
What is the problem ?
Am almost certain that you are using a Windows PC, if that is the case you cannot save recorded videos on qt because qt does not support it. It's as simple as that! http://doc.qt.io/qt-5/qtmultimedia-windows.html