<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Bird's Bits &#187; DirectShow</title>
	<atom:link href="http://birdsbits.wordpress.com/category/microsoft-sdks/directshow/feed/" rel="self" type="application/rss+xml" />
	<link>http://birdsbits.wordpress.com</link>
	<description>Computers, programming, and the internet</description>
	<lastBuildDate>Mon, 17 Sep 2007 23:46:23 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='birdsbits.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/f888b700e58174bcc738d7d031bd3345?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Bird's Bits &#187; DirectShow</title>
		<link>http://birdsbits.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://birdsbits.wordpress.com/osd.xml" title="Bird&#8217;s Bits" />
		<item>
		<title>The Windows USB video class driver</title>
		<link>http://birdsbits.wordpress.com/2007/07/24/the-windows-usb-class-driver/</link>
		<comments>http://birdsbits.wordpress.com/2007/07/24/the-windows-usb-class-driver/#comments</comments>
		<pubDate>Tue, 24 Jul 2007 01:56:46 +0000</pubDate>
		<dc:creator>Bahrom</dc:creator>
				<category><![CDATA[DirectShow]]></category>
		<category><![CDATA[Driver]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[USB]]></category>
		<category><![CDATA[Windows Driver Kit]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://birdsbits.wordpress.com/2007/07/24/the-windows-usb-class-driver/</guid>
		<description><![CDATA[In 2003, Microsoft added a standard USB video class (UVC) driver, Usbvideo.sys, to Windows XP as part of SP2. It is also included in all installations of Windows Server 2003 and Vista. This means that if you have a webcam or other video device that has a USB device driver that conforms to the USB video [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=birdsbits.wordpress.com&blog=1359850&post=14&subd=birdsbits&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In 2003, Microsoft added a standard USB video class (UVC) driver, <em>Usbvideo.sys,</em> to Windows XP as part of SP2. It is also included in all installations of Windows Server 2003 and Vista. This means that if you have a webcam or other video device that has a USB device driver that conforms to the USB video class specification, you can just plug it into your computer and it will work! No driver installation necessary. Any video device that has the &#8220;Designed for Windows Vista&#8221; logo must have a UVC compliant driver. The really cool thing about the UVC driver is that it is not just provided on Windows, but also on Linux and Mac OS-X, so a video device that complies with this spec will work anywhere!<span id="more-14"></span></p>
<p><strong>Documentation for the Microsoft UVC driver</strong></p>
<p>A description of functions supported by Microsoft&#8217;s UVC driver (from a system administrator&#8217;s perspective). Can be found here: <a target="_blank" href="http://support.microsoft.com/kb/828756">Availability of the USB video class driver for Windows XP</a></p>
<p>An updated driver that allows UVC-compliant cameras to render DV data from the host PC back to the device, and capture MPEG2 TS data from the device to the host PC can be downloaded here: <a target="_blank" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=A1DECD8D-F955-4767-B372-D30DD6AD3194&amp;displaylang=en">Update for USB Video Class (UVC) driver in Windows XP Home and Professional with Service Pack 2</a></p>
<p>Specifications for USB classes, including UVC, are available on the USB Implementer&#8217;s forum at: <a target="_blank" href="http://www.usb.org/developers/devclass_docs#approved">Approved Class Specification Documents</a></p>
<p>The main programming documentation for the UVC driver is in the online MSDN library under: &#8220;Win32 and COM development &#8211; Windows Driver Kit &#8211; Device and Driver Technologies &#8211; Streaming Media &#8211; Design Guide &#8211; AVStream Minidrivers &#8211; USB Video Class Driver&#8221;. URL: <a target="_blank" href="http://msdn2.microsoft.com/En-US/library/ms803117.aspx">Windows Driver Kit: Streaming Media Devices: USB Video Class Driver</a></p>
<p>(The above documentation is part of the Windows Driver Kit (WDK). This documentation is not included in the Windows SDK docs or in the MSDN Library for VS2005. You can download the documentation for the WDK from this page: <a target="_blank" href="http://www.microsoft.com/whdc/DevTools/WDK/WDKdocs.mspx">Windows Driver Kit (WDK) Documentation</a>)</p>
<p><strong>Programming interfaces for the UVC driver</strong></p>
<p>A Windows application can access the UVC driver via Microsoft DriectShow (<a target="_blank" href="http://msdn2.microsoft.com/en-us/library/ms783323.aspx">Microsoft DirectShow 9.0</a>), or via the kernel stream (also known as AVStream) interface, <em>ks.sys</em> (<a target="_blank" href="http://msdn2.microsoft.com/En-US/library/ms803077.aspx">Windows Driver Kit: Streaming Media Devices: Kernel Streaming</a>). Note that the MS UVC driver is a type of AVStream Minidriver. AVStream Minidrivers (<a target="_blank" href="http://msdn2.microsoft.com/en-us/library/ms802464.aspx">Windows Driver Kit: Streaming Media Devices : AVStream Overview</a>) conform to the Windows Driver Model (WDM) (<a target="_blank" href="http://msdn2.microsoft.com/en-us/library/aa490246.aspx">Windows Driver Kit: Kernel-Mode Driver Architecture: Introduction to WDM),</a> and WDM drivers are kernel mode drivers.</p>
<p><strong>Next Post: Writing an application that uses the Microsoft UVC driver</strong></p>
<p>I would like to write a video capture program for my Logitech web cam with a UVC driver. This camera has a button on the top that allows a user to snap a still picture, so I would like to be able to capture both video as well as still images. In addition, I want to use the bulk transfer USB mode so that my image transfer will be error free. This means I want to use UVC still image transfer method 3.</p>
<p>I was able to use graphedit.exe, one of the tools in the <a target="_blank" href="http://msdn2.microsoft.com/en-us/library/aa469207.aspx">tools in the Windows driver kit</a>, to connect the camera driver&#8217;s video pin to a video rendering filter and the still pin to another video rendering filter which allowed me to alternately capture video or still images running the filter graph in graphedit- Cool! But, I couldn&#8217;t find any properties on the still pin to tell me which still image capture method was being used.</p>
<p>I used both UVCView.exe and KsStudio.exe provided by the WDK for <a target="_blank" href="http://msdn2.microsoft.com/en-us/library/aa906848.aspx">AVStream Testing and Debugging</a> to see if I could determine what still image capture method, or what USB transfer mode was being used, but to no avail. I couldn&#8217;t figure out how to decipher the descriptors reported by UVCView, and I couldn&#8217;t find a property related to still image transfer methods in any of the KsStudio filters that are related to USB video capture.</p>
<p>I don&#8217;t know whether still image transfer mode is a property of the MS UVC that can be set by an application, or is &#8220;hard wired&#8221; in the MS UVC implementation, or is hard wired in the device (the camera&#8217;s) UVC driver implementation. If anyone can shed some light on these questions I would be quite appreciative!</p>
<p>8/7/07 Update:  I&#8217;ve been told that the MS UVC driver will support still image transfer via a bulk pipe, but the firmware in the camera device needs to implement the bulk pipe, it&#8217;s not something that is determined by the application using the UVC driver.</p>
<p>This project to write an app that captures video from the UVC driver is on hold. My priorities have shifted elsewhere for now.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/birdsbits.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/birdsbits.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/birdsbits.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/birdsbits.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/birdsbits.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/birdsbits.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/birdsbits.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/birdsbits.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/birdsbits.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/birdsbits.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/birdsbits.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/birdsbits.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=birdsbits.wordpress.com&blog=1359850&post=14&subd=birdsbits&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://birdsbits.wordpress.com/2007/07/24/the-windows-usb-class-driver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/833fe95e886649b01bdb5b4851163f75?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Bahrom</media:title>
		</media:content>
	</item>
		<item>
		<title>How to compile AMCap</title>
		<link>http://birdsbits.wordpress.com/2007/07/20/how-to-compile-amcap/</link>
		<comments>http://birdsbits.wordpress.com/2007/07/20/how-to-compile-amcap/#comments</comments>
		<pubDate>Fri, 20 Jul 2007 16:53:15 +0000</pubDate>
		<dc:creator>Bahrom</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[DirectShow]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows SDK]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://birdsbits.wordpress.com/2007/07/20/how-to-compile-amcap/</guid>
		<description><![CDATA[The DirectShow SDK (now part of the Windows SDK) includes a sample application called AMCap (Active Movie Capture) that illustrates the use of DirectShow filters to capture video from a device like a webcam or camcorder. I had all kinds of trouble the first few times I tried to build this, so I documented the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=birdsbits.wordpress.com&blog=1359850&post=13&subd=birdsbits&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The DirectShow SDK (now part of the Windows SDK) includes a sample application called AMCap (Active Movie Capture) that illustrates the use of DirectShow filters to capture video from a device like a webcam or camcorder. I had all kinds of trouble the first few times I tried to build this, so I documented the steps for a successful build. Here they are:</p>
<p>These are the steps I followed to successfully build and run AMCap. I used Visual Studio 2005 Professional edition, SP1 for Vista, running on Windows Vista Business version . Note: the paths I have listed are the default installation paths and may be different on your computer.</p>
<p><span id="more-13"></span></p>
<p><strong>A. Install the Windows SDK</strong></p>
<p>1. Download and install the <a target="_blank" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=4377f86d-c913-4b5c-b87e-ef72e5b4e065&amp;DisplayLang=en">Windows SDK</a></p>
<p>2. Run &#8221;Integrate Windows SDK with Visual Studio&#8221; from the &#8220;Visual Studio Registration&#8221; folder under &#8220;Windows SDK programs&#8221; on the start menu.</p>
<p>3. Reboot the computer.</p>
<p><strong>B. Build the DirectShow base classes</strong></p>
<p>1. Open the BaseClasses c++ solution (baseclasses.sln) using VS2005. The source code for the base classes is located in C:\Program Files\Microsoft SDKs\Windows\v6.0\Samples\Multimedia\DirectShow\BaseClasses.</p>
<p>2. Set the active configuration to &#8220;debug&#8221;</p>
<p>3. Build the solution.</p>
<p><strong>C. Build AmCap</strong></p>
<p>1. Open the solution.</p>
<p>2. Add the DirectShow include directory to the project properties under: &#8220;Property Pages - Configuration properties &#8211; C/C++ &#8211; General&#8221;. The path is: C:\Program Files\Microsoft SDKs\Windows\v6.0\Samples\Multimedia\DirectShow\Common</p>
<p>3. Add the path to the DirectShow base classes directory to the project properties. The path is: C:\Program Files\Microsoft SDKs\Windows\v6.0\Samples\Multimedia\DirectShow\BaseClasses\Debug</p>
<p>2. Build the solution.</p>
<p>3. Run it!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/birdsbits.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/birdsbits.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/birdsbits.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/birdsbits.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/birdsbits.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/birdsbits.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/birdsbits.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/birdsbits.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/birdsbits.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/birdsbits.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/birdsbits.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/birdsbits.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=birdsbits.wordpress.com&blog=1359850&post=13&subd=birdsbits&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://birdsbits.wordpress.com/2007/07/20/how-to-compile-amcap/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/833fe95e886649b01bdb5b4851163f75?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Bahrom</media:title>
		</media:content>
	</item>
		<item>
		<title>Directshow SDK Installation Steps « fungileo.com</title>
		<link>http://birdsbits.wordpress.com/2007/07/18/directshow-sdk-installation-steps-fungileocom/</link>
		<comments>http://birdsbits.wordpress.com/2007/07/18/directshow-sdk-installation-steps-fungileocom/#comments</comments>
		<pubDate>Wed, 18 Jul 2007 23:46:47 +0000</pubDate>
		<dc:creator>Bahrom</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[DirectShow]]></category>
		<category><![CDATA[Microsoft SDKs]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://birdsbits.wordpress.com/2007/07/18/directshow-sdk-installation-steps-fungileocom/</guid>
		<description><![CDATA[Here&#8217;s a helpful post at fungileo.com that explains how to install the DirectShow SDK. 
This article explains the steps needed to successfully installing DirectShow SDK into Microsoft Windows on the desktop. It guides you all the way from obtaining and installing the required SDKs, to configuring the environment, and finally, building a DirectShow application to verify the installation [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=birdsbits.wordpress.com&blog=1359850&post=12&subd=birdsbits&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here&#8217;s a helpful post at <a target="_blank" href="http://www.fungileo.com/" title="This blog will open in a new window.">fungileo.com</a> that explains how to install the DirectShow SDK.<strong> </strong></p>
<blockquote><p><a target="_blank" href="http://www.fungileo.com/?p=4" title="This blog post will open in a new window.">This article </a>explains the steps needed to successfully installing DirectShow SDK into Microsoft Windows on the desktop. It guides you all the way from obtaining and installing the required SDKs, to configuring the environment, and finally, building a DirectShow application to verify the installation of the SDK.</p></blockquote>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/birdsbits.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/birdsbits.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/birdsbits.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/birdsbits.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/birdsbits.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/birdsbits.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/birdsbits.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/birdsbits.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/birdsbits.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/birdsbits.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/birdsbits.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/birdsbits.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=birdsbits.wordpress.com&blog=1359850&post=12&subd=birdsbits&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://birdsbits.wordpress.com/2007/07/18/directshow-sdk-installation-steps-fungileocom/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/833fe95e886649b01bdb5b4851163f75?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Bahrom</media:title>
		</media:content>
	</item>
	</channel>
</rss>