Mike Wasson's Blog
About Media Foundation, DirectShow, and related topics
Browse by Tags
All Tags
»
DirectShow
(RSS)
Media Foundation
Windows SDK
Why won't the VMRPlayer sample play WMV files?
09 July 08 01:43 PM
Depending which version of the SDK you have, if you try to play a WMV file using the VMRPlayer sample, you'll get a message box that says Windows Media files (ASF,WMA,WMV) are not supported by this application And some stuff about a "key provider" and
Read More...
Video Test Source Filter
21 April 08 12:32 AM
On MSDN Code Gallery, I have posted a DirectSow source filter that generates video in various formats (RGB and YUV). Originally I wrote this filter in order to pass test video content to the EVR. You can configure the format, including interlacing and
Read More...
What is strmbasedu.lib and where did it go?
07 March 08 08:23 AM
Recently I was asked the following (paraphrased): I am trying to build a DirectShow project which I inherited. I get this error: "fatal error LNK1104: cannot open file 'strmbasdU.lib". I am able to build strmbase.lib and strmbasd.lib. What is strmbasdu.lib?
Read More...
Windows SDK for Windows Server 2008
07 February 08 02:13 AM
The Windows SDK for Windows Server 2008 is now available for download . This release contains several new samples for Media Foundation plus one new DirectShow sample. New Media Foundation samples : ASF Parser EVR Presenter MFPlayer Audio MFT MPEG-1 Source
Read More...
Async Filter Sample
24 January 08 08:47 PM
I've been looking at the "Async" filter sample for DirectShow, which shows how to implement IAsyncReader. The sample is an odd combination of useful and not-so-useful code. (Or maybe that's not so odd in an SDK sample.) Alessandro Angeli, one of the DirectShow
Read More...
DirectShow Helper Functions
14 December 07 02:40 PM
If you do anything more complicated in DirectShow than call RenderFile , you generally end up writing graph-walking code. (Find this pin on this filter, connect it to that pin on that filter.) The DirectShow samples in the Windows SDK include some helper
Read More...
Interlace flags in DirectShow
16 November 07 10:44 AM
Recently I was working on a project that involves generating interlaced video and noticed this statement in the documentation for the VIDEOINFOHEADER structure: " AMINTERLACE_Field1First : Field 1 is first. If this flag is absent, field 2 is first. (The
Read More...
GraphEdit and Windows SDK for Windows Server 2008 RC0
30 October 07 01:01 PM
If you install RC0 of Windows SDK for Windows Server 2008 , you may notice that GraphEdit.exe is missing. This is a known issue that wasn't corrected in time for RC0. There is no plan to remove GraphEdit from the SDK, and I fully expect it to be restored
Read More...
ValidateBitmapInfoHeader
18 October 07 01:03 PM
In the Windows SDK for Vista, the DirectShow base classes have a useful little function named ValidateBitmapInfoHeader . BOOL ValidateBitmapInfoHeader(const BITMAPINFOHEADER * pbmi , DWORD cbSize ) This function checks a BITMAPINFOHEADER structure for
Read More...
Custom filter interfaces
14 August 07 07:45 PM
Recently I was asked this question: [Paraphrased] I have written a filter, and the filter has only one pin. This pin has some members, which I want to set or get through the filter interface. However, the pin is inherited from CSourceStream and CSourceSeeking.
Read More...
DirectShow in the Windows SDK for Vista
05 February 07 02:03 PM
The Windows SDK for Vista fixes some of the issues with the DirectShow samples that I've posted about previously. In particular, the samples were updated for Visual Studio 2005, and now include Visual Studio project files instead of makefiles. You can
Read More...
Some DirectShow Samples Break in Visual Studio 2005
23 May 05 01:13 PM
[Note: This post applies to the Platform SDK for Windows Server 2003 SP1 and Server 2003 R2. These issues were fixed in the Windows SDK for Vista.] Some of the DirectShow samples break if you install Visual Studio 2005 Beta 2. Most of the errors that
Read More...
DirectShow is now in the PSDK
02 May 05 02:03 PM
DirectShow is now available in the Platform SDK. You can download the PSDK for Windows Server 2003 SP1 here: http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en Some release notes: You will
Read More...
USB Video: Did you know...
22 April 05 01:12 PM
.... that Windows XP Service Pack 2 supports USB video devices? For DirectShow applications, the USB video class driver works very much like the IEEE 1394 driver, msdv.sys, but there are some differences. You can read more here: Working with USB DV Video
Read More...
What happened to DirectShow?
11 April 05 11:47 AM
You may have noticed that DirectShow was not included in the April 2005 update of the DirectX SDK. That's because DirectShow is moving to the Platform SDK, starting with the Platform SDK for Windows Server 2003 Service Pack 1, which should be available
Read More...
This Blog
Home
Links
Tags
DirectShow
DirectX Graphics
Media Foundation
MSDN
Other
Windows 7
Windows SDK
Archives
September 2009 (1)
May 2009 (1)
March 2009 (1)
February 2009 (1)
January 2009 (3)
July 2008 (1)
April 2008 (1)
March 2008 (2)
February 2008 (2)
January 2008 (2)
December 2007 (2)
November 2007 (1)
October 2007 (2)
August 2007 (1)
February 2007 (1)
October 2006 (1)
May 2005 (3)
April 2005 (2)
December 2004 (1)
Syndication
RSS 2.0
Atom 1.0