Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 5 usb camera record and view

Qt 5 usb camera record and view

Scheduled Pinned Locked Moved Unsolved General and Desktop
recordingcamera liveraspberry pi 4video streamingvideooutput
4 Posts 3 Posters 881 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Edanur
    wrote on 1 Oct 2021, 04:03 last edited by
    #1

    Hello,

    I'm interfacing with qt 5 on a raspberry pi 4. I can watch the camera view using Qcamera but I also want to record it. when i stop the video it needs to be saved as a file. When I press the camera button, the video will start and at the same time the recording will start. Pressing the stop button will stop the recording and video.

    Could you tell me how can i do it ? Thank you.

    J 1 Reply Last reply 1 Oct 2021, 05:12
    0
    • E Edanur
      1 Oct 2021, 04:03

      Hello,

      I'm interfacing with qt 5 on a raspberry pi 4. I can watch the camera view using Qcamera but I also want to record it. when i stop the video it needs to be saved as a file. When I press the camera button, the video will start and at the same time the recording will start. Pressing the stop button will stop the recording and video.

      Could you tell me how can i do it ? Thank you.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 1 Oct 2021, 05:12 last edited by
      #2

      @Edanur Start here: Playing: https://doc.qt.io/qt-5/videooverview.html

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • E Offline
        E Offline
        Edanur
        wrote on 3 Oct 2021, 14:52 last edited by
        #3

        Thank you for your answer. But still my problem is not solved. I want the video recording to start and at the same time to show the image live when the button is pressed from the gui.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 3 Oct 2021, 17:35 last edited by
          #4

          Hi,

          A QMediaRecorder to the mix.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          2/4

          1 Oct 2021, 05:12

          • Login

          • Login or register to search.
          2 out of 4
          • First post
            2/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved