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. "No QtMultimedia backends found" on MacOS with PySide 6.7.1
Forum Updated to NodeBB v4.3 + New Features

"No QtMultimedia backends found" on MacOS with PySide 6.7.1

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
11 Posts 5 Posters 3.1k 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.
  • L Offline
    L Offline
    LeBeef
    wrote on last edited by
    #1

    Dear Community,

    since I upgraded from PySide 6.7.0 to 6.7.1, my qml video playback is not working any more. I tested it on MacOS 12.7 and 14.5 and I got the same error:

    No QtMultimedia backends found. Only QMediaDevices, QAudioDevice, QSoundEffect, QAudioSink, and QAudioSource are available.
    Failed to create QVideoSink "Not available"
    Failed to initialize QMediaPlayer "Not available"
    

    When I roll back to 6.7.0 it works.
    Does anybody have the same issues or knows how to solve them?

    Kind regards
    Nils

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

      Hi,

      I wonder if there was a packaging issue with 6.7.1.

      Can you provide a minimal script that shows this in order to be sure the problem can be reproduced ?

      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
      • L Offline
        L Offline
        LeBeef
        wrote on last edited by
        #3

        Here is quick example for 6.7.1 which makes the warning show up.

        run.py

        import sys
        
        from PySide6.QtGui import QGuiApplication
        from PySide6.QtQml import QQmlApplicationEngine
        
        app = QGuiApplication(sys.argv)
        
        engine = QQmlApplicationEngine()
        engine.quit.connect(app.quit)
        engine.load("window.qml")
        
        sys.exit(app.exec())
        

        window.qml

        import QtQuick
        import QtQuick.Window
        import QtMultimedia
        
        Window {
            id: mainWindow
        
            width: 1200
            height: 800
            visible: true
        
            Video {
                anchors.fill: parent
            }
        
            Shortcut {
                sequence: "Esc"
                onActivated: Qt.quit()
            }
        }
        
        1 Reply Last reply
        0
        • S Offline
          S Offline
          Shyamnath
          wrote on last edited by
          #4

          The issue has been fixed and should be available in the next release.

          https://bugreports.qt.io/browse/PYSIDE-2656

          1 Reply Last reply
          2
          • B Offline
            B Offline
            bohning
            wrote on last edited by bohning
            #5

            The problem still occurs with PySide 6.7.2 (downgrade to 6.7.0 resolves the issue).

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

              From the looks of the bug report and related patches, the macOS wheel required update was integrated after the release of 6.7.2.

              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
              • B Offline
                B Offline
                bohning
                wrote on last edited by
                #7

                Is there a date for a release of 6.7.3 for macOS? I am facing this issue at the moment.

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

                  From the current tentative plan, it seems to be by the end of august.

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

                  S 1 Reply Last reply
                  0
                  • B Offline
                    B Offline
                    bohning
                    wrote on last edited by
                    #9

                    @SGaist Thanks for the linked tentative plan, I was looking for that but didn't find it. A whole month to go... :-( Thanks anyways!

                    1 Reply Last reply
                    0
                    • SGaistS SGaist

                      From the current tentative plan, it seems to be by the end of august.

                      S Offline
                      S Offline
                      SimonLiu
                      wrote on last edited by
                      #10

                      @SGaist Is there any workaround to fix this issue before 6.7.3?

                      SGaistS 1 Reply Last reply
                      0
                      • S SimonLiu

                        @SGaist Is there any workaround to fix this issue before 6.7.3?

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

                        @SimonLiu Two options:

                        • Use an earlier version
                        • Build PySide6 yourself

                        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