IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Qt Multimedia Module C++ Classes

The Qt Multimedia module provides audio, video and camera functionality.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Qt Multimedia Module C++ Classes

The Qt Multimedia module provides audio, video and camera functionality.

Namespaces

  • QAudio: The QAudio namespace contains enums used by the audio classes.

Classes

  • QAudioBuffer: The QAudioBuffer class represents a collection of audio samples with a specific format and sample rate.

  • QAudioDecoder: The QAudioDecoder class implements decoding audio.

  • QAudioDevice: The QAudioDevice class provides an information about audio devices and their functionality.

  • QAudioFormat: The QAudioFormat class stores audio stream parameter information.

  • QAudioInput: Represents an input channel for audio.

  • QAudioOutput: Represents an output channel for audio.

  • QAudioSink: The QAudioSink class provides an interface for sending audio data to an audio output device.

  • QAudioSource: The QAudioSource class provides an interface for receiving audio data from an audio input device.

  • QCamera: The QCamera class provides interface for system camera devices.

  • QCameraDevice: The QCameraDevice class provides general information about camera devices.

  • QCameraFormat: The QCameraFormat class describes a video format supported by a camera device.

  • QImageCapture: The QImageCapture class is used for the recording of media content.

  • QMediaCaptureSession: The QMediaCaptureSession class allows capturing of audio and video content.

  • QMediaDevices: The QMediaDevices class provides information about available multimedia input and output devices.

  • QMediaFormat: Describes an encoding format for a multimedia file or stream.

  • QMediaMetaData: Provides meta-data for media files.

  • QMediaPlayer: The QMediaPlayer class allows the playing of a media files.

  • QMediaRecorder: The QMediaRecorder class is used for encoding and recording a capture session.

  • QMediaTimeRange: The QMediaTimeRange class represents a set of zero or more disjoint time intervals.

  • QMediaTimeRange::Interval: The QMediaTimeRange::Interval class represents a time interval with integer precision.

  • QSoundEffect: The QSoundEffect class provides a way to play low latency sound effects.

  • QVideoFrame: The QVideoFrame class represents a frame of video data.

  • QVideoFrameFormat: The QVideoFrameFormat class specifies the stream format of a video presentation surface.

  • QVideoSink: The QVideoSink class represents a generic sink for video data.

Detailed Description

 

Using the Module

Using a Qt module requires linking against the module library, either directly or through other dependencies. Several build tools have dedicated support for this, including CMake and qmake.

Building with CMake

Use the find_package() command to locate the needed module components in the Qt6 package:

 
Sélectionnez
find_package(Qt6 REQUIRED COMPONENTS Multimedia)
target_link_libraries(mytarget PRIVATE Qt6::Multimedia)

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+