[prev in list] [next in list] [prev in thread] [next in thread]
List: gstreamer-devel
Subject: Re: can not display a video with gstreamer pipeline + qml sink within qwidgets layout
From: cfd new via gstreamer-devel <gstreamer-devel () lists ! freedesktop ! org>
Date: 2023-02-17 19:24:31
Message-ID: 1949302214.1802713.1676661871226 () mail ! yahoo ! com
[Download RAW message or body]
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@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?
[Attachment #3 (text/html)]
<html><head></head><body><div class="ydp7ad41b8ayahoo-style-wrap" \
style="font-family:Helvetica Neue, Helvetica, Arial, \
sans-serif;font-size:13px;"><div></div>
<div dir="ltr" data-setdir="false">On both Ubuntu environments<br></div><div \
dir="ltr" data-setdir="false"><div>Qt 5.15.2 + Ubuntu 18.04 + gstreamer 1.14<br> Qt \
5.15.3 + Ubuntu 22.04 + gstreamer 1.22</div><div><br></div></div>
</div><div id="yahoo_quoted_7580809580" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, \
sans-serif;font-size:13px;color:#26282a;">
<div>
On Friday, February 17, 2023, 02:13:58 p.m. EST, cfd new \
<newcfd@yahoo.com> wrote: </div>
<div><br></div>
<div><br></div>
<div><div dir="ltr" data-setdir="false"><div><div dir="ltr" \
data-setdir="false">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 sink</div><div dir="ltr" \
data-setdir="false">and lay it out in a simple qwidget. \
<br></div><div><br></div><div>When I start to play the video, I get the following \
error:<br></div><div><br></div><div>error Could not initialize window \
system<br></div><p> Debugging info: <a href="http://gstqtsink.cc" rel="nofollow" \
target="_blank">gstqtsink.cc</a>(309): gst_qt_sink_change_state (): \
/GstGLSinkBin:glsinkbin0/GstQtSink:sink</p> <p>Pure qml code works fine. What is \
wrong?<br></p></div><div><br></div></div></div> </div>
</div></body></html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic