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. qmediaplayer object does not have a valid service
QtWS25 Last Chance

qmediaplayer object does not have a valid service

Scheduled Pinned Locked Moved General and Desktop
linuxarmc++videofedorafc20
22 Posts 4 Posters 22.2k Views
  • 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.
  • I IL
    21 Sept 2015, 13:04

    @ilan-lisha
    could it be the reason?
    While running ./configure -v -qt-xcb -gstreamer -opensource
    I get the error: project ERROR: gstreamer-0.10 development package not found
    even though libgstreamer-0.10.so.0.30.0 is installed in my system.
    In my old configuration: GStreamer .............. no

    I Offline
    I Offline
    IL
    wrote on 21 Sept 2015, 14:36 last edited by
    #13

    @IL
    Please advice what should I do?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 21 Sept 2015, 21:54 last edited by
      #14

      As silly as it may sound: Install the gstreamer development package

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

      I 1 Reply Last reply 24 Sept 2015, 05:36
      0
      • S SGaist
        21 Sept 2015, 21:54

        As silly as it may sound: Install the gstreamer development package

        I Offline
        I Offline
        IL
        wrote on 24 Sept 2015, 05:36 last edited by
        #15

        @SGaist - As I have mention above, gstreamer package already installed on my PC.
        Any idea why QT don’t recognize it?

        R 1 Reply Last reply 24 Sept 2015, 17:03
        0
        • I IL
          24 Sept 2015, 05:36

          @SGaist - As I have mention above, gstreamer package already installed on my PC.
          Any idea why QT don’t recognize it?

          R Offline
          R Offline
          raf924
          wrote on 24 Sept 2015, 17:03 last edited by raf924
          #16

          @IL He 's not talking about the gstreamer package but rather libgstreamer-dev or something like that. Right?

          I 1 Reply Last reply 6 Oct 2015, 11:12
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 24 Sept 2015, 20:01 last edited by
            #17

            @raf924's right, the dev packages are needed

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

            I 1 Reply Last reply 6 Oct 2015, 06:24
            0
            • S SGaist
              24 Sept 2015, 20:01

              @raf924's right, the dev packages are needed

              I Offline
              I Offline
              IL
              wrote on 6 Oct 2015, 06:24 last edited by
              #18

              @SGaist Hi
              Sorry for the ignorance but can you tell the different between gstreamer package and gstreamer-dev package?
              Do I need here qt-gstreamer?

              Thanks!

              1 Reply Last reply
              0
              • R raf924
                24 Sept 2015, 17:03

                @IL He 's not talking about the gstreamer package but rather libgstreamer-dev or something like that. Right?

                I Offline
                I Offline
                IL
                wrote on 6 Oct 2015, 11:12 last edited by
                #19

                @raf924 Hi
                I am running:
                ./configure -v -qt-xcb -opensource -confirm-license -gstreamer
                currently configuration failed for:
                GStreamer 0.10 auto-detection... ()
                Project ERROR: gstreamer-audio-0.10 development package not found
                GStreamer 0.10 disabled.

                also I can see that according to gstreamer.pro it required:
                gstreamer-0.10
                gstreamer-base-0.10
                gstreamer-audio-0.10
                gstreamer-video-0.10
                gstreamer-pbutils-0.10
                I have managed to install gstreamer-0.10 and gstreamer-base-0.10 but now I am stuck on audio and video.
                I am running QT on fedora 20.
                I cannot find gstreamer-audio/video using "yum install ... "
                What am I missing?
                Please advice for a solution.

                best regards, IL

                R 1 Reply Last reply 7 Oct 2015, 15:11
                0
                • I IL
                  6 Oct 2015, 11:12

                  @raf924 Hi
                  I am running:
                  ./configure -v -qt-xcb -opensource -confirm-license -gstreamer
                  currently configuration failed for:
                  GStreamer 0.10 auto-detection... ()
                  Project ERROR: gstreamer-audio-0.10 development package not found
                  GStreamer 0.10 disabled.

                  also I can see that according to gstreamer.pro it required:
                  gstreamer-0.10
                  gstreamer-base-0.10
                  gstreamer-audio-0.10
                  gstreamer-video-0.10
                  gstreamer-pbutils-0.10
                  I have managed to install gstreamer-0.10 and gstreamer-base-0.10 but now I am stuck on audio and video.
                  I am running QT on fedora 20.
                  I cannot find gstreamer-audio/video using "yum install ... "
                  What am I missing?
                  Please advice for a solution.

                  best regards, IL

                  R Offline
                  R Offline
                  raf924
                  wrote on 7 Oct 2015, 15:11 last edited by
                  #20

                  @IL sudo yum install gstreamer-devel should do the trick

                  I 1 Reply Last reply 8 Oct 2015, 11:40
                  0
                  • R raf924
                    7 Oct 2015, 15:11

                    @IL sudo yum install gstreamer-devel should do the trick

                    I Offline
                    I Offline
                    IL
                    wrote on 8 Oct 2015, 11:40 last edited by
                    #21

                    @raf924 Thanks!

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SherifOmran
                      wrote on 9 Aug 2022, 20:35 last edited by
                      #22

                      guys, i have the same issue but with debian 11. When i run the player example, i get the following

                      defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
                      
                      sherif@debian:~/sndmod$ sudo apt list --installed | grep gstreamer
                      [sudo] password for sherif: 
                      
                      WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
                      
                      gir1.2-gstreamer-1.0/stable,now 1.18.4-2.1 amd64 [installed,automatic]
                      gira-gstreamer-vanilla/testing,now 1.0.0-4 all [installed,automatic]
                      gstreamer1.0-alsa/stable,now 1.18.4-2 amd64 [installed,automatic]
                      gstreamer1.0-clutter-3.0/stable,now 3.0.27-2 amd64 [installed,automatic]
                      gstreamer1.0-gl/stable,now 1.18.4-2 amd64 [installed,automatic]
                      gstreamer1.0-gtk3/stable,now 1.18.4-2 amd64 [installed,automatic]
                      gstreamer1.0-libav/stable,now 1.18.4-3 amd64 [installed]
                      gstreamer1.0-packagekit/stable,now 1.2.2-2 amd64 [installed]
                      gstreamer1.0-pipewire/stable,now 0.3.19-4 amd64 [installed,automatic]
                      gstreamer1.0-plugins-bad/stable,now 1.18.4-3 amd64 [installed,automatic]
                      gstreamer1.0-plugins-base/stable,now 1.18.4-2 amd64 [installed]
                      gstreamer1.0-plugins-good/stable,now 1.18.4-2 amd64 [installed]
                      gstreamer1.0-plugins-ugly/stable,now 1.18.4-2 amd64 [installed]
                      gstreamer1.0-pulseaudio/stable,now 1.18.4-2 amd64 [installed]
                      gstreamer1.0-tools/stable,now 1.18.4-2.1 amd64 [installed,automatic]
                      gstreamer1.0-x/stable,now 1.18.4-2 amd64 [installed,automatic]
                      libgstreamer-gl1.0-0/stable,now 1.18.4-2 amd64 [installed,automatic]
                      libgstreamer-plugins-bad1.0-0/stable,now 1.18.4-3 amd64 [installed,automatic]
                      libgstreamer-plugins-base1.0-0/stable,now 1.18.4-2 amd64 [installed,automatic]
                      libgstreamer1.0-0/stable,now 1.18.4-2.1 amd64 [installed,automatic]
                      libgstreamer1.0-dev/stable,now 1.18.4-2.1 amd64 [installed,automatic]
                      qtgstreamer-plugins-qt5/stable,now 1.2.0-5.1 amd64 [installed,auto-removable]
                      sherif@debian:~/sndmod$ 
                      
                      
                      
                      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