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.
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.
发布评论
评论(3)
Live555 在这个主题上有一些非常有用的库。
Live555 has some very useful libraries on this subject.
查看 Phonon,QT 多媒体框架。
Checkout Phonon, multimedia framework for QT.
最无缝的方法是使用声子。
如果您使用的是 Windows,Phonon 使用 DirectShow 作为后端。要利用此功能,您需要一个 RTSP DirectShow 源过滤器,您可以在 Windows 中注册该过滤器。有商业可用的项目和一些开源项目可能满足您的需求。
例如,
http://sourceforge.net/projects/rtspdirectshow
一个好的经验法则是您是否可以播放它在Windows Media Player(mplayer2.exe、wmplayer.exe)中,您可以使用Phonon 来播放它。目前,您无法在 WMP 或 Phonon 中播放包含“rtsp://”的 URL,因为没有安装支持 RTSP 的 DirectShow 源过滤器。
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.