PDA

View Full Version : pause and resume caputured webcam video (Qtmultimedia 5.0)



bts-007
30th May 2013, 16:39
Greetings to everyone
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.



Camera {
id: camera
}

Rectangle{
Text{
text: qsTr("Record")
}
MouseArea{
onClicked: camera.videoRecorder.record()

}
}

Rectangle{
Text{
text: qsTr("Stop")
}
MouseArea{
onClicked: camera.stop()

}
}



Now i need the pause and resume the webcam video. Is there any function to do that job. If I resume the video it should append to the opened file.

bts-007
31st May 2013, 14:29
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.