Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Problem with Qt Multimedia
Qt 6.11 is out! See what's new in the release blog

Problem with Qt Multimedia

Scheduled Pinned Locked Moved Unsolved General and Desktop
c++multimediaqmediaplayerlogoutqt 5.8
65 Posts 4 Posters 56.0k 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.
  • 6 6EQUJ5

    @jsulm Output:

    Starting /home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/Media-Player...
    defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
    /home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/Media-Player exited with code 0
    
    Starting /home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/Media-Player...
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms" ...
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqeglfs.so"
    Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqeglfs.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
        "MetaData": {
            "Keys": [
                "eglfs"
            ]
        },
        "className": "QEglFSIntegrationPlugin",
        "debug": false,
        "version": 328450
    }
    
    
    Got keys from plugin meta data ("eglfs")
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqkms.so"
    Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqkms.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
        "MetaData": {
            "Keys": [
                "kms"
            ]
        },
        "className": "QKmsIntegrationPlugin",
        "debug": false,
        "version": 328450
    }
    
    
    Got keys from plugin meta data ("kms")
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqlinuxfb.so"
    Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqlinuxfb.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
        "MetaData": {
            "Keys": [
                "linuxfb"
            ]
        },
        "className": "QLinuxFbIntegrationPlugin",
        "debug": false,
        "version": 328450
    }
    
    
    Got keys from plugin meta data ("linuxfb")
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimal.so"
    Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimal.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
        "MetaData": {
            "Keys": [
                "minimal"
            ]
        },
        "className": "QMinimalIntegrationPlugin",
        "debug": false,
        "version": 328450
    }
    
    
    Got keys from plugin meta data ("minimal")
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimalegl.so"
    Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimalegl.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
        "MetaData": {
            "Keys": [
                "minimalegl"
            ]
        },
        "className": "QMinimalEglIntegrationPlugin",
        "debug": false,
        "version": 328450
    }
    
    
    Got keys from plugin meta data ("minimalegl")
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqoffscreen.so"
    Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqoffscreen.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
        "MetaData": {
            "Keys": [
                "offscreen"
            ]
        },
        "className": "QOffscreenIntegrationPlugin",
        "debug": false,
        "version": 328450
    }
    
    
    Got keys from plugin meta data ("offscreen")
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so"
    Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
        "MetaData": {
            "Keys": [
                "xcb"
            ]
        },
        "className": "QXcbIntegrationPlugin",
        "debug": false,
        "version": 328450
    }
    
    
    Got keys from plugin meta data ("xcb")
    QFactoryLoader::QFactoryLoader() checking directory path "/home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/platforms" ...
    loaded library "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so"
    loaded library "Xcursor"
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes" ...
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/libqgtk2.so"
    Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/libqgtk2.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
        "MetaData": {
            "Keys": [
                "gtk2"
            ]
        },
        "className": "QGtk2ThemePlugin",
        "debug": false,
        "version": 328450
    }
    
    
    Got keys from plugin meta data ("gtk2")
    QFactoryLoader::QFactoryLoader() checking directory path "/home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/platformthemes" ...
    loaded library "/usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/libqgtk2.so"
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts" ...
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so"
    Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface",
        "MetaData": {
            "Keys": [
                "compose"
            ]
        },
        "className": "QComposePlatformInputContextPlugin",
        "debug": false,
        "version": 328450
    }
    
    
    Got keys from plugin meta data ("compose")
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so"
    Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface",
        "MetaData": {
            "Keys": [
                "ibus"
            ]
        },
        "className": "QIbusPlatformInputContextPlugin",
        "debug": false,
        "version": 328450
    }
    
    
    Got keys from plugin meta data ("ibus")
    QFactoryLoader::QFactoryLoader() checking directory path "/home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/platforminputcontexts" ...
    loaded library "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so"
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt5/plugins/generic" ...
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/generic/libqevdevkeyboardplugin.so"
    Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/generic/libqevdevkeyboardplugin.so, metadata=
    {
        "IID": "org.qt-project.Qt.QGenericPluginFactoryInterface",
        "MetaData": {
            "Keys": [
                "EvdevKeyboard"
            ]
        },
        "className": "QEvdevKeyboardPlugin",
        "debug": false,
        "version": 328450
    }
    
    
    Got keys from plugin meta data ("evdevkeyboard")
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/generic/libqevdevmouseplugin.so"
    Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/generic/libqevdevmouseplugin.so, metadata=
    {
        "IID": "org.qt-project.Qt.QGenericPluginFactoryInterface",
        "MetaData": {
            "Keys": [
                "EvdevMouse"
            ]
        },
        "className": "QEvdevMousePlugin",
        "debug": false,
        "version": 328450
    }
    
    
    Got keys from plugin meta data ("evdevmouse")
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/generic/libqevdevtabletplugin.so"
    Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/generic/libqevdevtabletplugin.so, metadata=
    {
        "IID": "org.qt-project.Qt.QGenericPluginFactoryInterface",
        "MetaData": {
            "Keys": [
                "EvdevTablet"
            ]
        },
        "className": "QEvdevTabletPlugin",
        "debug": false,
        "version": 328450
    }
    
    
    Got keys from plugin meta data ("evdevtablet")
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/generic/libqevdevtouchplugin.so"
    Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/generic/libqevdevtouchplugin.so, metadata=
    {
        "IID": "org.qt-project.Qt.QGenericPluginFactoryInterface",
        "MetaData": {
            "Keys": [
                "EvdevTouch"
            ]
        },
        "className": "QEvdevTouchScreenPlugin",
        "debug": false,
        "version": 328450
    }
    
    
    Got keys from plugin meta data ("evdevtouch")
    QFactoryLoader::QFactoryLoader() checking directory path "/home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/generic" ...
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt5/plugins/styles" ...
    QFactoryLoader::QFactoryLoader() checking directory path "/home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/styles" ...
    loaded library "gtk-x11-2.0"
    loaded library "gnomeui-2"
    loaded library "gnomevfs-2"
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt5/plugins/mediaservice" ...
    QFactoryLoader::QFactoryLoader() checking directory path "/home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/mediaservice" ...
    defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt5/plugins/accessiblebridge" ...
    QFactoryLoader::QFactoryLoader() checking directory path "/home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/accessiblebridge" ...
    QLibraryPrivate::unload succeeded on "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so" 
    QLibraryPrivate::unload succeeded on "/usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/libqgtk2.so" 
    QLibraryPrivate::unload succeeded on "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so" 
    QLibraryPrivate::unload succeeded on "Xcursor" (faked)
    QLibraryPrivate::unload succeeded on "gnomevfs-2" (faked)
    QLibraryPrivate::unload succeeded on "gtk-x11-2.0" (faked)
    /home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/Media-Player exited with code 0
    
    jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #34

    @6EQUJ5 Is there something in /usr/lib/x86_64-linux-gnu/qt5/plugins/mediaservice ?

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    6 1 Reply Last reply
    0
    • jsulmJ jsulm

      @6EQUJ5 Is there something in /usr/lib/x86_64-linux-gnu/qt5/plugins/mediaservice ?

      6 Offline
      6 Offline
      6EQUJ5
      wrote on last edited by
      #35

      @jsulm The folder mediaservice in /usr/lib/x86_64-linux-gnu/qt5/plugins/ doesn't exist.

      jsulmJ 2 Replies Last reply
      0
      • 6 6EQUJ5

        @jsulm The folder mediaservice in /usr/lib/x86_64-linux-gnu/qt5/plugins/ doesn't exist.

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #36

        @6EQUJ5 Looks like media plug-ins are missing.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • 6 6EQUJ5

          @jsulm The folder mediaservice in /usr/lib/x86_64-linux-gnu/qt5/plugins/ doesn't exist.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #37

          @6EQUJ5 Install libqt5multimedia5-plugins package

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          6 1 Reply Last reply
          0
          • jsulmJ jsulm

            @6EQUJ5 Install libqt5multimedia5-plugins package

            6 Offline
            6 Offline
            6EQUJ5
            wrote on last edited by
            #38

            @jsulm I got this now:

            (Media-Player:7076): GStreamer-CRITICAL **: gst_object_ref_sink: assertion 'GST_IS_OBJECT (object)' failed

            jsulmJ 2 Replies Last reply
            0
            • 6 6EQUJ5

              @jsulm I got this now:

              (Media-Player:7076): GStreamer-CRITICAL **: gst_object_ref_sink: assertion 'GST_IS_OBJECT (object)' failed

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #39

              @6EQUJ5 Can you post the output with QT_DEBUG_PLUGINS again?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • 6 6EQUJ5

                @jsulm I got this now:

                (Media-Player:7076): GStreamer-CRITICAL **: gst_object_ref_sink: assertion 'GST_IS_OBJECT (object)' failed

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #40

                @6EQUJ5 Also: can you play a media file now?

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                6 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @6EQUJ5 Also: can you play a media file now?

                  6 Offline
                  6 Offline
                  6EQUJ5
                  wrote on last edited by 6EQUJ5
                  #41

                  @jsulm No I cannot. Not with QMediaPlayer. QSoundEffect works though.

                  Output:

                  Starting /home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/Media-Player...
                  
                  (Media-Player:7759): GStreamer-CRITICAL **: gst_object_ref_sink: assertion 'GST_IS_OBJECT (object)' failed
                  /home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/Media-Player exited with code 0
                  
                  Starting /home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/Media-Player...
                  
                  (Media-Player:7779): GStreamer-CRITICAL **: gst_object_ref_sink: assertion 'GST_IS_OBJECT (object)' failed
                  /home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/Media-Player exited with code 0
                  
                  Starting /home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/Media-Player...
                  
                  (Media-Player:7796): GStreamer-CRITICAL **: gst_object_ref_sink: assertion 'GST_IS_OBJECT (object)' failed
                  /home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/Media-Player exited with code 0
                  
                  Starting /home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/Media-Player...
                  
                  (Media-Player:7813): GStreamer-CRITICAL **: gst_object_ref_sink: assertion 'GST_IS_OBJECT (object)' failed
                  /home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/Media-Player exited with code 0
                  
                  Starting /home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/Media-Player...
                  
                  (Media-Player:7904): GStreamer-CRITICAL **: gst_object_ref_sink: assertion 'GST_IS_OBJECT (object)' failed
                  /home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/Media-Player exited with code 0
                  
                  Starting /home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/Media-Player...
                  
                  (Media-Player:7933): GStreamer-CRITICAL **: gst_object_ref_sink: assertion 'GST_IS_OBJECT (object)' failed
                  /home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/Media-Player exited with code 0
                  
                  Starting /home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/Media-Player...
                  QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms" ...
                  QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqeglfs.so"
                  Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqeglfs.so, metadata=
                  {
                      "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
                      "MetaData": {
                          "Keys": [
                              "eglfs"
                          ]
                      },
                      "className": "QEglFSIntegrationPlugin",
                      "debug": false,
                      "version": 328450
                  }
                  
                  
                  Got keys from plugin meta data ("eglfs")
                  QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqkms.so"
                  Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqkms.so, metadata=
                  {
                      "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
                      "MetaData": {
                          "Keys": [
                              "kms"
                          ]
                      },
                      "className": "QKmsIntegrationPlugin",
                      "debug": false,
                      "version": 328450
                  }
                  
                  
                  Got keys from plugin meta data ("kms")
                  QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqlinuxfb.so"
                  Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqlinuxfb.so, metadata=
                  {
                      "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
                      "MetaData": {
                          "Keys": [
                              "linuxfb"
                          ]
                      },
                      "className": "QLinuxFbIntegrationPlugin",
                      "debug": false,
                      "version": 328450
                  }
                  
                  
                  Got keys from plugin meta data ("linuxfb")
                  QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimal.so"
                  Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimal.so, metadata=
                  {
                      "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
                      "MetaData": {
                          "Keys": [
                              "minimal"
                          ]
                      },
                      "className": "QMinimalIntegrationPlugin",
                      "debug": false,
                      "version": 328450
                  }
                  
                  
                  Got keys from plugin meta data ("minimal")
                  QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimalegl.so"
                  Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimalegl.so, metadata=
                  {
                      "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
                      "MetaData": {
                          "Keys": [
                              "minimalegl"
                          ]
                      },
                      "className": "QMinimalEglIntegrationPlugin",
                      "debug": false,
                      "version": 328450
                  }
                  
                  
                  Got keys from plugin meta data ("minimalegl")
                  QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqoffscreen.so"
                  Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqoffscreen.so, metadata=
                  {
                      "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
                      "MetaData": {
                          "Keys": [
                              "offscreen"
                          ]
                      },
                      "className": "QOffscreenIntegrationPlugin",
                      "debug": false,
                      "version": 328450
                  }
                  
                  
                  Got keys from plugin meta data ("offscreen")
                  QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so"
                  Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so, metadata=
                  {
                      "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
                      "MetaData": {
                          "Keys": [
                              "xcb"
                          ]
                      },
                      "className": "QXcbIntegrationPlugin",
                      "debug": false,
                      "version": 328450
                  }
                  
                  
                  Got keys from plugin meta data ("xcb")
                  QFactoryLoader::QFactoryLoader() checking directory path "/home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/platforms" ...
                  loaded library "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so"
                  loaded library "Xcursor"
                  QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes" ...
                  QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/libqgtk2.so"
                  Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/libqgtk2.so, metadata=
                  {
                      "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
                      "MetaData": {
                          "Keys": [
                              "gtk2"
                          ]
                      },
                      "className": "QGtk2ThemePlugin",
                      "debug": false,
                      "version": 328450
                  }
                  
                  
                  Got keys from plugin meta data ("gtk2")
                  QFactoryLoader::QFactoryLoader() checking directory path "/home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/platformthemes" ...
                  loaded library "/usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/libqgtk2.so"
                  QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts" ...
                  QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so"
                  Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so, metadata=
                  {
                      "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface",
                      "MetaData": {
                          "Keys": [
                              "compose"
                          ]
                      },
                      "className": "QComposePlatformInputContextPlugin",
                      "debug": false,
                      "version": 328450
                  }
                  
                  
                  Got keys from plugin meta data ("compose")
                  QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so"
                  Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so, metadata=
                  {
                      "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface",
                      "MetaData": {
                          "Keys": [
                              "ibus"
                          ]
                      },
                      "className": "QIbusPlatformInputContextPlugin",
                      "debug": false,
                      "version": 328450
                  }
                  
                  
                  Got keys from plugin meta data ("ibus")
                  QFactoryLoader::QFactoryLoader() checking directory path "/home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/platforminputcontexts" ...
                  loaded library "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so"
                  QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt5/plugins/generic" ...
                  QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/generic/libqevdevkeyboardplugin.so"
                  Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/generic/libqevdevkeyboardplugin.so, metadata=
                  {
                      "IID": "org.qt-project.Qt.QGenericPluginFactoryInterface",
                      "MetaData": {
                          "Keys": [
                              "EvdevKeyboard"
                          ]
                      },
                      "className": "QEvdevKeyboardPlugin",
                      "debug": false,
                      "version": 328450
                  }
                  
                  
                  Got keys from plugin meta data ("evdevkeyboard")
                  QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/generic/libqevdevmouseplugin.so"
                  Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/generic/libqevdevmouseplugin.so, metadata=
                  {
                      "IID": "org.qt-project.Qt.QGenericPluginFactoryInterface",
                      "MetaData": {
                          "Keys": [
                              "EvdevMouse"
                          ]
                      },
                      "className": "QEvdevMousePlugin",
                      "debug": false,
                      "version": 328450
                  }
                  
                  
                  Got keys from plugin meta data ("evdevmouse")
                  QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/generic/libqevdevtabletplugin.so"
                  Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/generic/libqevdevtabletplugin.so, metadata=
                  {
                      "IID": "org.qt-project.Qt.QGenericPluginFactoryInterface",
                      "MetaData": {
                          "Keys": [
                              "EvdevTablet"
                          ]
                      },
                      "className": "QEvdevTabletPlugin",
                      "debug": false,
                      "version": 328450
                  }
                  
                  
                  Got keys from plugin meta data ("evdevtablet")
                  QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/generic/libqevdevtouchplugin.so"
                  Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/generic/libqevdevtouchplugin.so, metadata=
                  {
                      "IID": "org.qt-project.Qt.QGenericPluginFactoryInterface",
                      "MetaData": {
                          "Keys": [
                              "EvdevTouch"
                          ]
                      },
                      "className": "QEvdevTouchScreenPlugin",
                      "debug": false,
                      "version": 328450
                  }
                  
                  
                  Got keys from plugin meta data ("evdevtouch")
                  QFactoryLoader::QFactoryLoader() checking directory path "/home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/generic" ...
                  QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt5/plugins/styles" ...
                  QFactoryLoader::QFactoryLoader() checking directory path "/home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/styles" ...
                  loaded library "gtk-x11-2.0"
                  loaded library "gnomeui-2"
                  loaded library "gnomevfs-2"
                  QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt5/plugins/mediaservice" ...
                  QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/mediaservice/libgstaudiodecoder.so"
                  Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/mediaservice/libgstaudiodecoder.so, metadata=
                  {
                      "IID": "org.qt-project.qt.mediaserviceproviderfactory/5.0",
                      "MetaData": {
                          "Keys": [
                              "gstreameraudiodecode"
                          ],
                          "Services": [
                              "org.qt-project.qt.audiodecode"
                          ]
                      },
                      "className": "QGstreamerAudioDecoderServicePlugin",
                      "debug": false,
                      "version": 328450
                  }
                  
                  
                  Got keys from plugin meta data ("gstreameraudiodecode")
                  QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/mediaservice/libgstcamerabin.so"
                  Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/mediaservice/libgstcamerabin.so, metadata=
                  {
                      "IID": "org.qt-project.qt.mediaserviceproviderfactory/5.0",
                      "MetaData": {
                          "Keys": [
                              "gstreamercamerabin"
                          ],
                          "Services": [
                              "org.qt-project.qt.camera"
                          ]
                      },
                      "className": "CameraBinServicePlugin",
                      "debug": false,
                      "version": 328450
                  }
                  
                  
                  Got keys from plugin meta data ("gstreamercamerabin")
                  QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/mediaservice/libgstmediacapture.so"
                  Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/mediaservice/libgstmediacapture.so, metadata=
                  {
                      "IID": "org.qt-project.qt.mediaserviceproviderfactory/5.0",
                      "MetaData": {
                          "Keys": [
                              "gstreamermediacapture"
                          ],
                          "Services": [
                              "org.qt-project.qt.audiosource"
                          ]
                      },
                      "className": "QGstreamerCaptureServicePlugin",
                      "debug": false,
                      "version": 328450
                  }
                  
                  
                  Got keys from plugin meta data ("gstreamermediacapture")
                  QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/mediaservice/libgstmediaplayer.so"
                  Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/mediaservice/libgstmediaplayer.so, metadata=
                  {
                      "IID": "org.qt-project.qt.mediaserviceproviderfactory/5.0",
                      "MetaData": {
                          "Keys": [
                              "gstreamermediaplayer"
                          ],
                          "Services": [
                              "org.qt-project.qt.mediaplayer"
                          ]
                      },
                      "className": "QGstreamerPlayerServicePlugin",
                      "debug": false,
                      "version": 328450
                  }
                  
                  
                  Got keys from plugin meta data ("gstreamermediaplayer")
                  QFactoryLoader::QFactoryLoader() checking directory path "/home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/mediaservice" ...
                  loaded library "/usr/lib/x86_64-linux-gnu/qt5/plugins/mediaservice/libgstmediaplayer.so"
                  
                  (Media-Player:8039): GStreamer-CRITICAL **: gst_object_ref_sink: assertion 'GST_IS_OBJECT (object)' failed
                  QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt5/plugins/resourcepolicy" ...
                  QFactoryLoader::QFactoryLoader() checking directory path "/home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/resourcepolicy" ...
                  QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt5/plugins/accessiblebridge" ...
                  QFactoryLoader::QFactoryLoader() checking directory path "/home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/accessiblebridge" ...
                  QLibraryPrivate::unload succeeded on "/usr/lib/x86_64-linux-gnu/qt5/plugins/mediaservice/libgstmediaplayer.so" 
                  QLibraryPrivate::unload succeeded on "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so" 
                  QLibraryPrivate::unload succeeded on "/usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/libqgtk2.so" 
                  QLibraryPrivate::unload succeeded on "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so" 
                  QLibraryPrivate::unload succeeded on "Xcursor" (faked)
                  QLibraryPrivate::unload succeeded on "gnomevfs-2" (faked)
                  QLibraryPrivate::unload succeeded on "gtk-x11-2.0" (faked)
                  /home/user/Documents/Qt Projects/Media-Player/build-Media-Player-Desktop-Release/Media-Player exited with code 0
                  
                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #42

                    What GStreamer package did you install ?

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

                    6 1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      KhoaTran Programmer
                      wrote on last edited by
                      #43

                      @6EQUJ5 ,

                      Your log is not detail enough. You should enable Gstreamer debug, your current is just Qt.

                      But I guest that, your current Gstreamer plugin is not enough to playback.

                      One question, what kind of movie content you want to playback?(Mp4, WMV, H264, H265, MP3, ...)

                      Best regards,
                      Khoa

                      1 Reply Last reply
                      0
                      • SGaistS SGaist

                        What GStreamer package did you install ?

                        6 Offline
                        6 Offline
                        6EQUJ5
                        wrote on last edited by 6EQUJ5
                        #44

                        @SGaist I didn't install GStreamer. How to install? Specific instructions please the official GStreamer site doesn't help much at all for Debian.

                        @KhoaTran-Programmer Firstly, the commands to check if GStreamer is installed doesn't work. How to install? Specifically. The official GStreamer site doesn't help at all for Debian. Also, I would want to play MP4, MP3, AVI, WMV, etc. All those common ones. Doesn't QMediaPlayer support most common ones?

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

                          Because it's not their role. Use your distribution tools to install GStreamer.

                          Specifically, apt-cache search to see what package are installed and apt-get install to install what you want.

                          In your case, libgstreamer1.0-dev as well as all the 1.0 plugins packages.

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

                          6 1 Reply Last reply
                          1
                          • SGaistS SGaist

                            Because it's not their role. Use your distribution tools to install GStreamer.

                            Specifically, apt-cache search to see what package are installed and apt-get install to install what you want.

                            In your case, libgstreamer1.0-dev as well as all the 1.0 plugins packages.

                            6 Offline
                            6 Offline
                            6EQUJ5
                            wrote on last edited by
                            #46

                            @SGaist I did that and the same error happens.

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

                              Can you play that file with the gstreamer tools directly ?

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

                              6 1 Reply Last reply
                              0
                              • SGaistS SGaist

                                Can you play that file with the gstreamer tools directly ?

                                6 Offline
                                6 Offline
                                6EQUJ5
                                wrote on last edited by
                                #48

                                @SGaist How would I do that?

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

                                  gst-play-1.0 your_video_file

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

                                  6 1 Reply Last reply
                                  0
                                  • SGaistS SGaist

                                    gst-play-1.0 your_video_file

                                    6 Offline
                                    6 Offline
                                    6EQUJ5
                                    wrote on last edited by 6EQUJ5
                                    #50

                                    @SGaist The command doesn't exist. Even though I installed libgstreamer1.0-dev.

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

                                      That's the development package to be able to use the library in your own projects. You need to install the GStreamer tools.

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

                                      6 1 Reply Last reply
                                      0
                                      • SGaistS SGaist

                                        That's the development package to be able to use the library in your own projects. You need to install the GStreamer tools.

                                        6 Offline
                                        6 Offline
                                        6EQUJ5
                                        wrote on last edited by
                                        #52

                                        @SGaist What package do I need to install for the GStreamer tools?

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

                                          Please learn to use the tools from your distribution apt-cache search gstreamer | grep tools.

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

                                          6 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