Hmm I guess you are right, but in the case of libvlc it doesn't really accepting a QImage or some other widget, all libvlc requiring is winId of a qwidget..
So I'd better searching for another multimedia lib, maybe gstreamer?
Hmm I guess you are right, but in the case of libvlc it doesn't really accepting a QImage or some other widget, all libvlc requiring is winId of a qwidget..
So I'd better searching for another multimedia lib, maybe gstreamer?
Why not simply use QtMultimedia module?
as far as I know QtMultimedia is part of QtMobility? and again is it ready for every day playing tasks?
And last time I checked it wasn't compiling on my ubuntu 9 linux box
No, it's a regular Qt module.
In your case it should be sufficient. For more highlevel things Phonon is still more appropriate.and again is it ready for every day playing tasks?
Compiles ok on my Linux box.And last time I checked it wasn't compiling on my ubuntu 9 linux box
Thanks for pointing out, I didn't know about QtMultimedia,
I have another question by using QtMultimedia and other modules what does it take to decode a udp stream on the local network
I mean when I use vlc module in my application I simply give vlc my url like udp://@__someipadd:1234 and vlc starts to decode stream
If I use QtMultimedia I guess I will have to handle network stram in my application bu using network module, since QtMultimedia seems very low level?
Unfortunately I don't know that, that could be true, yes. I've never actually used QtMultimedia myself. It could even be that QtMultimedia is not capable of decoding frames itself (at least I can't find any classes for this). If it's not fit for your task then maybe you'll have more luck with Phonon.
If all you are after is video and not audio then some time ago I managed to use libavformat/libavcodec for decoding video. If you combine it with QtMultimedia, you should get a nice video playback. I didn't invest enough time to get sound working but maybe all you need is to interconnect the audio stream with QAudioOutput.
Bookmarks