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. Error: No decoder available for type 'video/x-h264
Forum Updated to NodeBB v4.3 + New Features

Error: No decoder available for type 'video/x-h264

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt5multimediagstreamergstreamer1.0
3 Posts 3 Posters 4.9k Views 2 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.
  • ArasA Offline
    ArasA Offline
    Aras
    wrote on last edited by
    #1

    I am trying to play a video in my app and getting the No decoder available for type 'video/x-h264 error. At first I thought it was my code, so I tried running some of the sample apps that come with Qt. None of the sample video apps are working for me. I have almost every gstreamer related package installed. My machine is 64bit Ubuntu 16.04. I need a solution now as I am have to demo my app tomorrow and if video is not working I have to leave it out. I though it would be trivial to get video playing with Qt. I asked this question on SO as well and provided more debugging info there, in case someone there knows what is wrong: http://stackoverflow.com/questions/39607522/no-decoder-available-for-type-video-x-h264

    Sorry for the double post, but I need an answer soon. Help please!

    jsulmJ 1 Reply Last reply
    0
    • ArasA Aras

      I am trying to play a video in my app and getting the No decoder available for type 'video/x-h264 error. At first I thought it was my code, so I tried running some of the sample apps that come with Qt. None of the sample video apps are working for me. I have almost every gstreamer related package installed. My machine is 64bit Ubuntu 16.04. I need a solution now as I am have to demo my app tomorrow and if video is not working I have to leave it out. I though it would be trivial to get video playing with Qt. I asked this question on SO as well and provided more debugging info there, in case someone there knows what is wrong: http://stackoverflow.com/questions/39607522/no-decoder-available-for-type-video-x-h264

      Sorry for the double post, but I need an answer soon. Help please!

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

      @Aras Are you able to play same video in for example VLC on same machine?

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

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

        Hi,

        Check the version of gstreamer that the plugin uses. It could be 0.1. In that case the quick and dirty way is to install that version of gstreamer with the corresponding plugin packages.

        Hope it helps

        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