Categories

DirectShow学习笔记II

Windows 7 下使用Graph Edit

通常,需要使用Graph Edit查看Pin的属性,只要将Directshow SDK中的 Extras\DirectShow\Utilities\ 目录下的proppage.dll 用regsvr32.exe进行注册;

上述方法在Windows 7下同样适用。但是对于Graph Edit的Connect to remote graph功能,开发文档上指明只能在Windows 2K/XP上可以使用。在网上搜了一下,下面这段能够说明为什么Windows 7下该功能无法正常使用的原因:

In Vista, the proxy/stub code used by the "remote graph" feature was moved from quartz.dll to proppage.dll. That means, on Vista you need to register the Vista SDK version of proppage.dll. But on a pre-Vista OS, do not register that version of proppage.dll, because then you’ll get the wrong proxy/stub version.

因此,在Windows 7(包括windows vista)上,需要注册在\Microsoft SDKs\Windows\v7.0\Bin\ 目录下的proppage.dll文件。之后,就[......]

继续阅读

MPC-HC中加入自定义的Filter——学习笔记(I)

最近因为工程需要采集数据并进行实时播放,学习了一些DiretShow的相关知识,并直接在MPC-HC的源代码上进行修改。

由于还没有时间进行系统学习,只能一边看SDK,一边增加代码,因此整个过程走了不少弯路,但总算在实践中找到了一些DShow工程开发中的注意点,先在手边记录一下。

[......]

继续阅读

[...]