I just did the NSAViewver tutorial which deals with QtMultimedia and QCamera modules in particular. And I also found this tutorial very interesting. I did not know these modules at all and especially the QCamera module and its associated modules. Besides for me with this tutorial we have only touched on the possibilities of these modules
However, if I hadn’t had the code I would never have been able to finish it. Indeed, several things are missing:
- the code of def select_camera up to camera.start is not in the tags. It is not very legible.
- there is no code for change_folder, alert methods.
- the self status function is not present nor the self.save_path method at startup
- there is no main function at the end
you should move the show function into the main function after defining the class
introduce a resize function in order to have a correct window when testing the interface this avoids resizing the window which is really small at launch without this addition of code.
I will also have a few questions:
The tutorial is based on a webcam but can it work with a camcorder, read it (ie display the stream in QVideoWidget or QMovie or QMediaplayerwidget) and/or record the stream of it using QMediaRecorder (or any other module?
If I record the stream with external software (ex dvgrab) Can we see the stream in real time ie during the recording which lasts about 1 hour
Usually, I use Qt Designer for my GUI’s. How can I do that with ? Must I promote a widget ?