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
Forum Updated to NodeBB v4.3 + New Features

QMediaPlayer::ServiceMissingError

Scheduled Pinned Locked Moved Solved Mobile and Embedded
11 Posts 4 Posters 1.3k 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.
  • A Offline
    A Offline
    anil_arise
    wrote on 11 Oct 2018, 12:32 last edited by anil_arise 10 Nov 2018, 12:38
    #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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 11 Oct 2018, 20:34 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 12 Oct 2018, 04:48
      0
      • S SGaist
        11 Oct 2018, 20:34

        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 12 Oct 2018, 04:48 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

        J 1 Reply Last reply 12 Oct 2018, 06:54
        0
        • A anil_arise
          12 Oct 2018, 04:48

          @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

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 12 Oct 2018, 06:54 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 12 Oct 2018, 10:38
          0
          • J jsulm
            12 Oct 2018, 06:54

            @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 12 Oct 2018, 10:38 last edited by
            #5

            @jsulm Qt4

            J 1 Reply Last reply 12 Oct 2018, 10:41
            0
            • A anil_arise
              12 Oct 2018, 10:38

              @jsulm Qt4

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 12 Oct 2018, 10:41 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 12 Oct 2018, 11:03
              0
              • J jsulm
                12 Oct 2018, 10:41

                @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 12 Oct 2018, 11:03 last edited by
                #7

                @jsulm i tried it also but same result found

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 12 Oct 2018, 11:30 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 12 Oct 2018, 11:52
                  0
                  • S SGaist
                    12 Oct 2018, 11:30

                    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 12 Oct 2018, 11:52 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
                    • A Offline
                      A Offline
                      Arty
                      wrote on 12 Oct 2018, 13:34 last edited by
                      #10

                      I got an similar problem with qcamera

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 12 Oct 2018, 20:29 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

                        3/11

                        12 Oct 2018, 04:48

                        topic:navigator.unread, 8
                        • Login

                        • Login or register to search.
                        3 out of 11
                        • First post
                          3/11
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved