Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtMultimedia »

Classe « QMediaPlayer »

Informations générales

Héritage

builtins.object
    Object
        QObject
            QMediaPlayer

Définition

class QMediaPlayer(QObject):

Description [extrait de QMediaPlayer.__doc__]

QMediaPlayer(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]
__init__(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None __init__(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AccessDeniedErrorPySide6.QtMultimedia.QMediaPlayer.Error.AccessDeniedError
BufferedMediaPySide6.QtMultimedia.QMediaPlayer.MediaStatus.BufferedMedia
BufferingMediaPySide6.QtMultimedia.QMediaPlayer.MediaStatus.BufferingMedia
EndOfMediaPySide6.QtMultimedia.QMediaPlayer.MediaStatus.EndOfMedia
FormatErrorPySide6.QtMultimedia.QMediaPlayer.Error.FormatError
InvalidMediaPySide6.QtMultimedia.QMediaPlayer.MediaStatus.InvalidMedia
LoadedMediaPySide6.QtMultimedia.QMediaPlayer.MediaStatus.LoadedMedia
LoadingMediaPySide6.QtMultimedia.QMediaPlayer.MediaStatus.LoadingMedia
NetworkErrorPySide6.QtMultimedia.QMediaPlayer.Error.NetworkError
NoErrorPySide6.QtMultimedia.QMediaPlayer.Error.NoError
NoMediaPySide6.QtMultimedia.QMediaPlayer.MediaStatus.NoMedia
PausedStatePySide6.QtMultimedia.QMediaPlayer.PlaybackState.PausedState
PlayingStatePySide6.QtMultimedia.QMediaPlayer.PlaybackState.PlayingState
ResourceErrorPySide6.QtMultimedia.QMediaPlayer.Error.ResourceError
StalledMediaPySide6.QtMultimedia.QMediaPlayer.MediaStatus.StalledMedia
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40dcf12b00>
StoppedStatePySide6.QtMultimedia.QMediaPlayer.PlaybackState.StoppedState

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
activeAudioTrack(self) -> int activeAudioTrack(self) -> int [extrait de activeAudioTrack.__doc__]
activeSubtitleTrack(self) -> int activeSubtitleTrack(self) -> int [extrait de activeSubtitleTrack.__doc__]
activeTracksChanged
activeVideoTrack(self) -> int activeVideoTrack(self) -> int [extrait de activeVideoTrack.__doc__]
audioOutput(self) -> PySide6.QtMultimedia.QAudioOutput audioOutput(self) -> PySide6.QtMultimedia.QAudioOutput [extrait de audioOutput.__doc__]
audioOutputChanged
audioTracks(self) -> List[PySide6.QtMultimedia.QMediaMetaData] audioTracks(self) -> List[PySide6.QtMultimedia.QMediaMetaData] [extrait de audioTracks.__doc__]
bufferedTimeRange(self) -> PySide6.QtMultimedia.QMediaTimeRange bufferedTimeRange(self) -> PySide6.QtMultimedia.QMediaTimeRange [extrait de bufferedTimeRange.__doc__]
bufferProgress(self) -> float bufferProgress(self) -> float [extrait de bufferProgress.__doc__]
bufferProgressChanged
destroyed
duration(self) -> int duration(self) -> int [extrait de duration.__doc__]
durationChanged
Error
error(self) -> PySide6.QtMultimedia.QMediaPlayer.Error error(self) -> PySide6.QtMultimedia.QMediaPlayer.Error [extrait de error.__doc__]
errorChanged
errorOccurred
errorString(self) -> str errorString(self) -> str [extrait de errorString.__doc__]
hasAudio(self) -> bool hasAudio(self) -> bool [extrait de hasAudio.__doc__]
hasAudioChanged
hasVideo(self) -> bool hasVideo(self) -> bool [extrait de hasVideo.__doc__]
hasVideoChanged
isAvailable(self) -> bool isAvailable(self) -> bool [extrait de isAvailable.__doc__]
isSeekable(self) -> bool isSeekable(self) -> bool [extrait de isSeekable.__doc__]
MediaStatus
mediaStatus(self) -> PySide6.QtMultimedia.QMediaPlayer.MediaStatus mediaStatus(self) -> PySide6.QtMultimedia.QMediaPlayer.MediaStatus [extrait de mediaStatus.__doc__]
mediaStatusChanged
metaData(self) -> PySide6.QtMultimedia.QMediaMetaData metaData(self) -> PySide6.QtMultimedia.QMediaMetaData [extrait de metaData.__doc__]
metaDataChanged
objectNameChanged
pause(self) -> None pause(self) -> None [extrait de pause.__doc__]
play(self) -> None play(self) -> None [extrait de play.__doc__]
playbackRate(self) -> float playbackRate(self) -> float [extrait de playbackRate.__doc__]
playbackRateChanged
PlaybackState
playbackState(self) -> PySide6.QtMultimedia.QMediaPlayer.PlaybackState playbackState(self) -> PySide6.QtMultimedia.QMediaPlayer.PlaybackState [extrait de playbackState.__doc__]
playbackStateChanged
position(self) -> int position(self) -> int [extrait de position.__doc__]
positionChanged
seekableChanged
setActiveAudioTrack(self, index: int) -> None setActiveAudioTrack(self, index: int) -> None [extrait de setActiveAudioTrack.__doc__]
setActiveSubtitleTrack(self, index: int) -> None setActiveSubtitleTrack(self, index: int) -> None [extrait de setActiveSubtitleTrack.__doc__]
setActiveVideoTrack(self, index: int) -> None setActiveVideoTrack(self, index: int) -> None [extrait de setActiveVideoTrack.__doc__]
setAudioOutput(self, output: PySide6.QtMultimedia.QAudioOutput) -> None setAudioOutput(self, output: PySide6.QtMultimedia.QAudioOutput) -> None [extrait de setAudioOutput.__doc__]
setPlaybackRate(self, rate: float) -> None setPlaybackRate(self, rate: float) -> None [extrait de setPlaybackRate.__doc__]
setPosition(self, position: int) -> None setPosition(self, position: int) -> None [extrait de setPosition.__doc__]
setSource(self, source: Union[PySide6.QtCore.QUrl, str]) -> None setSource(self, source: Union[PySide6.QtCore.QUrl, str]) -> None [extrait de setSource.__doc__]
setSourceDevice(self, device: PySide6.QtCore.QIODevice, sourceUrl: Union[PySide6.QtCore.QUrl, str] = Default(QUrl)) -> None setSourceDevice(self, device: PySide6.QtCore.QIODevice, sourceUrl: Union[PySide6.QtCore.QUrl, str] = Default(QUrl)) -> None [extrait de setSourceDevice.__doc__]
setVideoOutput(self, arg__1: PySide6.QtCore.QObject) -> None setVideoOutput(self, arg__1: PySide6.QtCore.QObject) -> None [extrait de setVideoOutput.__doc__]
setVideoSink(self, sink: PySide6.QtMultimedia.QVideoSink) -> None setVideoSink(self, sink: PySide6.QtMultimedia.QVideoSink) -> None [extrait de setVideoSink.__doc__]
source(self) -> PySide6.QtCore.QUrl source(self) -> PySide6.QtCore.QUrl [extrait de source.__doc__]
sourceChanged
sourceDevice(self) -> PySide6.QtCore.QIODevice sourceDevice(self) -> PySide6.QtCore.QIODevice [extrait de sourceDevice.__doc__]
stop(self) -> None stop(self) -> None [extrait de stop.__doc__]
subtitleTracks(self) -> List[PySide6.QtMultimedia.QMediaMetaData] subtitleTracks(self) -> List[PySide6.QtMultimedia.QMediaMetaData] [extrait de subtitleTracks.__doc__]
tr
tracksChanged
videoOutput(self) -> PySide6.QtCore.QObject videoOutput(self) -> PySide6.QtCore.QObject [extrait de videoOutput.__doc__]
videoOutputChanged
videoSink(self) -> PySide6.QtMultimedia.QVideoSink videoSink(self) -> PySide6.QtMultimedia.QVideoSink [extrait de videoSink.__doc__]
videoTracks(self) -> List[PySide6.QtMultimedia.QMediaMetaData] videoTracks(self) -> List[PySide6.QtMultimedia.QMediaMetaData] [extrait de videoTracks.__doc__]

Méthodes héritées de la classe QObject

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent

Méthodes héritées de la classe Object

__getattribute__, __init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__