May 2019
Intermediate to advanced
542 pages
13h 37m
English
To record videos, we first need a source. In Qt, this source must be a subclass of QMediaObject, which can include an audio source, a media player, a radio, or—as we'll be using in this program—a camera.
Cameras themselves are represented as QCamera objects in Qt. To create a working QCamera object, though, we need to first get a QCameraInfo object. The QCameraInfo object contains information about a physical camera attached to the computer. A list of these objects can be obtained from the QtMultimedia.QCameraInfo.availableCameras() ...
Read now
Unlock full access