Can anyone point me to example code for playing a movie using the Qt Multimedia API?
-
Hi All;
Can anyone point me to example code for playing a movie using the Qt Multimedia API? According to the articles i have been seeing Phonon is going away with the release of Qt 4.8, which could be anywhere from six month from now to a year + from now. Since it is going away i would like to get a handle on the use of the Multimedia API but try as i might i can't find any example code any. Anyone know where i can find some? Any help would be greatly appreciated.Thanks
-
I have looked at those examples and they use the QMovie class which supports animated gifs and such, but does not support opening AVI, mpg or other video files. Other then using phonon how can you display an avi, mpg or other video files?
-
http://doc.qt.nokia.com/4.6/phonon-mediasource.html#MediaSource
using phonon
Phonon.MediaSource("yourFilePath.mp4")