user63898
user63898

Reputation: 30885

how to play rtsp streamming in QT

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?

Upvotes: 5

Views: 12780

Answers (3)

Vicken Simonian
Vicken Simonian

Reputation: 411

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.

Upvotes: 1

Alon Gubkin
Alon Gubkin

Reputation: 57119

Live555 has some very useful libraries on this subject.

Upvotes: 2

Jujjuru
Jujjuru

Reputation: 661

Checkout Phonon, multimedia framework for QT.

Upvotes: 2

Related Questions