Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, April 2008
doubts about avi playback using Qt


Message 1 in thread

i am using Qt version without phonon multimedia framework.
to playback an avi file, is it possible to write a slot that calls the required library to playback?
if so, give some idea plz .. explain quite about it plz ..

regards
madhan kumar.R
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

Contact your Administrator for further information.


Message 2 in thread

madhan kumar wrote:
> i am using Qt version without phonon multimedia framework.
> to playback an avi file, is it possible to write a slot that calls the required library to playback?
> if so, give some idea plz .. explain quite about it plz ..

If you are not using Phonon, then you can try to use an external player.
I'm using MPlayer for such purposes but it's quite complicated (at least
for me) to get it "integrated" in your app. I had to develop a custom
widget for displaying avi files, then a custom qprocess class to set up
and invoke mplayer and so on... If you'd be satisfied with such a
solution you could check qdvdautor.sf.net and the QXineWidget and
QMplayerWidget classes to get a look on how it could be done. For me
they were not "enough"...

But since Phonon is there and it provides a great interface to
communicate with backends and there will be probably some more of them
you should consider using it and not to reinvent the wheel. :)


--
 [ signature omitted ]