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. trying to use Qt6GLVideoItem
Forum Updated to NodeBB v4.3 + New Features

trying to use Qt6GLVideoItem

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
6 Posts 2 Posters 1.4k Views 2 Watching
  • 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.
  • E Offline
    E Offline
    edemen
    wrote on last edited by
    #1

    hello i am so new at qt and trying to create a qt quick application with QT 6.7.3.
    my purpose is to set up video player that is sourced by gstreamer. To achive this there is a qml module for gstreamer called Qt6GLVideoItem and i was trying to import this module qml file.

    import org.freedesktop.gstreamer.Qt6GLVideoItem 1.0
    

    However i get following error which is really annoying

    module "org.freedesktop.gstreamer.Qt6GLVideoItem" is not installed
    

    After some research i found this link and i tried to install gstreamer 1.22.4 from source but the version of gstreamer was mixed

    gst-launch-1.0 --version
    gst-launch-1.0 version 1.22.4
    GStreamer 1.20.3
    Unknown package origin
    

    and also the qml plugins werent installed on the system (which is a pc with ubuntu 20.04)

    gst-inspect-1.0 qml6glsink
    No such element or plugin 'qml6glsink'
    

    also i searched the Qt6GLVideoItem module on my system and it wasnt located.
    so how can i solve the problem here?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      From the look of it, your system provided GStreamer is too old to contain Qt6's items and AFAIK, it's available through the gst-plugins-good package.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      SGaistS 1 Reply Last reply
      0
      • E Offline
        E Offline
        edemen
        wrote on last edited by
        #3

        so is there any way to do what i want? any advice would be helpful for me.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Did you check that you have the GStreamer plug-ins package installed ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • E Offline
            E Offline
            edemen
            wrote on last edited by
            #5

            65e49bf2-492c-46ae-b0a1-3c562a0ee55b-image.png

            I have installed gstreamer already. Are you talking about a specific plugin?

            1 Reply Last reply
            0
            • SGaistS SGaist

              Hi and welcome to devnet,

              From the look of it, your system provided GStreamer is too old to contain Qt6's items and AFAIK, it's available through the gst-plugins-good package.

              SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              The one I cited in my previous message.
              @SGaist said in trying to use Qt6GLVideoItem:

              Hi and welcome to devnet,

              From the look of it, your system provided GStreamer is too old to contain Qt6's items and AFAIK, it's available through the gst-plugins-good package.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              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