PDA

View Full Version : Playing video in Qt



SiddhantR
27th June 2013, 07:02
Hi,

I will be playing video on button click in my GUI. Most probably I will be trying with Phonon as the widget in examples is not working. This is the first time Qt has been installed on my Linux system. Can anyone tell me which all codecs I need to download. I will be playing movies in avi,mpeg4,flv....

Thank You

sonulohani
27th June 2013, 13:43
Check for the codecs installed on your linux system. In linux you need to install gstreamer for playing video in qt. For installing gstreamer type this command:-

apt-get install gstreamer0.10-alsa or install it using synaptic manager.

SiddhantR
1st July 2013, 09:27
Hey thanks for the reply. The above command doesnt work. Anyways that is not a major issue I will get the gstreamer installed somehow. Can you tell me is it suggested to use Phonon as I read somewhere that QtMultimediaKit will be more in use. However I am not able to run the example given by them as it keeps giving silly error.
Can you just help me out with this.

And yeah Heavy Metal Rules \m/ :)