Multimedia (Video Player)

2025-01-01

The QVideoPlayerView node plays videos using FFmpeg.

Features

  • Built-in (optional) UI that resembles mpv
  • Hardware accelerated, if such hardware is available (for example, cuda)
  • Supports many codecs
  • Play from the local filesystem, or URL
  • Play rtmp, rtp, m3u8 streams
  • Built-in (optional) subtitles
  • Switch audio stream
  • Extensive API that allows for control (e.g. seeking), see API reference

Example: h264 .mp4

Below is a h264 video at 4K 60fps. Some lag, but only due to OBS recording. Playing videos is performant.

Example: YouTube stream

yt-dlp --print urls https://www.youtube.com/watch?v=iEpJwprxDdk
[copy the resulting URL]

We tested this node successfully on both Windows and Linux.