views:

464

answers:

4

Hello, I am trying to find a way to play in Qt 4.6 rtsp streaming, that i got from youtube api can it be done somehow?

+1  A: 

Checkout Phonon, multimedia framework for QT.

Jujjuru
it doesn't support rstp . i guess i need to combine few stuff to make it work ,but i have no idea what
Gareth Stockwell
i need it for windows XP at first and then in macwhat about JRTPLIB can i use it? with QT ? if yes how the two can be integrated ?
can someone show me example how to use it with rtsp with back end ?
+1  A: 

Live555 has some very useful libraries on this subject.

TTT
thanks , but how to implement it with QT ?
A: 

The most seamless way is to use Phonon.

If you are using Windows, Phonon uses DirectShow as the backend. To utilize this you need a RTSP DirectShow source filter, which you register in Windows. There are commercially available ones and a few open source projects that may have what you need.

For example, http://sourceforge.net/projects/rtspdirectshow

A good rule of thumb is if you can play it in Windows Media Player (mplayer2.exe, wmplayer.exe), you can play it using Phonon. Currently you would not be able to play a URL containing "rtsp://" in WMP or Phonon is because no DirectShow source filters are installed which support RTSP.

Vicken Simonian
and what about integrate Gstreamer and QT in win?is it recommended ?
Phonon uses GStreamer in Linux only I believe.http://doc.trolltech.com/4.6/phonon-overview.html#backendsThe backends of Qt use the media systems DirectShow (which requires DirectX) on Windows, QuickTime on Mac, and GStreamer on Linux.
Vicken Simonian
can you explain me how applications for example http://www.muziic.com/stream from youtube ?
A: 

Hi, I have the same task. Have you gotten your program to run? If so, how? And sorry for my English.

Paul Kreker
Hi, SO is not a forum, so this is a place for answers. You can track the question by favoriting it or starring it.You probably don't have the reputation yet to comment on the question, but just giving some advice on how to use the site.
Edison Gustavo Muenz