The QVideoPlayerView node plays videos using FFmpeg.
on Windows, use forward slashes for paths, e.g: D:/some_folder/test_video.mp4
H264 and H265 are disabled - they are proprietary codecs. If you have a license for them (Via-LA), contact us (see pricing page).
This Node is a technology preview, and known to work on Linux + X11 + NVidia drivers, and Windows. MacOS is untested.
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.