QVideoRendererControl露

The QVideoRendererControl class provides a media control for rendering video to a QAbstractVideoSurface . More鈥�

Inheritance diagram of PySide2.QtMultimedia.QVideoRendererControl

Detailed Description露

Using the surface() property of QVideoRendererControl a QAbstractVideoSurface may be set as the video render target of a QMediaService .

QVideoRendererControl *rendererControl = mediaService->requestControl<QVideoRendererControl *>();
rendererControl->setSurface(myVideoSurface);

QVideoRendererControl is one of a number of possible video output controls.

The interface name of QVideoRendererControl is org.qt-project.qt.videorenderercontrol/5.0 as defined in QVideoRendererControl_iid .

See also

requestControl() QVideoWidget

class PySide2.QtMultimedia.QVideoRendererControl([parent=None])露
param parent:

PySide2.QtCore.QObject

Constructs a new video renderer media end point with the given parent .

PySide2.QtMultimedia.QVideoRendererControl.setSurface(surface)露
Parameters:

surface 鈥� PySide2.QtMultimedia.QAbstractVideoSurface

Sets the surface a video producer renders to.

See also

surface()

PySide2.QtMultimedia.QVideoRendererControl.surface()露
Return type:

PySide2.QtMultimedia.QAbstractVideoSurface

Returns the surface a video producer renders to.

See also

setSurface()