开发者

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 开发者_StackOverflow中文版be done somehow?


Live555 has some very useful libraries on this subject.


Checkout Phonon, multimedia framework for QT.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜