PDA

View Full Version : append captued video from camera to previously opened file -qml (qmultimedia -ubuntu)



bts-007
31st May 2013, 14:40
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()

}
}


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.