| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434 |
- # The PEP 484 type hints stub file for the QtMultimedia module.
- #
- # Generated by SIP 6.15.3
- #
- # Copyright (c) 2026 Riverbank Computing Limited <info@riverbankcomputing.com>
- #
- # This file is part of PyQt6.
- #
- # This file may be used under the terms of the GNU General Public License
- # version 3.0 as published by the Free Software Foundation and appearing in
- # the file LICENSE included in the packaging of this file. Please review the
- # following information to ensure the GNU General Public License version 3.0
- # requirements will be met: http://www.gnu.org/copyleft/gpl.html.
- #
- # If you do not wish to use this file under the terms of the GPL version 3.0
- # then you may purchase a commercial license. For more information contact
- # info@riverbankcomputing.com.
- #
- # This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
- # WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- import collections, re, typing, enum
- try:
- from warnings import deprecated
- except ImportError:
- pass
- import PyQt6.sip
- from PyQt6 import QtCore
- from PyQt6 import QtGui
- from PyQt6 import QtNetwork
- # Support for QDate, QDateTime and QTime.
- import datetime
- # Convenient type aliases.
- PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal]
- PYQT_SLOT = typing.Union[collections.abc.Callable[..., Any], QtCore.pyqtBoundSignal]
- class QtVideo(PyQt6.sip.simplewrapper):
- class Rotation(enum.Enum):
- None_ = ... # type: QtVideo.Rotation
- Clockwise90 = ... # type: QtVideo.Rotation
- Clockwise180 = ... # type: QtVideo.Rotation
- Clockwise270 = ... # type: QtVideo.Rotation
- class QAudio(PyQt6.sip.simplewrapper):
- class VolumeScale(enum.Enum):
- LinearVolumeScale = ... # type: QAudio.VolumeScale
- CubicVolumeScale = ... # type: QAudio.VolumeScale
- LogarithmicVolumeScale = ... # type: QAudio.VolumeScale
- DecibelVolumeScale = ... # type: QAudio.VolumeScale
- class State(enum.Enum):
- ActiveState = ... # type: QAudio.State
- SuspendedState = ... # type: QAudio.State
- StoppedState = ... # type: QAudio.State
- IdleState = ... # type: QAudio.State
- class Error(enum.Enum):
- NoError = ... # type: QAudio.Error
- OpenError = ... # type: QAudio.Error
- IOError = ... # type: QAudio.Error
- UnderrunError = ... # type: QAudio.Error
- FatalError = ... # type: QAudio.Error
- def convertVolume(self, volume: float, from_: 'QAudio.VolumeScale', to: 'QAudio.VolumeScale') -> float: ...
- class QAudioBuffer(PyQt6.sip.simplewrapper):
- @typing.overload
- def __init__(self) -> None: ...
- @typing.overload
- def __init__(self, data: QtCore.QByteArray|bytes|bytearray|memoryview, format: 'QAudioFormat', startTime: int = ...) -> None: ...
- @typing.overload
- def __init__(self, numFrames: int, format: 'QAudioFormat', startTime: int = ...) -> None: ...
- @typing.overload
- def __init__(self, other: 'QAudioBuffer') -> None: ...
- def data(self) -> PyQt6.sip.voidptr: ...
- def constData(self) -> PyQt6.sip.voidptr: ...
- def detach(self) -> None: ...
- def swap(self, other: 'QAudioBuffer') -> None: ...
- def startTime(self) -> int: ...
- def duration(self) -> int: ...
- def byteCount(self) -> int: ...
- def sampleCount(self) -> int: ...
- def frameCount(self) -> int: ...
- def format(self) -> 'QAudioFormat': ...
- def isValid(self) -> bool: ...
- class QAudioBufferInput(QtCore.QObject):
- @typing.overload
- def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
- @typing.overload
- def __init__(self, format: 'QAudioFormat', parent: QtCore.QObject|None = ...) -> None: ...
- readyToSendAudioBuffer: typing.ClassVar[QtCore.pyqtSignal]
- def sendAudioBuffer(self, audioBuffer: QAudioBuffer) -> bool: ...
- def format(self) -> 'QAudioFormat': ...
- def captureSession(self) -> 'QMediaCaptureSession|None': ...
- class QAudioBufferOutput(QtCore.QObject):
- @typing.overload
- def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
- @typing.overload
- def __init__(self, format: 'QAudioFormat', parent: QtCore.QObject|None = ...) -> None: ...
- audioBufferReceived: typing.ClassVar[QtCore.pyqtSignal]
- def format(self) -> 'QAudioFormat': ...
- class QAudioDecoder(QtCore.QObject):
- class Error(enum.Enum):
- NoError = ... # type: QAudioDecoder.Error
- ResourceError = ... # type: QAudioDecoder.Error
- FormatError = ... # type: QAudioDecoder.Error
- AccessDeniedError = ... # type: QAudioDecoder.Error
- NotSupportedError = ... # type: QAudioDecoder.Error
- def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
- formatChanged: typing.ClassVar[QtCore.pyqtSignal]
- durationChanged: typing.ClassVar[QtCore.pyqtSignal]
- positionChanged: typing.ClassVar[QtCore.pyqtSignal]
- sourceChanged: typing.ClassVar[QtCore.pyqtSignal]
- isDecodingChanged: typing.ClassVar[QtCore.pyqtSignal]
- finished: typing.ClassVar[QtCore.pyqtSignal]
- bufferReady: typing.ClassVar[QtCore.pyqtSignal]
- bufferAvailableChanged: typing.ClassVar[QtCore.pyqtSignal]
- def stop(self) -> None: ...
- def start(self) -> None: ...
- def setAudioFormat(self, format: 'QAudioFormat') -> None: ...
- def audioFormat(self) -> 'QAudioFormat': ...
- def duration(self) -> int: ...
- def position(self) -> int: ...
- def bufferAvailable(self) -> bool: ...
- def read(self) -> QAudioBuffer: ...
- def errorString(self) -> str: ...
- error: typing.ClassVar[QtCore.pyqtSignal]
- def setSourceDevice(self, device: QtCore.QIODevice|None) -> None: ...
- def sourceDevice(self) -> QtCore.QIODevice|None: ...
- def setSource(self, fileName: QtCore.QUrl) -> None: ...
- def source(self) -> QtCore.QUrl: ...
- def isDecoding(self) -> bool: ...
- def isSupported(self) -> bool: ...
- class QAudioDevice(PyQt6.sip.simplewrapper):
- class Mode(enum.Enum):
- Null = ... # type: QAudioDevice.Mode
- Input = ... # type: QAudioDevice.Mode
- Output = ... # type: QAudioDevice.Mode
- @typing.overload
- def __init__(self) -> None: ...
- @typing.overload
- def __init__(self, other: 'QAudioDevice') -> None: ...
- def channelConfiguration(self) -> 'QAudioFormat.ChannelConfig': ...
- def supportedSampleFormats(self) -> list['QAudioFormat.SampleFormat']: ...
- def maximumChannelCount(self) -> int: ...
- def minimumChannelCount(self) -> int: ...
- def maximumSampleRate(self) -> int: ...
- def minimumSampleRate(self) -> int: ...
- def preferredFormat(self) -> 'QAudioFormat': ...
- def isFormatSupported(self, format: 'QAudioFormat') -> bool: ...
- def mode(self) -> 'QAudioDevice.Mode': ...
- def isDefault(self) -> bool: ...
- def description(self) -> str: ...
- def id(self) -> QtCore.QByteArray: ...
- def isNull(self) -> bool: ...
- def __ne__(self, other: object): ...
- def __eq__(self, other: object): ...
- def swap(self, other: 'QAudioDevice') -> None: ...
- class QAudioFormat(PyQt6.sip.simplewrapper):
- class SampleFormat(enum.Enum):
- Unknown = ... # type: QAudioFormat.SampleFormat
- UInt8 = ... # type: QAudioFormat.SampleFormat
- Int16 = ... # type: QAudioFormat.SampleFormat
- Int32 = ... # type: QAudioFormat.SampleFormat
- Float = ... # type: QAudioFormat.SampleFormat
- class ChannelConfig(enum.Enum):
- ChannelConfigUnknown = ... # type: QAudioFormat.ChannelConfig
- ChannelConfigMono = ... # type: QAudioFormat.ChannelConfig
- ChannelConfigStereo = ... # type: QAudioFormat.ChannelConfig
- ChannelConfig2Dot1 = ... # type: QAudioFormat.ChannelConfig
- ChannelConfig3Dot0 = ... # type: QAudioFormat.ChannelConfig
- ChannelConfig3Dot1 = ... # type: QAudioFormat.ChannelConfig
- ChannelConfigSurround5Dot0 = ... # type: QAudioFormat.ChannelConfig
- ChannelConfigSurround5Dot1 = ... # type: QAudioFormat.ChannelConfig
- ChannelConfigSurround7Dot0 = ... # type: QAudioFormat.ChannelConfig
- ChannelConfigSurround7Dot1 = ... # type: QAudioFormat.ChannelConfig
- class AudioChannelPosition(enum.Enum):
- UnknownPosition = ... # type: QAudioFormat.AudioChannelPosition
- FrontLeft = ... # type: QAudioFormat.AudioChannelPosition
- FrontRight = ... # type: QAudioFormat.AudioChannelPosition
- FrontCenter = ... # type: QAudioFormat.AudioChannelPosition
- LFE = ... # type: QAudioFormat.AudioChannelPosition
- BackLeft = ... # type: QAudioFormat.AudioChannelPosition
- BackRight = ... # type: QAudioFormat.AudioChannelPosition
- FrontLeftOfCenter = ... # type: QAudioFormat.AudioChannelPosition
- FrontRightOfCenter = ... # type: QAudioFormat.AudioChannelPosition
- BackCenter = ... # type: QAudioFormat.AudioChannelPosition
- LFE2 = ... # type: QAudioFormat.AudioChannelPosition
- SideLeft = ... # type: QAudioFormat.AudioChannelPosition
- SideRight = ... # type: QAudioFormat.AudioChannelPosition
- TopFrontLeft = ... # type: QAudioFormat.AudioChannelPosition
- TopFrontRight = ... # type: QAudioFormat.AudioChannelPosition
- TopFrontCenter = ... # type: QAudioFormat.AudioChannelPosition
- TopCenter = ... # type: QAudioFormat.AudioChannelPosition
- TopBackLeft = ... # type: QAudioFormat.AudioChannelPosition
- TopBackRight = ... # type: QAudioFormat.AudioChannelPosition
- TopSideLeft = ... # type: QAudioFormat.AudioChannelPosition
- TopSideRight = ... # type: QAudioFormat.AudioChannelPosition
- TopBackCenter = ... # type: QAudioFormat.AudioChannelPosition
- BottomFrontCenter = ... # type: QAudioFormat.AudioChannelPosition
- BottomFrontLeft = ... # type: QAudioFormat.AudioChannelPosition
- BottomFrontRight = ... # type: QAudioFormat.AudioChannelPosition
- @typing.overload
- def __init__(self) -> None: ...
- @typing.overload
- def __init__(self, a0: 'QAudioFormat') -> None: ...
- def __eq__(self, other: object): ...
- def __ne__(self, other: object): ...
- @staticmethod
- def defaultChannelConfigForChannelCount(channelCount: int) -> 'QAudioFormat.ChannelConfig': ...
- def normalizedSampleValue(self, sample: PyQt6.sip.voidptr) -> float: ...
- def bytesPerSample(self) -> int: ...
- def sampleFormat(self) -> 'QAudioFormat.SampleFormat': ...
- def setSampleFormat(self, f: 'QAudioFormat.SampleFormat') -> None: ...
- def channelOffset(self, channel: 'QAudioFormat.AudioChannelPosition') -> int: ...
- def channelConfig(self) -> 'QAudioFormat.ChannelConfig': ...
- def setChannelConfig(self, config: 'QAudioFormat.ChannelConfig') -> None: ...
- def bytesPerFrame(self) -> int: ...
- def durationForFrames(self, frameCount: int) -> int: ...
- def framesForDuration(self, duration: int) -> int: ...
- def framesForBytes(self, byteCount: int) -> int: ...
- def bytesForFrames(self, frameCount: int) -> int: ...
- def durationForBytes(self, byteCount: int) -> int: ...
- def bytesForDuration(self, duration: int) -> int: ...
- def channelCount(self) -> int: ...
- def setChannelCount(self, channelCount: int) -> None: ...
- def sampleRate(self) -> int: ...
- def setSampleRate(self, sampleRate: int) -> None: ...
- def isValid(self) -> bool: ...
- class QAudioInput(QtCore.QObject):
- @typing.overload
- def __init__(self, deviceInfo: QAudioDevice, parent: QtCore.QObject|None = ...) -> None: ...
- @typing.overload
- def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
- mutedChanged: typing.ClassVar[QtCore.pyqtSignal]
- volumeChanged: typing.ClassVar[QtCore.pyqtSignal]
- deviceChanged: typing.ClassVar[QtCore.pyqtSignal]
- def setVolume(self, volume: float) -> None: ...
- def setMuted(self, muted: bool) -> None: ...
- def setDevice(self, device: QAudioDevice) -> None: ...
- def isMuted(self) -> bool: ...
- def volume(self) -> float: ...
- def device(self) -> QAudioDevice: ...
- class QAudioOutput(QtCore.QObject):
- @typing.overload
- def __init__(self, device: QAudioDevice, parent: QtCore.QObject|None = ...) -> None: ...
- @typing.overload
- def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
- mutedChanged: typing.ClassVar[QtCore.pyqtSignal]
- volumeChanged: typing.ClassVar[QtCore.pyqtSignal]
- deviceChanged: typing.ClassVar[QtCore.pyqtSignal]
- def setMuted(self, muted: bool) -> None: ...
- def setVolume(self, volume: float) -> None: ...
- def setDevice(self, device: QAudioDevice) -> None: ...
- def isMuted(self) -> bool: ...
- def device(self) -> QAudioDevice: ...
- def volume(self) -> float: ...
- class QAudioSink(QtCore.QObject):
- @typing.overload
- def __init__(self, audioDeviceInfo: QAudioDevice, format: QAudioFormat = ..., parent: QtCore.QObject|None = ...) -> None: ...
- @typing.overload
- def __init__(self, format: QAudioFormat = ..., parent: QtCore.QObject|None = ...) -> None: ...
- def framesFree(self) -> int: ...
- def bufferFrameCount(self) -> int: ...
- def setBufferFrameCount(self, framesCount: int) -> None: ...
- stateChanged: typing.ClassVar[QtCore.pyqtSignal]
- def volume(self) -> float: ...
- def setVolume(self, a0: float) -> None: ...
- def state(self) -> QAudio.State: ...
- def error(self) -> QAudio.Error: ...
- def elapsedUSecs(self) -> int: ...
- def processedUSecs(self) -> int: ...
- def bytesFree(self) -> int: ...
- def bufferSize(self) -> int: ...
- def setBufferSize(self, bytes: int) -> None: ...
- def resume(self) -> None: ...
- def suspend(self) -> None: ...
- def reset(self) -> None: ...
- def stop(self) -> None: ...
- @typing.overload
- def start(self, device: QtCore.QIODevice|None) -> None: ...
- @typing.overload
- def start(self) -> QtCore.QIODevice|None: ...
- def format(self) -> QAudioFormat: ...
- class QAudioSource(QtCore.QObject):
- @typing.overload
- def __init__(self, audioDeviceInfo: QAudioDevice, format: QAudioFormat = ..., parent: QtCore.QObject|None = ...) -> None: ...
- @typing.overload
- def __init__(self, format: QAudioFormat = ..., parent: QtCore.QObject|None = ...) -> None: ...
- def framesAvailable(self) -> int: ...
- def bufferFrameCount(self) -> int: ...
- def setBufferFrameCount(self, frames: int) -> None: ...
- stateChanged: typing.ClassVar[QtCore.pyqtSignal]
- def state(self) -> QAudio.State: ...
- def error(self) -> QAudio.Error: ...
- def elapsedUSecs(self) -> int: ...
- def processedUSecs(self) -> int: ...
- def volume(self) -> float: ...
- def setVolume(self, volume: float) -> None: ...
- def bytesAvailable(self) -> int: ...
- def bufferSize(self) -> int: ...
- def setBufferSize(self, bytes: int) -> None: ...
- def resume(self) -> None: ...
- def suspend(self) -> None: ...
- def reset(self) -> None: ...
- def stop(self) -> None: ...
- @typing.overload
- def start(self, device: QtCore.QIODevice|None) -> None: ...
- @typing.overload
- def start(self) -> QtCore.QIODevice|None: ...
- def format(self) -> QAudioFormat: ...
- class QCamera(QtCore.QObject):
- class Feature(enum.Enum):
- ColorTemperature = ... # type: QCamera.Feature
- ExposureCompensation = ... # type: QCamera.Feature
- IsoSensitivity = ... # type: QCamera.Feature
- ManualExposureTime = ... # type: QCamera.Feature
- CustomFocusPoint = ... # type: QCamera.Feature
- FocusDistance = ... # type: QCamera.Feature
- class WhiteBalanceMode(enum.Enum):
- WhiteBalanceAuto = ... # type: QCamera.WhiteBalanceMode
- WhiteBalanceManual = ... # type: QCamera.WhiteBalanceMode
- WhiteBalanceSunlight = ... # type: QCamera.WhiteBalanceMode
- WhiteBalanceCloudy = ... # type: QCamera.WhiteBalanceMode
- WhiteBalanceShade = ... # type: QCamera.WhiteBalanceMode
- WhiteBalanceTungsten = ... # type: QCamera.WhiteBalanceMode
- WhiteBalanceFluorescent = ... # type: QCamera.WhiteBalanceMode
- WhiteBalanceFlash = ... # type: QCamera.WhiteBalanceMode
- WhiteBalanceSunset = ... # type: QCamera.WhiteBalanceMode
- class ExposureMode(enum.Enum):
- ExposureAuto = ... # type: QCamera.ExposureMode
- ExposureManual = ... # type: QCamera.ExposureMode
- ExposurePortrait = ... # type: QCamera.ExposureMode
- ExposureNight = ... # type: QCamera.ExposureMode
- ExposureSports = ... # type: QCamera.ExposureMode
- ExposureSnow = ... # type: QCamera.ExposureMode
- ExposureBeach = ... # type: QCamera.ExposureMode
- ExposureAction = ... # type: QCamera.ExposureMode
- ExposureLandscape = ... # type: QCamera.ExposureMode
- ExposureNightPortrait = ... # type: QCamera.ExposureMode
- ExposureTheatre = ... # type: QCamera.ExposureMode
- ExposureSunset = ... # type: QCamera.ExposureMode
- ExposureSteadyPhoto = ... # type: QCamera.ExposureMode
- ExposureFireworks = ... # type: QCamera.ExposureMode
- ExposureParty = ... # type: QCamera.ExposureMode
- ExposureCandlelight = ... # type: QCamera.ExposureMode
- ExposureBarcode = ... # type: QCamera.ExposureMode
- class TorchMode(enum.Enum):
- TorchOff = ... # type: QCamera.TorchMode
- TorchOn = ... # type: QCamera.TorchMode
- TorchAuto = ... # type: QCamera.TorchMode
- class FlashMode(enum.Enum):
- FlashOff = ... # type: QCamera.FlashMode
- FlashOn = ... # type: QCamera.FlashMode
- FlashAuto = ... # type: QCamera.FlashMode
- class FocusMode(enum.Enum):
- FocusModeAuto = ... # type: QCamera.FocusMode
- FocusModeAutoNear = ... # type: QCamera.FocusMode
- FocusModeAutoFar = ... # type: QCamera.FocusMode
- FocusModeHyperfocal = ... # type: QCamera.FocusMode
- FocusModeInfinity = ... # type: QCamera.FocusMode
- FocusModeManual = ... # type: QCamera.FocusMode
- class Error(enum.Enum):
- NoError = ... # type: QCamera.Error
- CameraError = ... # type: QCamera.Error
- @typing.overload
- def __init__(self, cameraDevice: 'QCameraDevice', parent: QtCore.QObject|None = ...) -> None: ...
- @typing.overload
- def __init__(self, position: 'QCameraDevice.Position', parent: QtCore.QObject|None = ...) -> None: ...
- @typing.overload
- def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
- manualIsoSensitivityChanged: typing.ClassVar[QtCore.pyqtSignal]
- manualExposureTimeChanged: typing.ClassVar[QtCore.pyqtSignal]
- focusPointChanged: typing.ClassVar[QtCore.pyqtSignal]
- colorTemperatureChanged: typing.ClassVar[QtCore.pyqtSignal]
- whiteBalanceModeChanged: typing.ClassVar[QtCore.pyqtSignal]
- exposureModeChanged: typing.ClassVar[QtCore.pyqtSignal]
- exposureCompensationChanged: typing.ClassVar[QtCore.pyqtSignal]
- isoSensitivityChanged: typing.ClassVar[QtCore.pyqtSignal]
- exposureTimeChanged: typing.ClassVar[QtCore.pyqtSignal]
- torchModeChanged: typing.ClassVar[QtCore.pyqtSignal]
- flashModeChanged: typing.ClassVar[QtCore.pyqtSignal]
- flashReady: typing.ClassVar[QtCore.pyqtSignal]
- customFocusPointChanged: typing.ClassVar[QtCore.pyqtSignal]
- focusDistanceChanged: typing.ClassVar[QtCore.pyqtSignal]
- maximumZoomFactorChanged: typing.ClassVar[QtCore.pyqtSignal]
- minimumZoomFactorChanged: typing.ClassVar[QtCore.pyqtSignal]
- zoomFactorChanged: typing.ClassVar[QtCore.pyqtSignal]
- focusModeChanged: typing.ClassVar[QtCore.pyqtSignal]
- supportedFeaturesChanged: typing.ClassVar[QtCore.pyqtSignal]
- cameraFormatChanged: typing.ClassVar[QtCore.pyqtSignal]
- cameraDeviceChanged: typing.ClassVar[QtCore.pyqtSignal]
- errorOccurred: typing.ClassVar[QtCore.pyqtSignal]
- errorChanged: typing.ClassVar[QtCore.pyqtSignal]
- activeChanged: typing.ClassVar[QtCore.pyqtSignal]
- def setColorTemperature(self, colorTemperature: int) -> None: ...
- def setWhiteBalanceMode(self, mode: 'QCamera.WhiteBalanceMode') -> None: ...
- def setAutoExposureTime(self) -> None: ...
- def setManualExposureTime(self, seconds: float) -> None: ...
- def setAutoIsoSensitivity(self) -> None: ...
- def setManualIsoSensitivity(self, iso: int) -> None: ...
- def setExposureCompensation(self, ev: float) -> None: ...
- def setExposureMode(self, mode: 'QCamera.ExposureMode') -> None: ...
- def setTorchMode(self, mode: 'QCamera.TorchMode') -> None: ...
- def setFlashMode(self, mode: 'QCamera.FlashMode') -> None: ...
- def zoomTo(self, zoom: float, rate: float) -> None: ...
- def stop(self) -> None: ...
- def start(self) -> None: ...
- def setActive(self, active: bool) -> None: ...
- def colorTemperature(self) -> int: ...
- def isWhiteBalanceModeSupported(self, mode: 'QCamera.WhiteBalanceMode') -> bool: ...
- def whiteBalanceMode(self) -> 'QCamera.WhiteBalanceMode': ...
- def maximumExposureTime(self) -> float: ...
- def minimumExposureTime(self) -> float: ...
- def maximumIsoSensitivity(self) -> int: ...
- def minimumIsoSensitivity(self) -> int: ...
- def manualExposureTime(self) -> float: ...
- def exposureTime(self) -> float: ...
- def manualIsoSensitivity(self) -> int: ...
- def isoSensitivity(self) -> int: ...
- def exposureCompensation(self) -> float: ...
- def isExposureModeSupported(self, mode: 'QCamera.ExposureMode') -> bool: ...
- def exposureMode(self) -> 'QCamera.ExposureMode': ...
- def isTorchModeSupported(self, mode: 'QCamera.TorchMode') -> bool: ...
- def torchMode(self) -> 'QCamera.TorchMode': ...
- def isFlashReady(self) -> bool: ...
- def isFlashModeSupported(self, mode: 'QCamera.FlashMode') -> bool: ...
- def flashMode(self) -> 'QCamera.FlashMode': ...
- def setZoomFactor(self, factor: float) -> None: ...
- def zoomFactor(self) -> float: ...
- def maximumZoomFactor(self) -> float: ...
- def minimumZoomFactor(self) -> float: ...
- def focusDistance(self) -> float: ...
- def setFocusDistance(self, d: float) -> None: ...
- def setCustomFocusPoint(self, point: QtCore.QPointF) -> None: ...
- def customFocusPoint(self) -> QtCore.QPointF: ...
- def focusPoint(self) -> QtCore.QPointF: ...
- def isFocusModeSupported(self, mode: 'QCamera.FocusMode') -> bool: ...
- def setFocusMode(self, mode: 'QCamera.FocusMode') -> None: ...
- def focusMode(self) -> 'QCamera.FocusMode': ...
- def supportedFeatures(self) -> 'QCamera.Feature': ...
- def errorString(self) -> str: ...
- def error(self) -> 'QCamera.Error': ...
- def setCameraFormat(self, format: 'QCameraFormat') -> None: ...
- def cameraFormat(self) -> 'QCameraFormat': ...
- def setCameraDevice(self, cameraDevice: 'QCameraDevice') -> None: ...
- def cameraDevice(self) -> 'QCameraDevice': ...
- def captureSession(self) -> 'QMediaCaptureSession|None': ...
- def isActive(self) -> bool: ...
- def isAvailable(self) -> bool: ...
- class QCameraFormat(PyQt6.sip.simplewrapper):
- @typing.overload
- def __init__(self) -> None: ...
- @typing.overload
- def __init__(self, other: 'QCameraFormat') -> None: ...
- def __ne__(self, other: object): ...
- def __eq__(self, other: object): ...
- def isNull(self) -> bool: ...
- def maxFrameRate(self) -> float: ...
- def minFrameRate(self) -> float: ...
- def resolution(self) -> QtCore.QSize: ...
- def pixelFormat(self) -> 'QVideoFrameFormat.PixelFormat': ...
- class QCameraDevice(PyQt6.sip.simplewrapper):
- class Position(enum.Enum):
- UnspecifiedPosition = ... # type: QCameraDevice.Position
- BackFace = ... # type: QCameraDevice.Position
- FrontFace = ... # type: QCameraDevice.Position
- @typing.overload
- def __init__(self) -> None: ...
- @typing.overload
- def __init__(self, other: 'QCameraDevice') -> None: ...
- def correctionAngle(self) -> QtVideo.Rotation: ...
- def videoFormats(self) -> list[QCameraFormat]: ...
- def photoResolutions(self) -> list[QtCore.QSize]: ...
- def position(self) -> 'QCameraDevice.Position': ...
- def isDefault(self) -> bool: ...
- def description(self) -> str: ...
- def id(self) -> QtCore.QByteArray: ...
- def isNull(self) -> bool: ...
- def __ne__(self, other: object): ...
- def __eq__(self, other: object): ...
- class QCapturableWindow(PyQt6.sip.simplewrapper):
- @typing.overload
- def __init__(self) -> None: ...
- @typing.overload
- def __init__(self, window: QtGui.QWindow|None) -> None: ...
- @typing.overload
- def __init__(self, other: 'QCapturableWindow') -> None: ...
- def __eq__(self, other: object): ...
- def __ne__(self, other: object): ...
- def description(self) -> str: ...
- def isValid(self) -> bool: ...
- def swap(self, other: 'QCapturableWindow') -> None: ...
- class QImageCapture(QtCore.QObject):
- class FileFormat(enum.Enum):
- UnspecifiedFormat = ... # type: QImageCapture.FileFormat
- JPEG = ... # type: QImageCapture.FileFormat
- PNG = ... # type: QImageCapture.FileFormat
- WebP = ... # type: QImageCapture.FileFormat
- Tiff = ... # type: QImageCapture.FileFormat
- class Quality(enum.Enum):
- VeryLowQuality = ... # type: QImageCapture.Quality
- LowQuality = ... # type: QImageCapture.Quality
- NormalQuality = ... # type: QImageCapture.Quality
- HighQuality = ... # type: QImageCapture.Quality
- VeryHighQuality = ... # type: QImageCapture.Quality
- class Error(enum.Enum):
- NoError = ... # type: QImageCapture.Error
- NotReadyError = ... # type: QImageCapture.Error
- ResourceError = ... # type: QImageCapture.Error
- OutOfSpaceError = ... # type: QImageCapture.Error
- NotSupportedFeatureError = ... # type: QImageCapture.Error
- FormatError = ... # type: QImageCapture.Error
- def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
- imageSaved: typing.ClassVar[QtCore.pyqtSignal]
- imageAvailable: typing.ClassVar[QtCore.pyqtSignal]
- imageCaptured: typing.ClassVar[QtCore.pyqtSignal]
- imageExposed: typing.ClassVar[QtCore.pyqtSignal]
- resolutionChanged: typing.ClassVar[QtCore.pyqtSignal]
- qualityChanged: typing.ClassVar[QtCore.pyqtSignal]
- fileFormatChanged: typing.ClassVar[QtCore.pyqtSignal]
- metaDataChanged: typing.ClassVar[QtCore.pyqtSignal]
- readyForCaptureChanged: typing.ClassVar[QtCore.pyqtSignal]
- errorOccurred: typing.ClassVar[QtCore.pyqtSignal]
- errorChanged: typing.ClassVar[QtCore.pyqtSignal]
- def capture(self) -> int: ...
- def captureToFile(self, location: str|None = ...) -> int: ...
- def addMetaData(self, metaData: 'QMediaMetaData') -> None: ...
- def setMetaData(self, metaData: 'QMediaMetaData') -> None: ...
- def metaData(self) -> 'QMediaMetaData': ...
- def setQuality(self, quality: 'QImageCapture.Quality') -> None: ...
- def quality(self) -> 'QImageCapture.Quality': ...
- @typing.overload
- def setResolution(self, a0: QtCore.QSize) -> None: ...
- @typing.overload
- def setResolution(self, width: int, height: int) -> None: ...
- def resolution(self) -> QtCore.QSize: ...
- @staticmethod
- def fileFormatDescription(c: 'QImageCapture.FileFormat') -> str: ...
- @staticmethod
- def fileFormatName(c: 'QImageCapture.FileFormat') -> str: ...
- @staticmethod
- def supportedFormats() -> list['QImageCapture.FileFormat']: ...
- def setFileFormat(self, format: 'QImageCapture.FileFormat') -> None: ...
- def fileFormat(self) -> 'QImageCapture.FileFormat': ...
- def isReadyForCapture(self) -> bool: ...
- def errorString(self) -> str: ...
- def error(self) -> 'QImageCapture.Error': ...
- def captureSession(self) -> 'QMediaCaptureSession|None': ...
- def isAvailable(self) -> bool: ...
- class QMediaCaptureSession(QtCore.QObject):
- def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
- videoFrameInputChanged: typing.ClassVar[QtCore.pyqtSignal]
- audioBufferInputChanged: typing.ClassVar[QtCore.pyqtSignal]
- def setVideoFrameInput(self, input: 'QVideoFrameInput|None') -> None: ...
- def videoFrameInput(self) -> 'QVideoFrameInput|None': ...
- def setAudioBufferInput(self, input: QAudioBufferInput|None) -> None: ...
- def audioBufferInput(self) -> QAudioBufferInput|None: ...
- windowCaptureChanged: typing.ClassVar[QtCore.pyqtSignal]
- def setWindowCapture(self, windowCapture: 'QWindowCapture|None') -> None: ...
- def windowCapture(self) -> 'QWindowCapture|None': ...
- screenCaptureChanged: typing.ClassVar[QtCore.pyqtSignal]
- def setScreenCapture(self, screenCapture: 'QScreenCapture|None') -> None: ...
- def screenCapture(self) -> 'QScreenCapture|None': ...
- audioOutputChanged: typing.ClassVar[QtCore.pyqtSignal]
- videoOutputChanged: typing.ClassVar[QtCore.pyqtSignal]
- recorderChanged: typing.ClassVar[QtCore.pyqtSignal]
- imageCaptureChanged: typing.ClassVar[QtCore.pyqtSignal]
- cameraChanged: typing.ClassVar[QtCore.pyqtSignal]
- audioInputChanged: typing.ClassVar[QtCore.pyqtSignal]
- def audioOutput(self) -> QAudioOutput|None: ...
- def setAudioOutput(self, output: QAudioOutput|None) -> None: ...
- def videoSink(self) -> 'QVideoSink|None': ...
- def setVideoSink(self, sink: 'QVideoSink|None') -> None: ...
- def videoOutput(self) -> QtCore.QObject|None: ...
- def setVideoOutput(self, output: QtCore.QObject|None) -> None: ...
- def setRecorder(self, recorder: 'QMediaRecorder|None') -> None: ...
- def recorder(self) -> 'QMediaRecorder|None': ...
- def setImageCapture(self, imageCapture: QImageCapture|None) -> None: ...
- def imageCapture(self) -> QImageCapture|None: ...
- def setCamera(self, camera: QCamera|None) -> None: ...
- def camera(self) -> QCamera|None: ...
- def setAudioInput(self, device: QAudioInput|None) -> None: ...
- def audioInput(self) -> QAudioInput|None: ...
- class QMediaDevices(QtCore.QObject):
- def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
- videoInputsChanged: typing.ClassVar[QtCore.pyqtSignal]
- audioOutputsChanged: typing.ClassVar[QtCore.pyqtSignal]
- audioInputsChanged: typing.ClassVar[QtCore.pyqtSignal]
- @staticmethod
- def defaultVideoInput() -> QCameraDevice: ...
- @staticmethod
- def defaultAudioOutput() -> QAudioDevice: ...
- @staticmethod
- def defaultAudioInput() -> QAudioDevice: ...
- @staticmethod
- def videoInputs() -> list[QCameraDevice]: ...
- @staticmethod
- def audioOutputs() -> list[QAudioDevice]: ...
- @staticmethod
- def audioInputs() -> list[QAudioDevice]: ...
- class QMediaFormat(PyQt6.sip.simplewrapper):
- class ResolveFlags(enum.Enum):
- NoFlags = ... # type: QMediaFormat.ResolveFlags
- RequiresVideo = ... # type: QMediaFormat.ResolveFlags
- class ConversionMode(enum.Enum):
- Encode = ... # type: QMediaFormat.ConversionMode
- Decode = ... # type: QMediaFormat.ConversionMode
- class VideoCodec(enum.Enum):
- Unspecified = ... # type: QMediaFormat.VideoCodec
- MPEG1 = ... # type: QMediaFormat.VideoCodec
- MPEG2 = ... # type: QMediaFormat.VideoCodec
- MPEG4 = ... # type: QMediaFormat.VideoCodec
- H264 = ... # type: QMediaFormat.VideoCodec
- H265 = ... # type: QMediaFormat.VideoCodec
- VP8 = ... # type: QMediaFormat.VideoCodec
- VP9 = ... # type: QMediaFormat.VideoCodec
- AV1 = ... # type: QMediaFormat.VideoCodec
- Theora = ... # type: QMediaFormat.VideoCodec
- WMV = ... # type: QMediaFormat.VideoCodec
- MotionJPEG = ... # type: QMediaFormat.VideoCodec
- class AudioCodec(enum.Enum):
- Unspecified = ... # type: QMediaFormat.AudioCodec
- MP3 = ... # type: QMediaFormat.AudioCodec
- AAC = ... # type: QMediaFormat.AudioCodec
- AC3 = ... # type: QMediaFormat.AudioCodec
- EAC3 = ... # type: QMediaFormat.AudioCodec
- FLAC = ... # type: QMediaFormat.AudioCodec
- DolbyTrueHD = ... # type: QMediaFormat.AudioCodec
- Opus = ... # type: QMediaFormat.AudioCodec
- Vorbis = ... # type: QMediaFormat.AudioCodec
- Wave = ... # type: QMediaFormat.AudioCodec
- WMA = ... # type: QMediaFormat.AudioCodec
- ALAC = ... # type: QMediaFormat.AudioCodec
- class FileFormat(enum.Enum):
- UnspecifiedFormat = ... # type: QMediaFormat.FileFormat
- WMV = ... # type: QMediaFormat.FileFormat
- AVI = ... # type: QMediaFormat.FileFormat
- Matroska = ... # type: QMediaFormat.FileFormat
- MPEG4 = ... # type: QMediaFormat.FileFormat
- Ogg = ... # type: QMediaFormat.FileFormat
- QuickTime = ... # type: QMediaFormat.FileFormat
- WebM = ... # type: QMediaFormat.FileFormat
- Mpeg4Audio = ... # type: QMediaFormat.FileFormat
- AAC = ... # type: QMediaFormat.FileFormat
- WMA = ... # type: QMediaFormat.FileFormat
- MP3 = ... # type: QMediaFormat.FileFormat
- FLAC = ... # type: QMediaFormat.FileFormat
- Wave = ... # type: QMediaFormat.FileFormat
- @typing.overload
- def __init__(self, format: 'QMediaFormat.FileFormat' = ...) -> None: ...
- @typing.overload
- def __init__(self, other: 'QMediaFormat') -> None: ...
- def __ne__(self, other: object): ...
- def __eq__(self, other: object): ...
- def resolveForEncoding(self, flags: 'QMediaFormat.ResolveFlags') -> None: ...
- @staticmethod
- def videoCodecDescription(c: 'QMediaFormat.VideoCodec') -> str: ...
- @staticmethod
- def audioCodecDescription(c: 'QMediaFormat.AudioCodec') -> str: ...
- @staticmethod
- def fileFormatDescription(c: 'QMediaFormat.FileFormat') -> str: ...
- @staticmethod
- def videoCodecName(c: 'QMediaFormat.VideoCodec') -> str: ...
- @staticmethod
- def audioCodecName(c: 'QMediaFormat.AudioCodec') -> str: ...
- @staticmethod
- def fileFormatName(c: 'QMediaFormat.FileFormat') -> str: ...
- def supportedAudioCodecs(self, m: 'QMediaFormat.ConversionMode') -> list['QMediaFormat.AudioCodec']: ...
- def supportedVideoCodecs(self, m: 'QMediaFormat.ConversionMode') -> list['QMediaFormat.VideoCodec']: ...
- def supportedFileFormats(self, m: 'QMediaFormat.ConversionMode') -> list['QMediaFormat.FileFormat']: ...
- def mimeType(self) -> QtCore.QMimeType: ...
- def isSupported(self, mode: 'QMediaFormat.ConversionMode') -> bool: ...
- def audioCodec(self) -> 'QMediaFormat.AudioCodec': ...
- def setAudioCodec(self, codec: 'QMediaFormat.AudioCodec') -> None: ...
- def videoCodec(self) -> 'QMediaFormat.VideoCodec': ...
- def setVideoCodec(self, codec: 'QMediaFormat.VideoCodec') -> None: ...
- def setFileFormat(self, f: 'QMediaFormat.FileFormat') -> None: ...
- def fileFormat(self) -> 'QMediaFormat.FileFormat': ...
- def swap(self, other: 'QMediaFormat') -> None: ...
- class QMediaMetaData(PyQt6.sip.simplewrapper):
- class Key(enum.Enum):
- Title = ... # type: QMediaMetaData.Key
- Author = ... # type: QMediaMetaData.Key
- Comment = ... # type: QMediaMetaData.Key
- Description = ... # type: QMediaMetaData.Key
- Genre = ... # type: QMediaMetaData.Key
- Date = ... # type: QMediaMetaData.Key
- Language = ... # type: QMediaMetaData.Key
- Publisher = ... # type: QMediaMetaData.Key
- Copyright = ... # type: QMediaMetaData.Key
- Url = ... # type: QMediaMetaData.Key
- Duration = ... # type: QMediaMetaData.Key
- MediaType = ... # type: QMediaMetaData.Key
- FileFormat = ... # type: QMediaMetaData.Key
- AudioBitRate = ... # type: QMediaMetaData.Key
- AudioCodec = ... # type: QMediaMetaData.Key
- VideoBitRate = ... # type: QMediaMetaData.Key
- VideoCodec = ... # type: QMediaMetaData.Key
- VideoFrameRate = ... # type: QMediaMetaData.Key
- AlbumTitle = ... # type: QMediaMetaData.Key
- AlbumArtist = ... # type: QMediaMetaData.Key
- ContributingArtist = ... # type: QMediaMetaData.Key
- TrackNumber = ... # type: QMediaMetaData.Key
- Composer = ... # type: QMediaMetaData.Key
- LeadPerformer = ... # type: QMediaMetaData.Key
- ThumbnailImage = ... # type: QMediaMetaData.Key
- CoverArtImage = ... # type: QMediaMetaData.Key
- Orientation = ... # type: QMediaMetaData.Key
- Resolution = ... # type: QMediaMetaData.Key
- HasHdrContent = ... # type: QMediaMetaData.Key
- @typing.overload
- def __init__(self) -> None: ...
- @typing.overload
- def __init__(self, a0: 'QMediaMetaData') -> None: ...
- def __eq__(self, other: object): ...
- def __ne__(self, other: object): ...
- @staticmethod
- def keyType(key: 'QMediaMetaData.Key') -> QtCore.QMetaType: ...
- @staticmethod
- def metaDataKeyToString(k: 'QMediaMetaData.Key') -> str: ...
- def stringValue(self, k: 'QMediaMetaData.Key') -> str: ...
- def keys(self) -> list['QMediaMetaData.Key']: ...
- def insert(self, k: 'QMediaMetaData.Key', value: typing.Any) -> None: ...
- def value(self, k: 'QMediaMetaData.Key') -> typing.Any: ...
- class QMediaPlayer(QtCore.QObject):
- class PitchCompensationAvailability(enum.Enum):
- AlwaysOn = ... # type: QMediaPlayer.PitchCompensationAvailability
- Available = ... # type: QMediaPlayer.PitchCompensationAvailability
- Unavailable = ... # type: QMediaPlayer.PitchCompensationAvailability
- class Loops(enum.IntEnum):
- Infinite = ... # type: QMediaPlayer.Loops
- Once = ... # type: QMediaPlayer.Loops
- class Error(enum.Enum):
- NoError = ... # type: QMediaPlayer.Error
- ResourceError = ... # type: QMediaPlayer.Error
- FormatError = ... # type: QMediaPlayer.Error
- NetworkError = ... # type: QMediaPlayer.Error
- AccessDeniedError = ... # type: QMediaPlayer.Error
- class MediaStatus(enum.Enum):
- NoMedia = ... # type: QMediaPlayer.MediaStatus
- LoadingMedia = ... # type: QMediaPlayer.MediaStatus
- LoadedMedia = ... # type: QMediaPlayer.MediaStatus
- StalledMedia = ... # type: QMediaPlayer.MediaStatus
- BufferingMedia = ... # type: QMediaPlayer.MediaStatus
- BufferedMedia = ... # type: QMediaPlayer.MediaStatus
- EndOfMedia = ... # type: QMediaPlayer.MediaStatus
- InvalidMedia = ... # type: QMediaPlayer.MediaStatus
- class PlaybackState(enum.Enum):
- StoppedState = ... # type: QMediaPlayer.PlaybackState
- PlayingState = ... # type: QMediaPlayer.PlaybackState
- PausedState = ... # type: QMediaPlayer.PlaybackState
- def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
- playbackOptionsChanged: typing.ClassVar[QtCore.pyqtSignal]
- pitchCompensationChanged: typing.ClassVar[QtCore.pyqtSignal]
- def resetPlaybackOptions(self) -> None: ...
- def setPlaybackOptions(self, options: 'QPlaybackOptions') -> None: ...
- def setPitchCompensation(self, a0: bool) -> None: ...
- def playbackOptions(self) -> 'QPlaybackOptions': ...
- def pitchCompensation(self) -> bool: ...
- def pitchCompensationAvailability(self) -> 'QMediaPlayer.PitchCompensationAvailability': ...
- audioBufferOutputChanged: typing.ClassVar[QtCore.pyqtSignal]
- def audioBufferOutput(self) -> QAudioBufferOutput|None: ...
- def setAudioBufferOutput(self, output: QAudioBufferOutput|None) -> None: ...
- playingChanged: typing.ClassVar[QtCore.pyqtSignal]
- def isPlaying(self) -> bool: ...
- loopsChanged: typing.ClassVar[QtCore.pyqtSignal]
- def setLoops(self, loops: int) -> None: ...
- def loops(self) -> int: ...
- errorOccurred: typing.ClassVar[QtCore.pyqtSignal]
- errorChanged: typing.ClassVar[QtCore.pyqtSignal]
- activeTracksChanged: typing.ClassVar[QtCore.pyqtSignal]
- tracksChanged: typing.ClassVar[QtCore.pyqtSignal]
- audioOutputChanged: typing.ClassVar[QtCore.pyqtSignal]
- videoOutputChanged: typing.ClassVar[QtCore.pyqtSignal]
- metaDataChanged: typing.ClassVar[QtCore.pyqtSignal]
- playbackRateChanged: typing.ClassVar[QtCore.pyqtSignal]
- seekableChanged: typing.ClassVar[QtCore.pyqtSignal]
- bufferProgressChanged: typing.ClassVar[QtCore.pyqtSignal]
- hasVideoChanged: typing.ClassVar[QtCore.pyqtSignal]
- hasAudioChanged: typing.ClassVar[QtCore.pyqtSignal]
- positionChanged: typing.ClassVar[QtCore.pyqtSignal]
- durationChanged: typing.ClassVar[QtCore.pyqtSignal]
- mediaStatusChanged: typing.ClassVar[QtCore.pyqtSignal]
- playbackStateChanged: typing.ClassVar[QtCore.pyqtSignal]
- sourceChanged: typing.ClassVar[QtCore.pyqtSignal]
- def setSourceDevice(self, device: QtCore.QIODevice|None, sourceUrl: QtCore.QUrl = ...) -> None: ...
- def setSource(self, source: QtCore.QUrl) -> None: ...
- def setPlaybackRate(self, rate: float) -> None: ...
- def setPosition(self, position: int) -> None: ...
- def stop(self) -> None: ...
- def pause(self) -> None: ...
- def play(self) -> None: ...
- def metaData(self) -> QMediaMetaData: ...
- def isAvailable(self) -> bool: ...
- def errorString(self) -> str: ...
- def error(self) -> 'QMediaPlayer.Error': ...
- def playbackRate(self) -> float: ...
- def isSeekable(self) -> bool: ...
- def bufferedTimeRange(self) -> 'QMediaTimeRange': ...
- def bufferProgress(self) -> float: ...
- def hasVideo(self) -> bool: ...
- def hasAudio(self) -> bool: ...
- def position(self) -> int: ...
- def duration(self) -> int: ...
- def mediaStatus(self) -> 'QMediaPlayer.MediaStatus': ...
- def playbackState(self) -> 'QMediaPlayer.PlaybackState': ...
- def sourceDevice(self) -> QtCore.QIODevice|None: ...
- def source(self) -> QtCore.QUrl: ...
- def videoSink(self) -> 'QVideoSink|None': ...
- def setVideoSink(self, sink: 'QVideoSink|None') -> None: ...
- def videoOutput(self) -> QtCore.QObject|None: ...
- def setVideoOutput(self, a0: QtCore.QObject|None) -> None: ...
- def audioOutput(self) -> QAudioOutput|None: ...
- def setAudioOutput(self, output: QAudioOutput|None) -> None: ...
- def setActiveSubtitleTrack(self, index: int) -> None: ...
- def setActiveVideoTrack(self, index: int) -> None: ...
- def setActiveAudioTrack(self, index: int) -> None: ...
- def activeSubtitleTrack(self) -> int: ...
- def activeVideoTrack(self) -> int: ...
- def activeAudioTrack(self) -> int: ...
- def subtitleTracks(self) -> list[QMediaMetaData]: ...
- def videoTracks(self) -> list[QMediaMetaData]: ...
- def audioTracks(self) -> list[QMediaMetaData]: ...
- class QMediaRecorder(QtCore.QObject):
- class Error(enum.Enum):
- NoError = ... # type: QMediaRecorder.Error
- ResourceError = ... # type: QMediaRecorder.Error
- FormatError = ... # type: QMediaRecorder.Error
- OutOfSpaceError = ... # type: QMediaRecorder.Error
- LocationNotWritable = ... # type: QMediaRecorder.Error
- class RecorderState(enum.Enum):
- StoppedState = ... # type: QMediaRecorder.RecorderState
- RecordingState = ... # type: QMediaRecorder.RecorderState
- PausedState = ... # type: QMediaRecorder.RecorderState
- class EncodingMode(enum.Enum):
- ConstantQualityEncoding = ... # type: QMediaRecorder.EncodingMode
- ConstantBitRateEncoding = ... # type: QMediaRecorder.EncodingMode
- AverageBitRateEncoding = ... # type: QMediaRecorder.EncodingMode
- TwoPassEncoding = ... # type: QMediaRecorder.EncodingMode
- class Quality(enum.Enum):
- VeryLowQuality = ... # type: QMediaRecorder.Quality
- LowQuality = ... # type: QMediaRecorder.Quality
- NormalQuality = ... # type: QMediaRecorder.Quality
- HighQuality = ... # type: QMediaRecorder.Quality
- VeryHighQuality = ... # type: QMediaRecorder.Quality
- def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
- autoStopChanged: typing.ClassVar[QtCore.pyqtSignal]
- def setAutoStop(self, autoStop: bool) -> None: ...
- def autoStop(self) -> bool: ...
- def outputDevice(self) -> QtCore.QIODevice|None: ...
- def setOutputDevice(self, device: QtCore.QIODevice|None) -> None: ...
- audioSampleRateChanged: typing.ClassVar[QtCore.pyqtSignal]
- audioChannelCountChanged: typing.ClassVar[QtCore.pyqtSignal]
- audioBitRateChanged: typing.ClassVar[QtCore.pyqtSignal]
- videoBitRateChanged: typing.ClassVar[QtCore.pyqtSignal]
- videoFrameRateChanged: typing.ClassVar[QtCore.pyqtSignal]
- videoResolutionChanged: typing.ClassVar[QtCore.pyqtSignal]
- qualityChanged: typing.ClassVar[QtCore.pyqtSignal]
- encodingModeChanged: typing.ClassVar[QtCore.pyqtSignal]
- mediaFormatChanged: typing.ClassVar[QtCore.pyqtSignal]
- metaDataChanged: typing.ClassVar[QtCore.pyqtSignal]
- errorChanged: typing.ClassVar[QtCore.pyqtSignal]
- errorOccurred: typing.ClassVar[QtCore.pyqtSignal]
- actualLocationChanged: typing.ClassVar[QtCore.pyqtSignal]
- durationChanged: typing.ClassVar[QtCore.pyqtSignal]
- recorderStateChanged: typing.ClassVar[QtCore.pyqtSignal]
- def stop(self) -> None: ...
- def pause(self) -> None: ...
- def record(self) -> None: ...
- def captureSession(self) -> QMediaCaptureSession|None: ...
- def setMetaData(self, metaData: QMediaMetaData) -> None: ...
- def metaData(self) -> QMediaMetaData: ...
- def setAudioSampleRate(self, sampleRate: int) -> None: ...
- def audioSampleRate(self) -> int: ...
- def setAudioChannelCount(self, channels: int) -> None: ...
- def audioChannelCount(self) -> int: ...
- def setAudioBitRate(self, bitRate: int) -> None: ...
- def audioBitRate(self) -> int: ...
- def setVideoBitRate(self, bitRate: int) -> None: ...
- def videoBitRate(self) -> int: ...
- def setVideoFrameRate(self, frameRate: float) -> None: ...
- def videoFrameRate(self) -> float: ...
- @typing.overload
- def setVideoResolution(self, a0: QtCore.QSize) -> None: ...
- @typing.overload
- def setVideoResolution(self, width: int, height: int) -> None: ...
- def videoResolution(self) -> QtCore.QSize: ...
- def setQuality(self, quality: 'QMediaRecorder.Quality') -> None: ...
- def quality(self) -> 'QMediaRecorder.Quality': ...
- def setEncodingMode(self, a0: 'QMediaRecorder.EncodingMode') -> None: ...
- def encodingMode(self) -> 'QMediaRecorder.EncodingMode': ...
- def setMediaFormat(self, format: QMediaFormat) -> None: ...
- def mediaFormat(self) -> QMediaFormat: ...
- def duration(self) -> int: ...
- def errorString(self) -> str: ...
- def error(self) -> 'QMediaRecorder.Error': ...
- def recorderState(self) -> 'QMediaRecorder.RecorderState': ...
- def actualLocation(self) -> QtCore.QUrl: ...
- def setOutputLocation(self, location: QtCore.QUrl) -> None: ...
- def outputLocation(self) -> QtCore.QUrl: ...
- def isAvailable(self) -> bool: ...
- class QMediaTimeRange(PyQt6.sip.simplewrapper):
- class Interval(PyQt6.sip.simplewrapper):
- @typing.overload
- def __init__(self, start: int, end: int) -> None: ...
- @typing.overload
- def __init__(self, a0: 'QMediaTimeRange.Interval') -> None: ...
- def __eq__(self, other: object): ...
- def __ne__(self, other: object): ...
- def translated(self, offset: int) -> 'QMediaTimeRange.Interval': ...
- def normalized(self) -> 'QMediaTimeRange.Interval': ...
- def isNormal(self) -> bool: ...
- def contains(self, time: int) -> bool: ...
- def end(self) -> int: ...
- def start(self) -> int: ...
- @typing.overload
- def __init__(self) -> None: ...
- @typing.overload
- def __init__(self, a0: 'QMediaTimeRange.Interval') -> None: ...
- @typing.overload
- def __init__(self, start: int, end: int) -> None: ...
- @typing.overload
- def __init__(self, range: 'QMediaTimeRange') -> None: ...
- def __eq__(self, other: object): ...
- def __ne__(self, other: object): ...
- def __add__(self, a0: 'QMediaTimeRange') -> 'QMediaTimeRange': ...
- def __sub__(self, a0: 'QMediaTimeRange') -> 'QMediaTimeRange': ...
- def clear(self) -> None: ...
- @typing.overload
- def __isub__(self, a0: 'QMediaTimeRange.Interval') -> 'QMediaTimeRange': ...
- @typing.overload
- def __isub__(self, a0: 'QMediaTimeRange') -> 'QMediaTimeRange': ...
- @typing.overload
- def __iadd__(self, a0: 'QMediaTimeRange.Interval') -> 'QMediaTimeRange': ...
- @typing.overload
- def __iadd__(self, a0: 'QMediaTimeRange') -> 'QMediaTimeRange': ...
- def removeTimeRange(self, a0: 'QMediaTimeRange') -> None: ...
- @typing.overload
- def removeInterval(self, interval: 'QMediaTimeRange.Interval') -> None: ...
- @typing.overload
- def removeInterval(self, start: int, end: int) -> None: ...
- def addTimeRange(self, a0: 'QMediaTimeRange') -> None: ...
- @typing.overload
- def addInterval(self, interval: 'QMediaTimeRange.Interval') -> None: ...
- @typing.overload
- def addInterval(self, start: int, end: int) -> None: ...
- def contains(self, time: int) -> bool: ...
- def isContinuous(self) -> bool: ...
- def isEmpty(self) -> bool: ...
- def intervals(self) -> list['QMediaTimeRange.Interval']: ...
- def latestTime(self) -> int: ...
- def earliestTime(self) -> int: ...
- class QPlaybackOptions(PyQt6.sip.simplewrapper):
- class PlaybackIntent(enum.Enum):
- Playback = ... # type: QPlaybackOptions.PlaybackIntent
- LowLatencyStreaming = ... # type: QPlaybackOptions.PlaybackIntent
- @typing.overload
- def __init__(self) -> None: ...
- @typing.overload
- def __init__(self, a0: 'QPlaybackOptions') -> None: ...
- def __eq__(self, other: object): ...
- def __ne__(self, other: object): ...
- def __ge__(self, rhs: 'QPlaybackOptions') -> bool: ...
- def __le__(self, rhs: 'QPlaybackOptions') -> bool: ...
- def __gt__(self, rhs: 'QPlaybackOptions') -> bool: ...
- def __lt__(self, rhs: 'QPlaybackOptions') -> bool: ...
- def resetProbeSize(self) -> None: ...
- def setProbeSize(self, probeSizeBytes: int) -> None: ...
- def probeSize(self) -> int: ...
- def resetPlaybackIntent(self) -> None: ...
- def setPlaybackIntent(self, intent: 'QPlaybackOptions.PlaybackIntent') -> None: ...
- def playbackIntent(self) -> 'QPlaybackOptions.PlaybackIntent': ...
- def resetNetworkTimeout(self) -> None: ...
- def setNetworkTimeout(self, timeout: int) -> None: ...
- def networkTimeout(self) -> int: ...
- def swap(self, other: 'QPlaybackOptions') -> None: ...
- class QScreenCapture(QtCore.QObject):
- class Error(enum.Enum):
- NoError = ... # type: QScreenCapture.Error
- InternalError = ... # type: QScreenCapture.Error
- CapturingNotSupported = ... # type: QScreenCapture.Error
- CaptureFailed = ... # type: QScreenCapture.Error
- NotFound = ... # type: QScreenCapture.Error
- def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
- errorOccurred: typing.ClassVar[QtCore.pyqtSignal]
- screenChanged: typing.ClassVar[QtCore.pyqtSignal]
- errorChanged: typing.ClassVar[QtCore.pyqtSignal]
- activeChanged: typing.ClassVar[QtCore.pyqtSignal]
- def stop(self) -> None: ...
- def start(self) -> None: ...
- def setActive(self, active: bool) -> None: ...
- def errorString(self) -> str: ...
- def error(self) -> 'QScreenCapture.Error': ...
- def isActive(self) -> bool: ...
- def screen(self) -> QtGui.QScreen|None: ...
- def setScreen(self, screen: QtGui.QScreen|None) -> None: ...
- def captureSession(self) -> QMediaCaptureSession|None: ...
- class QSoundEffect(QtCore.QObject):
- class Status(enum.Enum):
- Null = ... # type: QSoundEffect.Status
- Loading = ... # type: QSoundEffect.Status
- Ready = ... # type: QSoundEffect.Status
- Error = ... # type: QSoundEffect.Status
- class Loop(enum.Enum):
- Infinite = ... # type: QSoundEffect.Loop
- @typing.overload
- def __init__(self, audioDevice: QAudioDevice, parent: QtCore.QObject|None = ...) -> None: ...
- @typing.overload
- def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
- statusChanged: typing.ClassVar[QtCore.pyqtSignal]
- playingChanged: typing.ClassVar[QtCore.pyqtSignal]
- loadedChanged: typing.ClassVar[QtCore.pyqtSignal]
- mutedChanged: typing.ClassVar[QtCore.pyqtSignal]
- volumeChanged: typing.ClassVar[QtCore.pyqtSignal]
- loopsRemainingChanged: typing.ClassVar[QtCore.pyqtSignal]
- loopCountChanged: typing.ClassVar[QtCore.pyqtSignal]
- sourceChanged: typing.ClassVar[QtCore.pyqtSignal]
- audioDeviceChanged: typing.ClassVar[QtCore.pyqtSignal]
- def stop(self) -> None: ...
- def play(self) -> None: ...
- def status(self) -> 'QSoundEffect.Status': ...
- def isPlaying(self) -> bool: ...
- def isLoaded(self) -> bool: ...
- def setMuted(self, muted: bool) -> None: ...
- def isMuted(self) -> bool: ...
- def setVolume(self, volume: float) -> None: ...
- def volume(self) -> float: ...
- def setLoopCount(self, loopCount: int) -> None: ...
- def loopsRemaining(self) -> int: ...
- def loopCount(self) -> int: ...
- def setSource(self, url: QtCore.QUrl) -> None: ...
- def source(self) -> QtCore.QUrl: ...
- def setAudioDevice(self, device: QAudioDevice) -> None: ...
- def audioDevice(self) -> QAudioDevice: ...
- @staticmethod
- def supportedMimeTypes() -> list[str]: ...
- class QVideoFrame(PyQt6.sip.simplewrapper):
- class RotationAngle(enum.Enum):
- Rotation0 = ... # type: QVideoFrame.RotationAngle
- Rotation90 = ... # type: QVideoFrame.RotationAngle
- Rotation180 = ... # type: QVideoFrame.RotationAngle
- Rotation270 = ... # type: QVideoFrame.RotationAngle
- class MapMode(enum.Enum):
- NotMapped = ... # type: QVideoFrame.MapMode
- ReadOnly = ... # type: QVideoFrame.MapMode
- WriteOnly = ... # type: QVideoFrame.MapMode
- ReadWrite = ... # type: QVideoFrame.MapMode
- class HandleType(enum.Enum):
- NoHandle = ... # type: QVideoFrame.HandleType
- RhiTextureHandle = ... # type: QVideoFrame.HandleType
- class PaintOptions(PyQt6.sip.simplewrapper):
- class PaintFlag(enum.Flag):
- DontDrawSubtitles = ... # type: QVideoFrame.PaintOptions.PaintFlag
- aspectRatioMode = ... # type: QtCore.Qt.AspectRatioMode
- backgroundColor = ... # type: QtGui.QColor|QtCore.Qt.GlobalColor|int
- paintFlags = ... # type: 'QVideoFrame.PaintOptions.PaintFlag'
- @typing.overload
- def __init__(self) -> None: ...
- @typing.overload
- def __init__(self, a0: 'QVideoFrame.PaintOptions') -> None: ...
- @typing.overload
- def __init__(self) -> None: ...
- @typing.overload
- def __init__(self, format: 'QVideoFrameFormat') -> None: ...
- @typing.overload
- def __init__(self, image: QtGui.QImage) -> None: ...
- @typing.overload
- def __init__(self, other: 'QVideoFrame') -> None: ...
- def streamFrameRate(self) -> float: ...
- def setStreamFrameRate(self, rate: float) -> None: ...
- def rotation(self) -> QtVideo.Rotation: ...
- def setRotation(self, angle: QtVideo.Rotation) -> None: ...
- def mirrored(self) -> bool: ...
- def setMirrored(self, a0: bool) -> None: ...
- def rotationAngle(self) -> 'QVideoFrame.RotationAngle': ...
- def setRotationAngle(self, a0: 'QVideoFrame.RotationAngle') -> None: ...
- def paint(self, painter: QtGui.QPainter|None, rect: QtCore.QRectF, options: 'QVideoFrame.PaintOptions') -> None: ...
- def setSubtitleText(self, text: str|None) -> None: ...
- def subtitleText(self) -> str: ...
- def toImage(self) -> QtGui.QImage: ...
- def surfaceFormat(self) -> 'QVideoFrameFormat': ...
- def __ne__(self, other: object): ...
- def __eq__(self, other: object): ...
- def planeCount(self) -> int: ...
- def setEndTime(self, time: int) -> None: ...
- def endTime(self) -> int: ...
- def setStartTime(self, time: int) -> None: ...
- def startTime(self) -> int: ...
- def mappedBytes(self, plane: int) -> int: ...
- def bits(self, plane: int) -> PyQt6.sip.voidptr: ...
- def bytesPerLine(self, plane: int) -> int: ...
- def unmap(self) -> None: ...
- def map(self, mode: 'QVideoFrame.MapMode') -> bool: ...
- def mapMode(self) -> 'QVideoFrame.MapMode': ...
- def isWritable(self) -> bool: ...
- def isReadable(self) -> bool: ...
- def isMapped(self) -> bool: ...
- def height(self) -> int: ...
- def width(self) -> int: ...
- def size(self) -> QtCore.QSize: ...
- def handleType(self) -> 'QVideoFrame.HandleType': ...
- def pixelFormat(self) -> 'QVideoFrameFormat.PixelFormat': ...
- def isValid(self) -> bool: ...
- class QVideoFrameFormat(PyQt6.sip.simplewrapper):
- class ColorRange(enum.Enum):
- ColorRange_Unknown = ... # type: QVideoFrameFormat.ColorRange
- ColorRange_Video = ... # type: QVideoFrameFormat.ColorRange
- ColorRange_Full = ... # type: QVideoFrameFormat.ColorRange
- class ColorTransfer(enum.Enum):
- ColorTransfer_Unknown = ... # type: QVideoFrameFormat.ColorTransfer
- ColorTransfer_BT709 = ... # type: QVideoFrameFormat.ColorTransfer
- ColorTransfer_BT601 = ... # type: QVideoFrameFormat.ColorTransfer
- ColorTransfer_Linear = ... # type: QVideoFrameFormat.ColorTransfer
- ColorTransfer_Gamma22 = ... # type: QVideoFrameFormat.ColorTransfer
- ColorTransfer_Gamma28 = ... # type: QVideoFrameFormat.ColorTransfer
- ColorTransfer_ST2084 = ... # type: QVideoFrameFormat.ColorTransfer
- ColorTransfer_STD_B67 = ... # type: QVideoFrameFormat.ColorTransfer
- class ColorSpace(enum.Enum):
- ColorSpace_Undefined = ... # type: QVideoFrameFormat.ColorSpace
- ColorSpace_BT601 = ... # type: QVideoFrameFormat.ColorSpace
- ColorSpace_BT709 = ... # type: QVideoFrameFormat.ColorSpace
- ColorSpace_AdobeRgb = ... # type: QVideoFrameFormat.ColorSpace
- ColorSpace_BT2020 = ... # type: QVideoFrameFormat.ColorSpace
- class YCbCrColorSpace(enum.Enum):
- YCbCr_Undefined = ... # type: QVideoFrameFormat.YCbCrColorSpace
- YCbCr_BT601 = ... # type: QVideoFrameFormat.YCbCrColorSpace
- YCbCr_BT709 = ... # type: QVideoFrameFormat.YCbCrColorSpace
- YCbCr_xvYCC601 = ... # type: QVideoFrameFormat.YCbCrColorSpace
- YCbCr_xvYCC709 = ... # type: QVideoFrameFormat.YCbCrColorSpace
- YCbCr_JPEG = ... # type: QVideoFrameFormat.YCbCrColorSpace
- YCbCr_BT2020 = ... # type: QVideoFrameFormat.YCbCrColorSpace
- class Direction(enum.Enum):
- TopToBottom = ... # type: QVideoFrameFormat.Direction
- BottomToTop = ... # type: QVideoFrameFormat.Direction
- class PixelFormat(enum.Enum):
- Format_Invalid = ... # type: QVideoFrameFormat.PixelFormat
- Format_YUV420P = ... # type: QVideoFrameFormat.PixelFormat
- Format_YUV422P = ... # type: QVideoFrameFormat.PixelFormat
- Format_YUV420P10 = ... # type: QVideoFrameFormat.PixelFormat
- Format_YV12 = ... # type: QVideoFrameFormat.PixelFormat
- Format_UYVY = ... # type: QVideoFrameFormat.PixelFormat
- Format_YUYV = ... # type: QVideoFrameFormat.PixelFormat
- Format_NV12 = ... # type: QVideoFrameFormat.PixelFormat
- Format_NV21 = ... # type: QVideoFrameFormat.PixelFormat
- Format_IMC1 = ... # type: QVideoFrameFormat.PixelFormat
- Format_IMC2 = ... # type: QVideoFrameFormat.PixelFormat
- Format_IMC3 = ... # type: QVideoFrameFormat.PixelFormat
- Format_IMC4 = ... # type: QVideoFrameFormat.PixelFormat
- Format_Y8 = ... # type: QVideoFrameFormat.PixelFormat
- Format_Y16 = ... # type: QVideoFrameFormat.PixelFormat
- Format_P010 = ... # type: QVideoFrameFormat.PixelFormat
- Format_P016 = ... # type: QVideoFrameFormat.PixelFormat
- Format_Jpeg = ... # type: QVideoFrameFormat.PixelFormat
- Format_SamplerExternalOES = ... # type: QVideoFrameFormat.PixelFormat
- Format_ARGB8888 = ... # type: QVideoFrameFormat.PixelFormat
- Format_ARGB8888_Premultiplied = ... # type: QVideoFrameFormat.PixelFormat
- Format_XRGB8888 = ... # type: QVideoFrameFormat.PixelFormat
- Format_BGRA8888 = ... # type: QVideoFrameFormat.PixelFormat
- Format_BGRA8888_Premultiplied = ... # type: QVideoFrameFormat.PixelFormat
- Format_BGRX8888 = ... # type: QVideoFrameFormat.PixelFormat
- Format_ABGR8888 = ... # type: QVideoFrameFormat.PixelFormat
- Format_XBGR8888 = ... # type: QVideoFrameFormat.PixelFormat
- Format_RGBA8888 = ... # type: QVideoFrameFormat.PixelFormat
- Format_RGBX8888 = ... # type: QVideoFrameFormat.PixelFormat
- Format_AYUV = ... # type: QVideoFrameFormat.PixelFormat
- Format_AYUV_Premultiplied = ... # type: QVideoFrameFormat.PixelFormat
- Format_SamplerRect = ... # type: QVideoFrameFormat.PixelFormat
- @typing.overload
- def __init__(self) -> None: ...
- @typing.overload
- def __init__(self, size: QtCore.QSize, pixelFormat: 'QVideoFrameFormat.PixelFormat') -> None: ...
- @typing.overload
- def __init__(self, format: 'QVideoFrameFormat') -> None: ...
- def setRotation(self, rotation: QtVideo.Rotation) -> None: ...
- def rotation(self) -> QtVideo.Rotation: ...
- def setStreamFrameRate(self, rate: float) -> None: ...
- def streamFrameRate(self) -> float: ...
- def setColorRange(self, range: 'QVideoFrameFormat.ColorRange') -> None: ...
- def colorRange(self) -> 'QVideoFrameFormat.ColorRange': ...
- def setColorTransfer(self, colorTransfer: 'QVideoFrameFormat.ColorTransfer') -> None: ...
- def colorTransfer(self) -> 'QVideoFrameFormat.ColorTransfer': ...
- def setColorSpace(self, colorSpace: 'QVideoFrameFormat.ColorSpace') -> None: ...
- def colorSpace(self) -> 'QVideoFrameFormat.ColorSpace': ...
- @staticmethod
- def pixelFormatToString(pixelFormat: 'QVideoFrameFormat.PixelFormat') -> str: ...
- @staticmethod
- def imageFormatFromPixelFormat(format: 'QVideoFrameFormat.PixelFormat') -> QtGui.QImage.Format: ...
- @staticmethod
- def pixelFormatFromImageFormat(format: QtGui.QImage.Format) -> 'QVideoFrameFormat.PixelFormat': ...
- def setMirrored(self, mirrored: bool) -> None: ...
- def isMirrored(self) -> bool: ...
- def setYCbCrColorSpace(self, colorSpace: 'QVideoFrameFormat.YCbCrColorSpace') -> None: ...
- def yCbCrColorSpace(self) -> 'QVideoFrameFormat.YCbCrColorSpace': ...
- def setFrameRate(self, rate: float) -> None: ...
- def frameRate(self) -> float: ...
- def setScanLineDirection(self, direction: 'QVideoFrameFormat.Direction') -> None: ...
- def scanLineDirection(self) -> 'QVideoFrameFormat.Direction': ...
- def setViewport(self, viewport: QtCore.QRect) -> None: ...
- def viewport(self) -> QtCore.QRect: ...
- def planeCount(self) -> int: ...
- def frameHeight(self) -> int: ...
- def frameWidth(self) -> int: ...
- @typing.overload
- def setFrameSize(self, size: QtCore.QSize) -> None: ...
- @typing.overload
- def setFrameSize(self, width: int, height: int) -> None: ...
- def frameSize(self) -> QtCore.QSize: ...
- def pixelFormat(self) -> 'QVideoFrameFormat.PixelFormat': ...
- def isValid(self) -> bool: ...
- def __ne__(self, other: object): ...
- def __eq__(self, other: object): ...
- class QVideoFrameInput(QtCore.QObject):
- @typing.overload
- def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
- @typing.overload
- def __init__(self, format: QVideoFrameFormat, parent: QtCore.QObject|None = ...) -> None: ...
- readyToSendVideoFrame: typing.ClassVar[QtCore.pyqtSignal]
- def sendVideoFrame(self, frame: QVideoFrame) -> bool: ...
- def format(self) -> QVideoFrameFormat: ...
- def captureSession(self) -> QMediaCaptureSession|None: ...
- class QVideoSink(QtCore.QObject):
- def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
- videoSizeChanged: typing.ClassVar[QtCore.pyqtSignal]
- subtitleTextChanged: typing.ClassVar[QtCore.pyqtSignal]
- videoFrameChanged: typing.ClassVar[QtCore.pyqtSignal]
- def videoFrame(self) -> QVideoFrame: ...
- def setVideoFrame(self, frame: QVideoFrame) -> None: ...
- def setSubtitleText(self, subtitle: str|None) -> None: ...
- def subtitleText(self) -> str: ...
- def videoSize(self) -> QtCore.QSize: ...
- class QWindowCapture(QtCore.QObject):
- class Error(enum.Enum):
- NoError = ... # type: QWindowCapture.Error
- InternalError = ... # type: QWindowCapture.Error
- CapturingNotSupported = ... # type: QWindowCapture.Error
- CaptureFailed = ... # type: QWindowCapture.Error
- NotFound = ... # type: QWindowCapture.Error
- def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
- errorOccurred: typing.ClassVar[QtCore.pyqtSignal]
- errorChanged: typing.ClassVar[QtCore.pyqtSignal]
- windowChanged: typing.ClassVar[QtCore.pyqtSignal]
- activeChanged: typing.ClassVar[QtCore.pyqtSignal]
- def stop(self) -> None: ...
- def start(self) -> None: ...
- def setActive(self, active: bool) -> None: ...
- def errorString(self) -> str: ...
- def error(self) -> 'QWindowCapture.Error': ...
- def isActive(self) -> bool: ...
- def window(self) -> QCapturableWindow: ...
- def setWindow(self, window: QCapturableWindow) -> None: ...
- @staticmethod
- def capturableWindows() -> list[QCapturableWindow]: ...
|