Windows Media Player does not negotiate media types for DMO DSP plug-ins on Vista

Here is an interesting issue I ran across writing Windows Media Player (WMP) custom DSP plug-ins. When I am prototyping a new filter or plug-in for DirectShow or WMP, I will usually write my transform’s algorithm using a single format / media type. Once I have the algorithm working with this single media type I’ll…

1

Using the WM Encoder to Protect Existing Content with WM DRM

One of the things that a lot of DRM savvy CDNs are doing is to use WM Encoder to add WM DRM to their content without actually re-encoding. This is basically a copy operation from the input file (WMV) to an output file (WMV). The samples are never decompressed but rather passed directly through the…

0

WMRM SDK 10.1.2 best practice sample code

I wrote this sample code a while back to show how to validate the latest individualization version when using predelivery. Here are a few tricks that you need to do to make this work. Namely, you need to parse the “ClientInfo” XML fragment the hard way. This sample code shows you how to do just…

1

Custom DirectShow Audio Renderer hangs playback in Windows Media Player 11

If you write your own DirectShow based Audio Renderer and want it to work inside WM Player 11 don’t derive it from CBaseRenderer. If you use CBaseRenderer, A/V playback in WM Player may hang. Unfortunately it doesn’t hang all the time. The hang usually manifests after seeking. So at first glance everything is working fine…

0

WM Format SDK DRM returns NS_E_DRM_LICENSE_NOTACQUIRED when license is delivered

I ran into an issue using the WM Format SDK DRM Stub Library the other day. When we were trying to decode and playback some DRM encrypted files we saw a “NS_E_DRM_LICENSE_NOTACQUIRED” error when using the “Audio Player” sample SDK application. The issue only occurred from certain license providers. The WM Player application did not…

0

Windows Media Encoder 9 (SDK) Limitations and Support

There are a few limitations to the supportability of the Windows Media Encoder 9 series application and SDK. Microsoft has extended support for this product for the next year or so. Hopefully if you are reading this you are aware of the next generation of the Encoder named the Expression Encoder. We are now on…

0

Unexpected Windows Media Encoder shutdown / crash while encoding

I found an interesting problem when dynamically changing the input format of the WM Encoder while encoding. In other words if you are capturing from a single digital capture card and the card can change the input resolution dynamically then WM Encoder may behave strangely, shutdown or crash. The problem appears to be that the…

0

When playing back a DV encoded AVI file, what does the AVI Splitter do when it detects a zero byte sample (zero byte index) from the Async File Source?

Q. When playing back a DV encoded AVI file, what does the AVI Splitter do when it detects a zero byte sample (zero byte index) from the Async File Source? A. From what I see in the code the AVI Splitter doesn’t do anything when it detects a zero byte sample. It appears to drop…

0

When NTSC (29.97 interlaced) video is being fed to the VMR9 with a custom allocator/presenter, PresentImage is being called 60 times per second. You expect 30 times per second.

Q. When NTSC (29.97 interlaced) video is being fed to the VMR9 with a custom allocator/presenter, PresentImage is being called 60 times per second.  You expect 30 times per second. A. This is by design depending on the type of deinterlacing that you are using. I worked with the developer that wrote the deinterlacing code…

0