New in version 6.1.
QVideoSink class can be used to retrieve video data on a frame by frame basis from Qt Multimedia.
QVideoSink can operate in two modes. In the first mode, it can render the video stream to a native window of the underlying windowing system. In the other mode, it will provide individual video frames to the application developer through the signal.
QVideoFrame objects can consume a significant amount of memory or system resources and should thus not be held for longer than required by the application.
Constructs a new
QVideoSink object with
subtitle – str
Sets the current
Sets the current video
- Return type
Returns the current subtitle text.
subtitleText – str
Returns the current video frame.
Returns the size of the video currently being played back. If no video is being played, this method returns an invalid size.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.