Error while using Qt5 mediator

need your help like in Im using qt5 and it has a built in sample media player, so when playing the sample video with H.264 codec I get the error:

Warning: "There is no decoder available for type" video / x-h264, stream-format = (string) avc, alignment = (string) au, level = (string) 3.1, profile = (string) main, codec_data = (buffer ) 014d401fffe10023674d401f967200800936028100000e100002bf203460016e40016e45ef7c1e1108a24001000468de3c80, width = (int) 1024, height = (int) 576, frame rate = (fraction) 25/1, pixel aspect ratio = (fraction) 1/1 '. "

g-streamer is available on my Ubuntu 14.04

So, are there any suggestions?

+3


source to share


2 answers


On Ubuntu, an additional repository is needed to decode the video correctly. try this, it works for me:



sudo add-apt-repository ppa:mc3man/trusty
sudo apt-get update
sudo apt-get install gstreamer1.0-libav
sudo apt-get install gstreamer0.10-ffmpeg

      

+2


source


The solution for me was simple:



sudo apt install ubuntu-restricted-extras

      

+1


source







All Articles