Results 1 to 2 of 2

Thread: pause and resume caputured webcam video (Qtmultimedia 5.0)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2013
    Posts
    11
    Thanks
    1
    Thanked 4 Times in 4 Posts
    Platforms
    Unix/X11

    Default pause and resume caputured webcam video (Qtmultimedia 5.0)

    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.

    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 

    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.

  2. #2
    Join Date
    May 2013
    Posts
    11
    Thanks
    1
    Thanked 4 Times in 4 Posts
    Platforms
    Unix/X11

    Default Re: pause and resume caputured webcam video (Qtmultimedia 5.0)

    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.

Similar Threads

  1. Replies: 0
    Last Post: 21st December 2012, 16:56
  2. how to pause or resume a download??
    By Ali Reza in forum Newbie
    Replies: 3
    Last Post: 11th June 2012, 20:11
  3. QThread - how to pause and resume
    By xrep in forum Qt Programming
    Replies: 4
    Last Post: 7th March 2012, 08:59
  4. Webcam Video Capture
    By bajoelkid12 in forum Qt Programming
    Replies: 28
    Last Post: 25th December 2011, 03:28
  5. How to get video streaming from USB webcam
    By sanket.mehta in forum Qt Programming
    Replies: 4
    Last Post: 15th July 2011, 06:45

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.