Qt 5 usb camera record and view
-
wrote on 1 Oct 2021, 04:03 last edited by
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.
-
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.
@Edanur Start here: Playing: https://doc.qt.io/qt-5/videooverview.html
-
wrote on 3 Oct 2021, 14:52 last edited by
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.
-
Hi,
A QMediaRecorder to the mix.
1/4