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. mediaplayer not able to play video
Qt 6.11 is out! See what's new in the release blog

mediaplayer not able to play video

Scheduled Pinned Locked Moved Unsolved General and Desktop
media playermediaplayervideoqt 5.5.132bit
16 Posts 4 Posters 8.8k 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.
  • AmazingQtA AmazingQt

    In qt 32 bit I get an error as stated below in Qt 5.5.0 and Qt 5.5.1

    defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"

    but the same code works in 64bit Qt 5.6.0 without any error

    raven-worxR Offline
    raven-worxR Offline
    raven-worx
    Moderators
    wrote on last edited by
    #2

    @AmazingQt
    please at least use the search for the error message before opening a new thread.

    --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
    If you have a question please use the forum so others can benefit from the solution in the future

    1 Reply Last reply
    0
    • AmazingQtA Offline
      AmazingQtA Offline
      AmazingQt
      wrote on last edited by AmazingQt
      #3

      @raven-worx
      Actually the solution provided in the thread did not work for me too because I am using linux OS

      jsulmJ 1 Reply Last reply
      0
      • AmazingQtA AmazingQt

        @raven-worx
        Actually the solution provided in the thread did not work for me too because I am using linux OS

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

        @AmazingQt The last post in that thread points out to install libgstreamer on Linux

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

        1 Reply Last reply
        0
        • AmazingQtA Offline
          AmazingQtA Offline
          AmazingQt
          wrote on last edited by
          #5

          Yes, even after installing all the dependencies video does not play

          jsulmJ 1 Reply Last reply
          0
          • AmazingQtA AmazingQt

            Yes, even after installing all the dependencies video does not play

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

            @AmazingQt So, your system is 64bit, right? With 64bit Qt it's working. I guess you installed libgstreamer 64bit but not 32bit.

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

            AmazingQtA 1 Reply Last reply
            0
            • jsulmJ jsulm

              @AmazingQt So, your system is 64bit, right? With 64bit Qt it's working. I guess you installed libgstreamer 64bit but not 32bit.

              AmazingQtA Offline
              AmazingQtA Offline
              AmazingQt
              wrote on last edited by
              #7

              @jsulm Yes I have installed libgstreamer for 64bit Qt 5.5.1 and the video is playing in it but when I tried to install the 32bit libgstreamer for my 32bit Qt 5.5.1 I am not able to play the video

              jsulmJ 1 Reply Last reply
              0
              • AmazingQtA AmazingQt

                @jsulm Yes I have installed libgstreamer for 64bit Qt 5.5.1 and the video is playing in it but when I tried to install the 32bit libgstreamer for my 32bit Qt 5.5.1 I am not able to play the video

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

                @AmazingQt "but when I tried to install the 32bit libgstreamer" - so did you succeed with installation of 32bit libgstreamer?

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

                AmazingQtA 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @AmazingQt "but when I tried to install the 32bit libgstreamer" - so did you succeed with installation of 32bit libgstreamer?

                  AmazingQtA Offline
                  AmazingQtA Offline
                  AmazingQt
                  wrote on last edited by
                  #9

                  @jsulm Yes I have installed the libgstreamer for 32bit

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

                    Hi,

                    Which version did you install ? 0.1 or 1.0 and did you install the plugin packages ?

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

                    AmazingQtA 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      Hi,

                      Which version did you install ? 0.1 or 1.0 and did you install the plugin packages ?

                      AmazingQtA Offline
                      AmazingQtA Offline
                      AmazingQt
                      wrote on last edited by
                      #11

                      @SGaist I have installed libgstreamer 1.0

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

                        What about the plugin packages ?

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

                        AmazingQtA 1 Reply Last reply
                        0
                        • SGaistS SGaist

                          What about the plugin packages ?

                          AmazingQtA Offline
                          AmazingQtA Offline
                          AmazingQt
                          wrote on last edited by
                          #13

                          @SGaist I have not installed any plugin

                          raven-worxR 1 Reply Last reply
                          0
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #14

                            Then do it. It's the plugin packages that provide the codecs.

                            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
                            • AmazingQtA AmazingQt

                              @SGaist I have not installed any plugin

                              raven-worxR Offline
                              raven-worxR Offline
                              raven-worx
                              Moderators
                              wrote on last edited by raven-worx
                              #15

                              @AmazingQt
                              also please set the env variable QT_DEBUG_PLUGINS to a non-zero value and post the console output. To see if the plugin is even loaded by Qt by now.

                              --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                              If you have a question please use the forum so others can benefit from the solution in the future

                              AmazingQtA 1 Reply Last reply
                              0
                              • raven-worxR raven-worx

                                @AmazingQt
                                also please set the env variable QT_DEBUG_PLUGINS to a non-zero value and post the console output. To see if the plugin is even loaded by Qt by now.

                                AmazingQtA Offline
                                AmazingQtA Offline
                                AmazingQt
                                wrote on last edited by AmazingQt
                                #16

                                @raven-worx Got keys from plugin meta data ("audiocapture")
                                QFactoryLoader::QFactoryLoader() checking directory path "/home/MYPATH/build-desktop-system-dev-Desktop_Qt_5_5_1_GCC_32bit-Release/MY_PROJECT/mediaservice" ...
                                defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"

                                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