PDA

View Full Version : RTSP support in Qt



keyur259
8th February 2010, 05:17
Does Qt Support RTSP?

If yes, then can someone post a few lines of code to play video?

high_flyer
9th February 2010, 09:11
The Phonon module is relatively new in Qt, and AFAIK it does not support RTSP. yet.
Basically you can playback few widely supported formats, such as MP3 files.
It has the building blocks to extend in order to support it though, not sure if its worth the energy though, since you can use other available ready libs.
Have a look at the Phonon docs.
http://doc.trolltech.com/4.6/phonon-overview.html

keyur259
9th February 2010, 09:15
Ok... thanks for your quick reply. will look into it. And if find any solution will post too.

momoftwo
19th April 2010, 19:27
keyur259, Did you find a solution to this? I am using Phonon to play back video files, but when I provide an rtsp url as the media source, I get an error, "Can not open file for read or write". I'm using Qt 4.6 on Fedora.

keyur259
20th April 2010, 06:17
Nopes.. I haven't found any solution.