DirectShow 和mediaplayer的关系?

bbisky 2007-11-21 10:38:49
最近学习Directshow编程,写了个测试程序,播放mms://流媒体,发现在xp下没有问题,但在vista或者xp装了mediaplayer11后,用directshow写的程序不能播放mms://协议的流媒体了? directshow跟mediaplayer是什么关系?已知mediaplayer11不支持mms,难道directshow依赖mediaplayer吗? 请高手帮忙,在线等 !
...全文
310 7 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
momoFresh 2007-11-21
  • 打赏
  • 举报
回复
具体地址:
http://support.microsoft.com/kb/932756/en-us
momoFresh 2007-11-21
  • 打赏
  • 举报
回复
刚刚在MSDN上查到的:

Windows Media Services 4.1 supports only the Microsoft Media Server (MMS) protocol and the Hypertext Transfer Protocol (HTTP) protocol. Windows Media Player 9 adds support for the Real Time Streaming Protocol (RTSP) protocol. However, support for the MMS protocol began to be deprecated in Windows Media Player 9. Windows Media Player 11 does not support the MMS protocol. Therefore, if the HTTP protocol is not enabled on the Windows Media Services 4.1 server, Windows Media Player 11 cannot connect to the server.

希望对你有帮助。
momoFresh 2007-11-21
  • 打赏
  • 举报
回复
刚刚在msdn上找到的

Windows Media Services 4.1 supports only the Microsoft Media Server (MMS) protocol and the Hypertext Transfer Protocol (HTTP) protocol. Windows Media Player 9 adds support for the Real Time Streaming Protocol (RTSP) protocol. However, support for the MMS protocol began to be deprecated in Windows Media Player 9. Windows Media Player 11 does not support the MMS protocol. Therefore, if the HTTP protocol is not enabled on the Windows Media Services 4.1 server, Windows Media Player 11 cannot connect to the server.

希望对你有帮助。
momoFresh 2007-11-21
  • 打赏
  • 举报
回复
你写的是类似player这一层的程序吧,刚开始还以为是filter,呵呵。
你用的是系统自带的那些filter来播放么?如果是的话,可能是在安装mediaPlayer11时,filter有了更改。

没有写过app,帮你分析一下。
bbisky 2007-11-21
  • 打赏
  • 举报
回复
我就是写了个很简单的dshow程序,就用来试着播放了下流媒体,发现了这个问题。
dshow不依赖mediaplayer的话,为什么装了mp11后,dshow不能render mms协议的流了?还是mp11装了以后禁用了某些东西?
momoFresh 2007-11-21
  • 打赏
  • 举报
回复
我没有在PC上做过mediaplayer的filter。
前提mediaplayer11如果仍支持dshow架构的filter的话,很有可能是新版本的注册表项有了更改,你写的是source filter么?
如果是的话,调试一下,看有没有调用到你的filter。

我理解的mediaplayer就是一个filter graph的app,和graphedit一样。

dshow不依赖mediaplayer,自己写player也可以使用dshow架构的filter。
bbisky 2007-11-21
  • 打赏
  • 举报
回复
楼上的大侠,是不是说服务器上打开了http 协议支持后,就会自动转用http协议来传送?

2,553

社区成员

发帖
与我相关
我的任务
社区描述
专题开发/技术/项目 多媒体/流媒体开发
社区管理员
  • 多媒体/流媒体开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧