Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Issue in QT5 QML application for displaying video using GStreamerr
Qt 6.11 is out! See what's new in the release blog

Issue in QT5 QML application for displaying video using GStreamerr

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
5 Posts 2 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rohini V N
    wrote on last edited by
    #1

    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.

    Screenshot from 2024-01-11 15-03-51.png

    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

    JoeCFDJ 1 Reply Last reply
    0
    • R Rohini V N

      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.

      Screenshot from 2024-01-11 15-03-51.png

      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

      JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by
      #2

      @Rohini-V-N Your Qt version is too old. Better to upgrade Qt to at least 5.15.2. Are you on Wayland?

      R 1 Reply Last reply
      0
      • JoeCFDJ JoeCFD

        @Rohini-V-N Your Qt version is too old. Better to upgrade Qt to at least 5.15.2. Are you on Wayland?

        R Offline
        R Offline
        Rohini V N
        wrote on last edited by
        #3

        @JoeCFD

        Yeah we ill upgrade Qt.
        Yes, we are using wayland

        The below command works fine for us

        gst-launch-1.0 -v videotestsrc ! waylandsink

        Thanks & Regards,
        Rohini

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Rohini V N
          wrote on last edited by
          #4

          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.

          PlatformError.png

          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

          JoeCFDJ 1 Reply Last reply
          0
          • R Rohini V N

            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.

            PlatformError.png

            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

            JoeCFDJ Offline
            JoeCFDJ Offline
            JoeCFD
            wrote on last edited by
            #5

            @Rohini-V-N what is your gstreamer version?
            gst-launch-1.0 --version
            Does this version support Wayland?

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved