PySide6.QtMultimedia¶
- PySide6.QtMultimedia.QAbstractVideoBuffer
- PySide6.QtMultimedia.QAudio
- PySide6.QtMultimedia.QAudioBuffer
- PySide6.QtMultimedia.QAudioBufferInput
- PySide6.QtMultimedia.QAudioBufferOutput
- PySide6.QtMultimedia.QAudioDecoder
- PySide6.QtMultimedia.QAudioDevice
- PySide6.QtMultimedia.QAudioFormat
- PySide6.QtMultimedia.QAudioInput
- PySide6.QtMultimedia.QAudioOutput
- PySide6.QtMultimedia.QAudioSink
- PySide6.QtMultimedia.QAudioSource
- PySide6.QtMultimedia.QCamera
- PySide6.QtMultimedia.QCameraDevice
- PySide6.QtMultimedia.QCameraFormat
- PySide6.QtMultimedia.QCapturableWindow
- PySide6.QtMultimedia.QImageCapture
- PySide6.QtMultimedia.QMediaCaptureSession
- PySide6.QtMultimedia.QMediaDevices
- PySide6.QtMultimedia.QMediaFormat
- PySide6.QtMultimedia.QMediaMetaData
- PySide6.QtMultimedia.QMediaPlayer
- PySide6.QtMultimedia.QMediaRecorder
- PySide6.QtMultimedia.QMediaTimeRange
- PySide6.QtMultimedia.QScreenCapture
- PySide6.QtMultimedia.QSoundEffect
- PySide6.QtMultimedia.QVideoFrame
- PySide6.QtMultimedia.QVideoFrameFormat
- PySide6.QtMultimedia.QVideoFrameInput
- PySide6.QtMultimedia.QVideoSink
- PySide6.QtMultimedia.QWaveDecoder
- PySide6.QtMultimedia.QWindowCapture
- PySide6.QtMultimedia.QtVideo
Detailed Description¶
The Qt Multimedia module provides APIs for playing back and recording audiovisual content
Qt Multimedia is an add-on module that provides a rich set of QML types and C++ classes to handle multimedia content. It contains an easy to use API for playing back audio and video files and rendering those on screen, as well as a comprehensive API for recording audio and video from the systems cameras and microphones.
The functionality of this module is divided into the following submodules:
Provides API for multimedia-specific use cases.
Qt Multimedia Widgets
Provides the widget-based multimedia API.
Getting started¶
If you are porting from Qt 5 to Qt 6 see Changes to Qt Multimedia .
To include the definitions of modules classes, use the following directive:
import PySide6.QtMultimedia
The module also provides QML types .
Overviews and Important Topics¶
QML Types¶
The following table outlines some important QML types.
Type
Description
Add audio/video playback functionality to a scene.
Create a session for capturing audio/video.
Access a camera connected to the system.
Access an audio input (microphone) connected to the system.
Access an audio output (speaker, headphone) connected to the system.
Display video content.
Record audio/video from the CaptureSession .
Capture still images from the Camera.
Add Video playback functionality to a scene. Uses MediaPlayer and VideoOutput types to provide video playback functionality.
C++ Classes¶
The following table outlines some important C++ Classes
Class
Description
Playback media from a source.
Display video from a media player or a capture session.
Capture audio and video.
Access a camera connected to the system
Access an audio input (microphone) connected to the system.
Access an audio output (speaker, headphone) connected to the system.
Capture still images with a camera.
Record media content from a capture session.
Access and render individual video frames.
Sends raw audio data to an audio output device.
For playback QMediaPlayer
,
QAudioOutput
and QVideoOutput
contain all the required functionality. The other classes are used for
capturing audio and video content, where the
QMediaCaptureSession
is the
central class managing the whole capture/recording process.
List of Classes¶
A |
|||
C |
|||
I |
|||
M |
|||
P |
|||
Q |
|||
S |
|||
V |
|||
W |