Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting DirectShow Samples on Windows 8

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?

like image 258
Cheiron Avatar asked Aug 31 '13 11:08

Cheiron


1 Answers

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.

like image 50
Cheiron Avatar answered Nov 12 '22 19:11

Cheiron