Issue in QT5 QML application for displaying video using GStreamerr
-
Hi Team,
We are developing a video playback application using Qt 5.6.3 on Processor Renesas RZG2N and PACKAGE VLP3.0.5
We are trying to display GStreamer test video in a QML application window. However, the video is not displaying in the window also it is not showing any errors.

Below is the sample application we are trying to play.
https://github.com/GStreamer/gst-plugins-good/tree/1.16/tests/examples/qt/qmlsink
Could you please guide us what could be the issue that we are not seeing the video in the Qt window
Thanks & Regards,
Rohini
-
Hi Team,
We are developing a video playback application using Qt 5.6.3 on Processor Renesas RZG2N and PACKAGE VLP3.0.5
We are trying to display GStreamer test video in a QML application window. However, the video is not displaying in the window also it is not showing any errors.

Below is the sample application we are trying to play.
https://github.com/GStreamer/gst-plugins-good/tree/1.16/tests/examples/qt/qmlsink
Could you please guide us what could be the issue that we are not seeing the video in the Qt window
Thanks & Regards,
Rohini
@Rohini-V-N Your Qt version is too old. Better to upgrade Qt to at least 5.15.2. Are you on Wayland?
-
@Rohini-V-N Your Qt version is too old. Better to upgrade Qt to at least 5.15.2. Are you on Wayland?
Yeah we ill upgrade Qt.
Yes, we are using waylandThe below command works fine for us
gst-launch-1.0 -v videotestsrc ! waylandsink
Thanks & Regards,
Rohini -
As an additional information, when we enable GST_BEDUG, we are getting some error logs in the console from the playback
root@hihope-rzg2n:~# ./itms/play
Using Wayland-EGL
0:00:00.238561554 621 0xaaaabdd41b30 ERROR qtglutility gstqtglutility.cc:195:gst_qt_get_gl_wrapcontext: Unknown platform
0:00:00.238849556 621 0xaaaabdd41b30 ERROR qtglwidget qtitem.cc:336:initWinSys: 0xaaaabde4f3d0 failed to retrieve wrapped conte)
0:00:00.238954436 621 0xaaaabdd41b30 WARN qtsink gstqtsink.cc:309:gst_qt_sink_change_state:<qtsink0> error: Could not initm
NOTE: This GSX library has the time limitation by reason of an evaluation module.
We are unable to figure out what exactly is the error here. Could you please give us any pointers in that direction.
Thanks & Regards,
Rohini
-
As an additional information, when we enable GST_BEDUG, we are getting some error logs in the console from the playback
root@hihope-rzg2n:~# ./itms/play
Using Wayland-EGL
0:00:00.238561554 621 0xaaaabdd41b30 ERROR qtglutility gstqtglutility.cc:195:gst_qt_get_gl_wrapcontext: Unknown platform
0:00:00.238849556 621 0xaaaabdd41b30 ERROR qtglwidget qtitem.cc:336:initWinSys: 0xaaaabde4f3d0 failed to retrieve wrapped conte)
0:00:00.238954436 621 0xaaaabdd41b30 WARN qtsink gstqtsink.cc:309:gst_qt_sink_change_state:<qtsink0> error: Could not initm
NOTE: This GSX library has the time limitation by reason of an evaluation module.
We are unable to figure out what exactly is the error here. Could you please give us any pointers in that direction.
Thanks & Regards,
Rohini
@Rohini-V-N what is your gstreamer version?
gst-launch-1.0 --version
Does this version support Wayland?