Qt 5.11 | Qt Multimedia | Qt Multimedia Examples | Video Graphics Item Example

Qt 5.11.3 Reference Documentation

# Video Graphics Item Example

Streaming video on a graphics scene.

Video Graphics Item demonstrates how to implement a QGraphicsItem that displays video on a graphics scene using QAbstractVideoSurface.

## Running the Example

To run the example from Qt Creator, open the Welcome mode and select the example from Examples. For more information, visit Building and Running an Example.

Files:

- multimediawidgets/videographicsitem/main.cpp
- multimediawidgets/videographicsitem/videographicsitem.pro
- multimediawidgets/videographicsitem/videoplayer.cpp
- multimediawidgets/videographicsitem/videoplayer.h

See also Video Widget Example.