I am using Qtmultimedia 5.0 to record and capture video from webcam. The example provided by Qt helped me very much. I could record and stop the captured video using the following code.
Qt Code:
Camera { id: camera } Rectangle{ Text{ text: qsTr("Record") } MouseArea{ onClicked: camera.videoRecorder.record() } } Rectangle{ Text{ text: qsTr("Stop") } MouseArea{ onClicked: camera.stop() } }To copy to clipboard, switch view to plain text mode
i need the pause and resume the webcam video.By default the recorded video is saved in mkv format. file is being closed when i use camera.stop(). when camera.start() is called ,it is saving in new file. I need to append the current video to the previously recorded video. pls help.
Bookmarks