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. Imx8mp qt5.15 Video playyback with gstreamer
Qt 6.11 is out! See what's new in the release blog

Imx8mp qt5.15 Video playyback with gstreamer

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 700 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
    Rosciio
    wrote on last edited by
    #1

    My goal is play gstreamer pipeline and show video inside a qml item.

    1. 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.

    2. 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

    JoeCFDJ 1 Reply Last reply
    0
    • R Rosciio

      My goal is play gstreamer pipeline and show video inside a qml item.

      1. 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.

      2. 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

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

      @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 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