Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Building multimedia without gstreamer
Qt 6.11 is out! See what's new in the release blog

Building multimedia without gstreamer

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
8 Posts 2 Posters 1.4k Views 1 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
    elahav
    wrote on last edited by
    #1

    Passing -no-gstreamer to configure seems to have no effect (or, at least, not the desired effect). The build still detects gstreamer on my system and decides to use it.

    I'm not a CMake expert, but I don't see where that option is handled. qmultimedia/src/multimedia/configure.cmake does not appear to consider it.

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

      Hi,

      Which version of Qt are you building ?

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

      E 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Which version of Qt are you building ?

        E Offline
        E Offline
        elahav
        wrote on last edited by
        #3

        @SGaist 6.6

        SGaistS 1 Reply Last reply
        0
        • E elahav

          @SGaist 6.6

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

          And you want to build the module with only the ffmpeg backend ?

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

          E 1 Reply Last reply
          0
          • SGaistS SGaist

            And you want to build the module with only the ffmpeg backend ?

            E Offline
            E Offline
            elahav
            wrote on last edited by elahav
            #5

            @SGaist No, ffmpeg and mm-renderer.

            To be clear, there is no major problem here. I changed configure.cmake to disable gstreamer if mm-renderer is found, and everything works. It's just the configuration option that seems to have no effect.

            diff --git a/src/multimedia/configure.cmake b/src/multimedia/configure.cmake
            index 609806507..fdd36f118 100644
            --- a/src/multimedia/configure.cmake
            +++ b/src/multimedia/configure.cmake
            @@ -101,7 +101,7 @@ qt_feature("evr" PUBLIC PRIVATE
             )
             qt_feature("gstreamer_1_0" PRIVATE
                 LABEL "GStreamer 1.0"
            -    CONDITION GStreamer_FOUND
            +    CONDITION GStreamer_FOUND AND NOT MMRenderer_FOUND
                 ENABLE INPUT_gstreamer STREQUAL 'yes'
                 DISABLE INPUT_gstreamer STREQUAL 'no'
             )
            
            SGaistS 1 Reply Last reply
            0
            • E elahav

              @SGaist No, ffmpeg and mm-renderer.

              To be clear, there is no major problem here. I changed configure.cmake to disable gstreamer if mm-renderer is found, and everything works. It's just the configuration option that seems to have no effect.

              diff --git a/src/multimedia/configure.cmake b/src/multimedia/configure.cmake
              index 609806507..fdd36f118 100644
              --- a/src/multimedia/configure.cmake
              +++ b/src/multimedia/configure.cmake
              @@ -101,7 +101,7 @@ qt_feature("evr" PUBLIC PRIVATE
               )
               qt_feature("gstreamer_1_0" PRIVATE
                   LABEL "GStreamer 1.0"
              -    CONDITION GStreamer_FOUND
              +    CONDITION GStreamer_FOUND AND NOT MMRenderer_FOUND
                   ENABLE INPUT_gstreamer STREQUAL 'yes'
                   DISABLE INPUT_gstreamer STREQUAL 'no'
               )
              
              SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @elahav can you share the command you are using to configure Qt ?

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

              E 1 Reply Last reply
              0
              • SGaistS SGaist

                @elahav can you share the command you are using to configure Qt ?

                E Offline
                E Offline
                elahav
                wrote on last edited by
                #7
                ../6.6/configure -platform qnx-x86-64-qcc -prefix /system/opt/qt6 -extprefix /data/home/elahav/src/qt/nto-x86_64/host/x86_64 -no-glib -no-gstreamer
                
                E 1 Reply Last reply
                0
                • E elahav
                  ../6.6/configure -platform qnx-x86-64-qcc -prefix /system/opt/qt6 -extprefix /data/home/elahav/src/qt/nto-x86_64/host/x86_64 -no-glib -no-gstreamer
                  
                  E Offline
                  E Offline
                  elahav
                  wrote on last edited by
                  #8

                  Created a bug report:

                  https://bugreports.qt.io/browse/QTBUG-123441

                  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