How to obtain zero copy rendering in QT display with gstreamer
-
wrote on 10 Oct 2022, 14:04 last edited by
We need to setup hardware accelerated playback of an rtsp streaming pipeline using gstreamer with QT display.
Is there a way to get zero copy of the video frames from gstreamer pipeline to QT display ?
-
We need to setup hardware accelerated playback of an rtsp streaming pipeline using gstreamer with QT display.
Is there a way to get zero copy of the video frames from gstreamer pipeline to QT display ?
wrote on 10 Jan 2023, 16:32 last edited by@nishithaa I have tried to do this for years to make a VR video player using Qt and I'm finally close to achieving it but without gstreamer. I don't know if gstreamer is a requirement to you but I use libvlc 4, based on this example : https://github.com/videolan/vlc/tree/master/doc/libvlc/QtGL .
It compiles and runs well but I don't want to use QOpenGLWidget (I use QWindows with manually-managed QOpenGLContexts) and somehow I can't make it to work in this setup.