Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. No QtMultimedia backends found. Only QMediaDevices, QAudioDevice, QSoundEffect, QAudioSink, and QAudioSource are available.
Forum Updated to NodeBB v4.3 + New Features

No QtMultimedia backends found. Only QMediaDevices, QAudioDevice, QSoundEffect, QAudioSink, and QAudioSource are available.

Scheduled Pinned Locked Moved Unsolved Qt for Python
14 Posts 5 Posters 2.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.
  • JoeCFDJ Offline
    JoeCFDJ Offline
    JoeCFD
    wrote on last edited by
    #2

    The main media backend, built on FFmpeg, ensures seamless cross-platform functionality, and is the default on all platforms
    from https://doc.qt.io/qt-6/qtmultimedia-index.html

    FFmpeg package needs to be installed.

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

      Hi,

      One way to determine what goes wrong is to start your application with the QT_DEBUG_PLUGINS environment set to 1. It will dump everything that goes on with the plugins.

      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
      • N Offline
        N Offline
        Newtron
        wrote on last edited by
        #4

        It shows this error libavformat.so.58: cannot open shared object file: No such file or directory

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

          Do you have that library in your system ?

          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
          • N Offline
            N Offline
            Newtron
            wrote on last edited by
            #6

            It's a subpackage of old ffmpeg but in my system I'm using latest version of ffmpeg.

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

              Sorry to say that but: you did not answer the question. The library searched is libavformat version 58. Do you have that version available ? Based on the message, no, but it could be a path issue.

              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
              • F Offline
                F Offline
                friedemannkleint
                wrote on last edited by
                #8

                Can you please try the recent version (6.8.0.2)? There were some Multimedia libraries missing in some of the 6.7 versions.

                1 Reply Last reply
                1
                • B Offline
                  B Offline
                  Big_bo
                  wrote on last edited by
                  #9

                  @SGaist I have the same issue. The version of Qt I am using is 6.7.3.
                  qt.core.library: "/opt/Qt/6.7.3/gcc_arm64/plugins/imageformats/libqwebp.so" cannot load: Cannot load library /opt/Qt/6.7.3/gcc_arm64/plugins/imageformats/libqwebp.so: libwebp.so.6:cannot open
                  qt.core.plugin.loader: QLibraryPrivate::loadPlugin failed on "/opt/Qt/6.7.3/gcc_arm64/plugins/imageformats/libqwebp.so" : "Cannot load library /opt/Qt/6.7.3/gcc_arm64/plugins/imageformats/libqwebp.so: libwebp.so.6: cannot open

                  JoeCFDJ 1 Reply Last reply
                  0
                  • B Big_bo

                    @SGaist I have the same issue. The version of Qt I am using is 6.7.3.
                    qt.core.library: "/opt/Qt/6.7.3/gcc_arm64/plugins/imageformats/libqwebp.so" cannot load: Cannot load library /opt/Qt/6.7.3/gcc_arm64/plugins/imageformats/libqwebp.so: libwebp.so.6:cannot open
                    qt.core.plugin.loader: QLibraryPrivate::loadPlugin failed on "/opt/Qt/6.7.3/gcc_arm64/plugins/imageformats/libqwebp.so" : "Cannot load library /opt/Qt/6.7.3/gcc_arm64/plugins/imageformats/libqwebp.so: libwebp.so.6: cannot open

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

                    @Big_bo ldd /opt/Qt/6.7.3/gcc_arm64/plugins/imageformats/libqwebp.so to see what is missing.

                    B 3 Replies Last reply
                    0
                    • JoeCFDJ JoeCFD

                      @Big_bo ldd /opt/Qt/6.7.3/gcc_arm64/plugins/imageformats/libqwebp.so to see what is missing.

                      B Offline
                      B Offline
                      Big_bo
                      wrote on last edited by
                      #11

                      @JoeCFD 76819efc-94de-493c-b405-6cfdd582fe9d-图片.png
                      here is it

                      1 Reply Last reply
                      0
                      • JoeCFDJ JoeCFD

                        @Big_bo ldd /opt/Qt/6.7.3/gcc_arm64/plugins/imageformats/libqwebp.so to see what is missing.

                        B Offline
                        B Offline
                        Big_bo
                        wrote on last edited by
                        #12

                        @JoeCFD When I execute the command:ldd /opt/Qt/6.7.3/gcc_arm64/plugins/imageformats/libqwebp.so

                        libwebp.so.6 => not found
                        libwebp.so.7 => /lib/aarch64-linux-gnu/libwebp.so.7 (0x0000007fa2330000)

                        I’m not quite sure what happened. Could you please help me? greatly appreciate it.

                        JoeCFDJ 1 Reply Last reply
                        0
                        • JoeCFDJ JoeCFD

                          @Big_bo ldd /opt/Qt/6.7.3/gcc_arm64/plugins/imageformats/libqwebp.so to see what is missing.

                          B Offline
                          B Offline
                          Big_bo
                          wrote on last edited by
                          #13

                          @JoeCFD
                          oh,I forgot to mention, I don't have this issue when using Qt5.

                          1 Reply Last reply
                          0
                          • B Big_bo

                            @JoeCFD When I execute the command:ldd /opt/Qt/6.7.3/gcc_arm64/plugins/imageformats/libqwebp.so

                            libwebp.so.6 => not found
                            libwebp.so.7 => /lib/aarch64-linux-gnu/libwebp.so.7 (0x0000007fa2330000)

                            I’m not quite sure what happened. Could you please help me? greatly appreciate it.

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

                            @Big_bo libqwebp.so needs libwebp.so.6. Type command:
                            locate libwebp.so.6
                            to find its path. Then add its path to your env lib path

                            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