Media Foundation and DirectShow tips, gotchas and code bits

This blog is dedicated to assisting fellow Software Engineers who are integrating Microsoft’s audio and video technologies into their software.

[Update: Fixed broken links] Hello again my fellow media development enthusiasts. It is that time...

Date: 05/29/2015

I posted this a while back on the MSDN Windows Phone Development forum. I think that it includes...

Date: 12/25/2014

[This is a copy of the blog post I originally wrote and published on behalf of the WSDS team. The...

Date: 10/03/2014

[This is a copy of the blog post I originally wrote and published on behalf of the WSDS team. The...

Date: 09/05/2014

One of our friends on the forum pointed out that we really don’t have any good samples on how...

Date: 06/18/2014

Hello All, I am giving a live chalk talk on October 16th for interested English speaking engineers....

Date: 10/02/2013

Please note: This post is "reprinted" from the "Managing Windows Store Developer Solutions" blog...

Date: 03/08/2013

Just a quick post to let you know that one of my friends on the forums discovered that if you are...

Date: 08/31/2012

Over the last few years I’ve worked with a number of engineers that have reported out of...

Date: 06/07/2010

The Multimedia Timer APIs (MM Timer APIs) get their high accuracy by using the Programmable...

Date: 07/02/2009

Potentially Breaking Change (IMPORTANT): Intelligent Connect adds a level of indirection on Win 7...

Date: 05/28/2009

The other day we had a major OEM report an issue with the WASAPI. In particular when they found that...

Date: 04/28/2009

We recently had an engineer report a strange exception when displaying .hta files via mshta.exe. If...

Date: 04/07/2009

A colleague of mine in Japan recently found this very interesting issue in Windows Media Player...

Date: 04/07/2009

I get this series of questions from different developers from around the world at least once a week....

Date: 04/01/2009

It looks like the 64 bit version of the Windows Media Format SDK .lib static library files are not...

Date: 03/27/2009

There are some rather interesting misunderstandings surrounding Direct Media Objects (DMO). I talked...

Date: 02/25/2009

I was talking to a DirectShow engineer the other day that was having issues rendering URLs using...

Date: 02/05/2009

When reading a stream from a location such as a media resource object, and then calling...

Date: 01/08/2009

When connecting to Windows Server 2008 through remote desktop choosing to leave the audio on the...

Date: 01/08/2009

I was in training a few weeks ago (WMS 2008 new features) and found that no matter what I did I was...

Date: 10/17/2008

Here is an interesting issue I ran across writing Windows Media Player (WMP) custom DSP plug-ins....

Date: 10/17/2008

One of the things that a lot of DRM savvy CDNs are doing is to use WM Encoder to add WM DRM to their...

Date: 10/14/2008

I wrote this sample code a while back to show how to validate the latest individualization version...

Date: 09/26/2008

I ran into an issue using the WM Format SDK DRM Stub Library the other day. When we were trying to...

Date: 09/04/2008

There are a few limitations to the supportability of the Windows Media Encoder 9 series application...

Date: 09/04/2008

I found an interesting problem when dynamically changing the input format of the WM Encoder while...

Date: 04/11/2008

Q. When playing back a DV encoded AVI file, what does the AVI Splitter do when it detects a zero...

Date: 03/25/2008

Q. When NTSC (29.97 interlaced) video is being fed to the VMR9 with a custom allocator/presenter,...

Date: 03/25/2008

UPDATE: The code referenced on this page is written in ASP / VB Script. I recently created a...

Date: 03/14/2008

I ran into an interesting issue with DirectMusic yesterday. When you use PlaySegmentEx to repeatedly...

Date: 03/13/2008

I found a bug recently in the prelicgen.asp page that has been causing pain for developers. They...

Date: 03/12/2008