Imx8mp qt5.15 Video playyback with gstreamer
-
My goal is play gstreamer pipeline and show video inside a qml item.
-
I have done first example with qmlglsink and gstglvideoitem and it's ready until the pipeline is playing. When the pipeline going paused or null all hmi freeze until click on it. I have read something about this problem and I understand it depends of mono thread of Wayland thread. It is result resolved on > qt6.4.
-
With Qt multimedia I can run a simple pipeline but only with waylandvideosink, but in this case it create a new window. I need video in the same window.
So, how can show a gstreamer pipeline inside qt5.15?
Note:
vpudec ready
Qmlglsink ready
Qt multimedia ready.
Thanks
-
-
@Rosciio
For 1, go to gstreamer website to find the bug report about this issue and get a workaround. You need to rebuild gsteamer for your OS.
For 2, simply add qmlglsink in your layout to the sink of your pipeline. The example is here.
https://github.com/GStreamer/gst-plugins-good/tree/master/tests/examples/qt
1/2