can not display a video with gstreamer pipeline + qml sink within qwidgets layout
newcfd at yahoo.com
Fri Feb 17 19:24:31 UTC 2023
On both Ubuntu environments
Qt 5.15.2 + Ubuntu 18.04 + gstreamer 1.14
Qt 5.15.3 + Ubuntu 22.04 + gstreamer 1.22
On Friday, February 17, 2023, 02:13:58 p.m. EST, cfd new <newcfd at yahoo.com> wrote:
I am trying to use qml sink inside a qwidget and play video with a gstreamer pipeline. What I am doing is to load a qml sinkand lay it out in a simple qwidget.
When I start to play the video, I get the following error:
error Could not initialize window system
Debugging info: gstqtsink.cc(309): gst_qt_sink_change_state (): /GstGLSinkBin:glsinkbin0/GstQtSink:sink
Pure qml code works fine. What is wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel