Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Gstreamer
Qt 6.11 is out! See what's new in the release blog

Gstreamer

Scheduled Pinned Locked Moved Solved Installation and Deployment
8 Posts 2 Posters 3.4k 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.
  • H Offline
    H Offline
    Hoyt
    wrote on last edited by
    #1

    I am trying to execute a Qt 5.8 app on Ubuntu 16.04. I have loaded gstreamer0.10 via

     sudo apt-get update
     sudo apt-get install gstreamer0.10-x
     sudo apt-get –f install
    

    Following various suggestions on the web, I have also loaded

     sudo add-apt-repository ppa:mc3man/gstffmpeg-keep
     sudo add-apt-repository ppa:mc3man/trusty
    

    However, when my app attempts to play a video, I receive the following error:

     Warning: No decoder available for type 'audio/x-m4a'
     Error: Your GStreamer installation is missing a plug-in.
    

    What is the proper method of installing gstreamer so that Qt can play videos?

    Thank you in advance.

    Hoyt

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

      Hi,

      You also need to install the gstreamer 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

      1 Reply Last reply
      0
      • H Offline
        H Offline
        Hoyt
        wrote on last edited by
        #3

        SGaist,

        I just tried to install the gstreamer-ugly plugin via

         sudo apt install gstreamer0.10-plugins-ugly
        

        However, it seems that that package is no longer available. Do you know where I can find a current version of the ugly plugins?

        Hoyt

        P.S. Thanks for helping me again!

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

          Did you already install all the other plugin packages ?

          In any case, why not upgrade to Qt 5.9.1 ? It uses GStreamer 1.0 by default.

          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
          • H Offline
            H Offline
            Hoyt
            wrote on last edited by
            #5

            I think that upgrading is a very good suggestion. I will do so.

            Thanks again SGaist.

            hf

            1 Reply Last reply
            0
            • H Offline
              H Offline
              Hoyt
              wrote on last edited by
              #6

              SGaist,

              I just learned that my target platform does not currently support Qt 5.9. Thus, I am still in need of a method of loading gstreamer0.10 ugly plugins on to a ubuntu derivative platform.

              Hoyt

              1 Reply Last reply
              0
              • H Offline
                H Offline
                Hoyt
                wrote on last edited by
                #7

                From various websites, including a post from SGaist, Qt 5.8 uses gstreamer 1.0 not 0.10. I have rebuilt my target machine and loaded gstreamer 1.0 via

                 sudo apt-get install gstreamer1.0
                

                This command installs the gstreamer plugins also.

                However, I am still having the identical error when trying to play a video.

                 Warning: No decoder available for type 'audio/x-m4a'
                 Error: Your GStreamer installation is missing a plug-in.
                

                Thus, I am still in need of assistance.

                Hoyt

                1 Reply Last reply
                0
                • H Offline
                  H Offline
                  Hoyt
                  wrote on last edited by
                  #8

                  Group,

                  At least one way of solving the problem for Qt 5.8 and a ubuntu 16.04 derivative target is by the following commands:

                    i)	sudo apt-get install gstreamer1.0-plugins
                    ii)	sudo apt-get install gstreamer1.0-libav
                  

                  Hoyt

                  1 Reply Last reply
                  1

                  • Login

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