Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Qt6 QtMultimedia : using custom gstreamer pipeline
Forum Updated to NodeBB v4.3 + New Features

Qt6 QtMultimedia : using custom gstreamer pipeline

Scheduled Pinned Locked Moved Unsolved Qt 6
qt6qtmultimediagstreamerpipeline
11 Posts 7 Posters 5.3k Views 3 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi and welcome to devnet,

    To the best of my knowledge you would have to use GStreamer directly with their QML sink.

    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
    • A ACF87

      Hi,

      I am currently trying to port a video player I implemented using Qml/MediaPlayer from Qt 5.12 to 6.3. To that video player I used to pass a gstreamer pipeline by assigning 'gst-pipeline: ...' string to MediaPlayer.source property and it worked fine. However, I have been inspecting the source code of Qt 6.3 and it seems that 'gst-pipeline' protocol is not longer supported. The question here is, how could I use my custom gstreamer pipeline in Qt 6.3?

      Thanks.

      malikcisM Offline
      malikcisM Offline
      malikcis
      wrote on last edited by
      #3

      @ACF87 Hi,
      Did you manage to solve this issue?
      I have exact same problem and Tried different approaches with no success yet.
      Thx

      JoeCFDJ 1 Reply Last reply
      0
      • malikcisM malikcis

        @ACF87 Hi,
        Did you manage to solve this issue?
        I have exact same problem and Tried different approaches with no success yet.
        Thx

        JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on last edited by
        #4
        This post is deleted!
        1 Reply Last reply
        0
        • J Offline
          J Offline
          Jojojoris
          wrote on last edited by
          #5

          I moved to the ffmpeg pipeline as their defaults work acceptable in my application.

          malikcisM 1 Reply Last reply
          0
          • J Jojojoris

            I moved to the ffmpeg pipeline as their defaults work acceptable in my application.

            malikcisM Offline
            malikcisM Offline
            malikcis
            wrote on last edited by
            #6

            @Jojojoris Hi,
            when you say you moved to FFMPEG, does that mean you stick to the default FFMPEG backend when using QT6 QML frontend or are you using FFMEG programmatically using ffmpeg's library directly?
            Is it possible to share some code so this becomes clear?
            Thanks

            P 1 Reply Last reply
            0
            • malikcisM malikcis

              @Jojojoris Hi,
              when you say you moved to FFMPEG, does that mean you stick to the default FFMPEG backend when using QT6 QML frontend or are you using FFMEG programmatically using ffmpeg's library directly?
              Is it possible to share some code so this becomes clear?
              Thanks

              P Offline
              P Offline
              petero3
              wrote on last edited by
              #7

              @malikcis
              you can try
              https://doc.qt.io/qt-6/qtmultimedia-index.html#changing-backends
              export QT_MEDIA_BACKEND=ffmpeg

              1 Reply Last reply
              0
              • D Offline
                D Offline
                DeepakVishak
                wrote on last edited by
                #8

                I am also having the exact problem "gst-pipeline:<custom pipeline>" is not supporting in QtMultimedia in Qt6 but in Qt5 it works even though I have given "export QT_MEDIA_BACKEND=gstreamer" before executing the binary

                Anybody please help...

                SGaistS malikcisM 2 Replies Last reply
                0
                • D DeepakVishak

                  I am also having the exact problem "gst-pipeline:<custom pipeline>" is not supporting in QtMultimedia in Qt6 but in Qt5 it works even though I have given "export QT_MEDIA_BACKEND=gstreamer" before executing the binary

                  Anybody please help...

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

                  @DeepakVishak As already written, custom GStreamer pipelines have been dropped in Qt 6.

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

                  D 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    @DeepakVishak As already written, custom GStreamer pipelines have been dropped in Qt 6.

                    D Offline
                    D Offline
                    DeepakVishak
                    wrote on last edited by
                    #10

                    @SGaist
                    Hi thank you so much for your response
                    Suppose If I want to implement gstreamer pipeline in qt6 is there any way to do soo
                    I am just looking for possibilities

                    1 Reply Last reply
                    0
                    • D DeepakVishak

                      I am also having the exact problem "gst-pipeline:<custom pipeline>" is not supporting in QtMultimedia in Qt6 but in Qt5 it works even though I have given "export QT_MEDIA_BACKEND=gstreamer" before executing the binary

                      Anybody please help...

                      malikcisM Offline
                      malikcisM Offline
                      malikcis
                      wrote on last edited by
                      #11

                      @DeepakVishak
                      SGaist is right. custom GStreamer pipelines have been dropped in Qt 6 Multimedia, however you can achieve the same using qml6glsink.
                      Have a look at this example:
                      https://gitlab.freedesktop.org/gstreamer/gstreamer/-/tree/1.24/subprojects/gst-plugins-good/tests/examples/qt6/qmlsink?ref_type=heads

                      1 Reply Last reply
                      1

                      • Login

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