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



  • 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!


  • Moderators

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


  • Lifetime Qt Champion

    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



Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.