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

QMediaPlayer and GStreamer plug-ins

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 3 Posters 8.1k 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.
  • S Offline
    S Offline
    Suares
    wrote on last edited by
    #1

    Hello!
    A couple of days ago I started working with QMediaPLayer (from Qt 5.5.1) on Ubuntu 15.10 x64.
    And I cannot resolve a problem related to play audio.
    Here are the errors from the output window:

    GStreamer; Unable to pause - "file:///home/slava/Music/02. Above & Beyond feat. Zoe Johnston - We're All We Need.mp3"
    Error: "Your GStreamer installation is missing a plug-in."
    Warning: "No decoder available for type 'application/x-id3'."
    

    And dialogs which appear when I open audio:

    https://www.dropbox.com/s/8x8271jwm7d7hrz/Screenshot from 2016-01-07 12-44-17.png?dl=0
    https://www.dropbox.com/s/0ibpzg9crmso3gk/Screenshot from 2016-01-07 12-44-36.png?dl=0

    I've looked through many topics, related to GStreamer and plug-ins, and I've executed many commands on the terminal. There is no result, since I'm getting the same output as above.

    Thanks for any help and suggestion!

    RatzzR 1 Reply Last reply
    0
    • S Suares

      Hello!
      A couple of days ago I started working with QMediaPLayer (from Qt 5.5.1) on Ubuntu 15.10 x64.
      And I cannot resolve a problem related to play audio.
      Here are the errors from the output window:

      GStreamer; Unable to pause - "file:///home/slava/Music/02. Above & Beyond feat. Zoe Johnston - We're All We Need.mp3"
      Error: "Your GStreamer installation is missing a plug-in."
      Warning: "No decoder available for type 'application/x-id3'."
      

      And dialogs which appear when I open audio:

      https://www.dropbox.com/s/8x8271jwm7d7hrz/Screenshot from 2016-01-07 12-44-17.png?dl=0
      https://www.dropbox.com/s/0ibpzg9crmso3gk/Screenshot from 2016-01-07 12-44-36.png?dl=0

      I've looked through many topics, related to GStreamer and plug-ins, and I've executed many commands on the terminal. There is no result, since I'm getting the same output as above.

      Thanks for any help and suggestion!

      RatzzR Offline
      RatzzR Offline
      Ratzz
      wrote on last edited by
      #2

      @Suares
      Hi and welcome.
      Did you try this?

      sudo apt-get install gstreamer0.10-ffmpeg

      --Alles ist gut.

      S 1 Reply Last reply
      0
      • RatzzR Ratzz

        @Suares
        Hi and welcome.
        Did you try this?

        sudo apt-get install gstreamer0.10-ffmpeg
        S Offline
        S Offline
        Suares
        wrote on last edited by
        #3

        Hello @Ratzz, thank you for reply.
        I did this before and I've just done it again:

        gstreamer0.10-ffmpeg is already the newest version.
        The following packages were automatically installed and are no longer required:
          brasero-cdrkit libchromaprint0 libde265-0 libfluidsynth1 libgtkglext1
          libilmbase12 libmpg123-0 libopencv-calib3d2.4v5 libopencv-contrib2.4v5
          libopencv-features2d2.4v5 libopencv-flann2.4v5 libopencv-highgui2.4v5
          libopencv-legacy2.4v5 libopencv-ml2.4v5 libopencv-objdetect2.4v5
          libopencv-video2.4v5 libopenexr22 libsrtp0
        Use 'apt-get autoremove' to remove them.
        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
        

        Maybe I have a conflict in the system with other installed libraries or softwares. Puzzle...

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

          Hi,

          I'm not sure but IIRC, 5.5.1 might be using GStreamer 1.0.

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

          S 1 Reply Last reply
          0
          • SGaistS SGaist

            Hi,

            I'm not sure but IIRC, 5.5.1 might be using GStreamer 1.0.

            S Offline
            S Offline
            Suares
            wrote on last edited by
            #5

            Hello, @SGaist! Thank you for your assistance.

            I installed GStreamer1.0 using

            sudo add-apt-repository ppa:gstreamer-developers/ppa
            sudo apt-get update
            sudo apt-get install gstreamer1.0*
            

            But I'm getting the same error.

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

              Try running gst-inspect id3demux

              [edit: fixed application name SGaist]

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

              S 1 Reply Last reply
              0
              • SGaistS SGaist

                Try running gst-inspect id3demux

                [edit: fixed application name SGaist]

                S Offline
                S Offline
                Suares
                wrote on last edited by
                #7

                Hi, @SGaist!
                Now things go well.
                I've just used a brute force method. And it helped me.
                I think a bad plugin was missed in the system. But I'm not sure. Here is a list of the latest commands:

                106  apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
                107  sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
                108  sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
                109  sudo apt-get install libgstreamer1.2-dev libgstreamer-plugins-base1.2-dev
                110  sudo apt-get install gstreamer0.10-plugins-bad
                111  sudo apt-get install gstreamer1.0-plugins-bad
                112  sudo apt-get install ubuntu-restricted-addons
                113  sudo apt-get install gstreamer0.10-plugins-bad-multiverse
                114  sudo apt-get install gstreamer1.0-plugins-bad-multiverse
                

                As for get-inspect command:

                No command 'get-inspect' found, did you mean:
                Command 'gst-inspect' from package 'gstreamer-tools' (main)
                get-inspect: command not found
                
                

                Thanks for all :)

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

                  Whoops sorry, I meantget-inspect. I've fixed my other post.

                  You're welcome :)

                  Since you have it working now, please mark the thread as solved using the "Topic Tool" button so other forum users may know a solution has been found :)

                  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