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:
  1. Camera {
  2. id: camera
  3. }
  4.  
  5. Rectangle{
  6. Text{
  7. text: qsTr("Record")
  8. }
  9. MouseArea{
  10. onClicked: camera.videoRecorder.record()
  11.  
  12. }
  13. }
  14.  
  15. Rectangle{
  16. Text{
  17. text: qsTr("Stop")
  18. }
  19. MouseArea{
  20. onClicked: camera.stop()
  21.  
  22. }
  23. }
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.