Unsolved Video Player in Qt
-
Hi ,
I am trying to play video in Qt but i am able to hear only audio and video is not coming and getting this warning :-
"No decoder available for type 'video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3, profile=(string)main, codec_data=(buffer)014d401effe1001a674d401ee8804217f112e022000003000200000300781e2c5a2401000468ebef20, width=(int)514, height=(int)360, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true'."Am using Ubuntu 14.04 and Qt 5.7 version
-
@Sushma_MP
most probably a missing gstream package in your system.
see QTBUG-40183 -
How to add g streamer package ...?
-
@Sushma_MP
i am not a linux expert.
This is distro specific. But look the internet for "Ubuntu gstreamer"Also read the comments of the bug report, it might be that you wont have a chance to get it running on Ubuntu 14.04 due to the missing gstreamer1.x support in QtMultimedia?
-
-
As @raven-worx says,
it looks like it will be uphill with 14.04http://askubuntu.com/questions/463976/ubuntu-14-04-64bit-gstreamer-ffmpeg-video-plugin-problem
so basically its
sudo apt-add-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get install ffmpeg gstreamer0.10-ffmpeg BILLION more packets.