在Windows 8上获取DirectShow示例 [英] Getting DirectShow Samples on Windows 8

查看:71
本文介绍了在Windows 8上获取DirectShow示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为Windows 8创建一个虚拟网络摄像头,我有两个选择:DirectShow或Microsoft Media Foundation。环顾四周后,我发现DirectShow具有更多示例,即使在Stackoverflow上,它也被推荐使用MMF。因此,我想开始使用一些示例,为此,我需要strmbase.dll,我需要从DirectShow示例的BaseClass示例进行编译。



但是在Windows 8上获取样本似乎是不可能的。根据页面,它应该是Windows 8 SDK的一部分,但是此页面已完全安装,并且在我的计算机上的任何位置都没有以baseclass命名的文件夹。它也是Windows 7 SDK的一部分,但这拒绝安装。我还读到它应该是DirectX SDK的一部分,但是据MS称,它已经包含在Windows 8 SDK中,因此DirectX SDK拒绝安装。



如何在Windows 8上安装DirectShow示例?

解决方案

我得到了它们,但这是一个肮脏的把戏: / p>

下载Win 7 SDK ISO ,解压缩,进入WinSDKSamples_amd64文件夹并运行安装程序。现在,所有Win 7 SDK样本都将安装到C:\Program Files\Microsoft SDKs\Windows\v7.1。


I want to create a Virtual Webcam for Windows 8 and I have two choices: DirectShow or Microsoft Media Foundation. After some looking around I found out that DirectShow has much more exmples and even here on Stackoverflow it gets recommended over MMF. So I want to get started with some examples and for this I need strmbase.dll, which I need to compile myself from the BaseClass sample of the DirectShow samples.

But getting the samples seems freaking impossible on Windows 8. According to this page it should be a part of Windows 8 SDK, but this is fully installed and no folder by the name of baseclass exists anywhere on my computer. It is also part of Windows 7 sdk, but this refuses to install. I also read that it should be part of DirectX SDK, but this has, according to MS, been included into Windows 8 SDK, and thus the DirectX SDK refuses to install.

How do I install the DirectShow samples on Windows 8?

解决方案

I got them, but it was through a dirty trick:

Download the Win 7 SDK ISO, extract it, go into the WinSDKSamples_amd64 folder and run the installer. All Win 7 SDK samples will now be installed to C:\Program Files\Microsoft SDKs\Windows\v7.1.

这篇关于在Windows 8上获取DirectShow示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆