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 .

class QVideoRendererControl([parent=None])
param parent

QObject

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

PySide2.QtMultimedia.QVideoRendererControl.setSurface(surface)
Parameters

surfaceQAbstractVideoSurface

Sets the surface a video producer renders to.

See also

surface()

PySide2.QtMultimedia.QVideoRendererControl.surface()
Return type

QAbstractVideoSurface

Returns the surface a video producer renders to.

See also

setSurface()