Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QMediaPlayer::ServiceMissingError
QtWS25 Last Chance

QMediaPlayer::ServiceMissingError

Scheduled Pinned Locked Moved Solved Mobile and Embedded
11 Posts 4 Posters 1.3k 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.
  • A Offline
    A Offline
    anil_arise
    wrote on last edited by anil_arise
    #1

    i am using Qmediaplayer sample program to play media. on my embedded system
    bu i got error
    my embedded details are:
    Linux imx6qsabresd 4.9.11-1.0.0+gc27010d
    armv7l armv7l armv7l GNU/Linux

    and output is :
    defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
    QMediaPlayer::ServiceMissingError

    in details : I have created playlist of two .mp3 and playing with Qmediaplayer.
    program is working fine at another system and in terminal of embedded system gstream play also successfully any mp3

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

      Hi,

      What version of Qt are you using ?
      What version of GStreamer ?
      How did you build Qt ?

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

      A 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        What version of Qt are you using ?
        What version of GStreamer ?
        How did you build Qt ?

        A Offline
        A Offline
        anil_arise
        wrote on last edited by
        #3

        @SGaist
        this id Qt details:
        Based on Qt 5.9.1 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
        Built on Jun 29 2017 04:10:39
        From revision e974f0733e

        and GStreamer
        gst-launch-1.0 version 1.10.4
        gstreamer 1.10.4
        gst-play-1.0 version 1.10.4

        jsulmJ 1 Reply Last reply
        0
        • A anil_arise

          @SGaist
          this id Qt details:
          Based on Qt 5.9.1 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
          Built on Jun 29 2017 04:10:39
          From revision e974f0733e

          and GStreamer
          gst-launch-1.0 version 1.10.4
          gstreamer 1.10.4
          gst-play-1.0 version 1.10.4

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

          @anil_arise said in QMediaPlayer::ServiceMissingError:

          Based on Qt 5.9.1 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
          Built on Jun 29 2017 04:10:39
          From revision e974f0733e

          These are not Qt details but QtCreator, which are not the same.
          Which Qt version did you install?

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

          A 1 Reply Last reply
          0
          • jsulmJ jsulm

            @anil_arise said in QMediaPlayer::ServiceMissingError:

            Based on Qt 5.9.1 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
            Built on Jun 29 2017 04:10:39
            From revision e974f0733e

            These are not Qt details but QtCreator, which are not the same.
            Which Qt version did you install?

            A Offline
            A Offline
            anil_arise
            wrote on last edited by
            #5

            @jsulm Qt4

            jsulmJ 1 Reply Last reply
            0
            • A anil_arise

              @jsulm Qt4

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

              @anil_arise Unless you really have to use Qt4 you should try with latest Qt5 release (5.12 I guess).

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

              A 1 Reply Last reply
              0
              • jsulmJ jsulm

                @anil_arise Unless you really have to use Qt4 you should try with latest Qt5 release (5.12 I guess).

                A Offline
                A Offline
                anil_arise
                wrote on last edited by
                #7

                @jsulm i tried it also but same result found

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

                  Did you build Qt yourself ?
                  If so did you provide it with the GStreamer development libraries for the plugin to be built ?

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

                  A 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Did you build Qt yourself ?
                    If so did you provide it with the GStreamer development libraries for the plugin to be built ?

                    A Offline
                    A Offline
                    anil_arise
                    wrote on last edited by
                    #9

                    @SGaist no Qt build itself.
                    i have added in .pro
                    PKGCONFIG += gstreamer-1.0 glib-2.0

                    1 Reply Last reply
                    0
                    • ArtyA Offline
                      ArtyA Offline
                      Arty
                      wrote on last edited by
                      #10

                      I got an similar problem with qcamera

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

                        Not knowing which version of Qt 5 you are using it's not possible to know whether you have the right version of GStreamer available.

                        In any case, start your application with the QT_DEBUG_PLUGINS environment variable set to 1 and it should show you what's happening.

                        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