MediaRecorder
Qt Base Class: QMediaRecorder
Signature: QMediaRecorder(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None
Base classes
Name | Children | Inherits |
---|---|---|
ObjectMixin prettyqt.core.object |
||
QMediaRecorder PySide6.QtMultimedia QMediaRecorder(self, parent: Optional[PySide6.QtCore.QObject] \= None) -> None |
⋔ Inheritance diagram
graph TD
1473573985120["multimedia.MediaRecorder"]
1473299815024["core.ObjectMixin"]
140713234304496["builtins.object"]
1473573924608["QtMultimedia.QMediaRecorder"]
1473288842240["QtCore.QObject"]
1473291690208["Shiboken.Object"]
1473299815024 --> 1473573985120
140713234304496 --> 1473299815024
1473573924608 --> 1473573985120
1473288842240 --> 1473573924608
1473291690208 --> 1473288842240
140713234304496 --> 1473291690208
🛈 DocStrings
Bases: ObjectMixin
, QMediaRecorder
Source code in prettyqt\multimedia\mediarecorder.py
get_encoding_mode() -> EncodingModeStr
get_error() -> ErrorStr
get_quality() -> QualityStr
get_recorder_state() -> RecorderStateStr
set_encoding_mode(mode: EncodingModeStr)
Set encoding mode.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
mode |
EncodingModeStr
|
encoding mode to use |
required |
set_quality(quality: QualityStr)
Set quality.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
quality |
QualityStr
|
quality to use |
required |
⌗ Property table
Qt Property | Type | Doc |
---|---|---|
objectName |
QString | |
recorderState |
QMediaRecorder::RecorderState | |
duration |
qlonglong | |
outputLocation |
QUrl | |
actualLocation |
QUrl | |
metaData |
QMediaMetaData | |
error |
QMediaRecorder::Error | |
errorString |
QString | |
mediaFormat |
QMediaFormat | |
quality |
QMediaRecorder::Quality |