大家好,今天小编关注到一个比较有意思的话题,就是关于directshow的问题,于是小编就整理了2个相关介绍directshow的解答,让我们一起看看吧。
MediaFoundation与directShow的具体差别有哪些?
DirectShow是微软公司在ActiveMovie和Video for Windows的基础上推出的新一代基于COM(Component Object Model)的流媒体处理的开发包,与DirectX开发包一起发布。DirectShow使用一种叫Filter Graph的模型来管理整个数据流的处理过程,运用DirectShow,我们可以很方便地从支持WDM驱动模型的采集卡上捕获数据,并且进行相应的后期处理乃至存储到文件中。这样使在多媒体数据库管理系统(MDBMS)中多媒体数据的存取变得更加方便。它广泛地支持各种媒体格式,包括Asf、Mpeg、Avi、Dv、Mp3、Wave等,为多媒体流的捕捉和回放提供了强有力的支持。 Media Foundation是微软所推出新一代的 COM-based 多媒体应用平台,用来替代 DirectShow, Windows Media SDK, DirectX Media Objects (DMOs)等,并即将在 Vista上展现其影响。 目前版本在Windows Vista中,主要侧重于音频和视频播放的质量,高清晰度的内容(如HDTV, 高清晰度电视),内容保护和更统一的方式对数字数据的访问控制的数字版权管理(DRM)和它的互操作性。 简单的来说,dshow是早起的微软的产品,mf是比较新的,而且专注于vista和win7的。出来mf是为了替代dshow的,就像dshow来替代vdw一样。dshow利用filter开发,个人感觉比较复杂,mf没用过。
directshow为什么不更新了?
1. 因为directshow所使用的代码有10年之久了,微软考虑也可以重写了。
2. directshow框架有些不能适应新的应用要求,比如开发filter略显复杂,filter不能脱离filter graph重用,动态构建filter graph比较麻烦、欠缺根本上的媒体内容保护等。微软需要提供一套新的东西来满足新的应用要求。
目前,media foundation仍然在开发过程中,主要用在vista上的媒体内容保护方面。很多功能他还没有实现,因此目前来说他还不可能替代directshow。但随着微软在投资方面的倾斜,2008年以后就不是这样了...
到此,以上就是小编对于directshow的问题就介绍到这了,希望介绍关于directshow的2点解答对大家有用。