windows-media-foundation

Media support in WPF without Windows Media Player 10+ ?

I'm wondering if it is possible to deploy Windows Media Foundation without Windows media player 10 or 11? Here's the context. I have a WPF application running in a corporate enterprise setting. WPF requires Windows Media Foundation for rich media support. Windows Media Foundation is distributed via Windows media player 10 and 11. The co...

Media Foundation: Custom Media Source features

With IMFMediaSource and IMFByteStreamHandler I can access bytes from media source to determine media type and audio/video stream parameters, such as duration, quality, number of streams, etc. But can I replace these bytes and send them back to client? E.g. I receive zip file bytestream, extract actual media and send another bytestream wi...

Quick way to migrate DirectShow filters to Media Foundation MFTs.

Hi, I have some custom DirectShow filters (for Encoding / Deconding / Mux / Demux). and I want to use them on Media Foundation as MFTs. I have heard some people say: "Microsoft claims all DirectShow filters only have to add a few code to migrate to MFTs" acturally, I doubt there is a quick way. because the methods, APIs between DShow...

Media Foundation: another way to call IMFActivate::ShutdownObject?

Hi, Here is a question about IMFActivate::ActivateObject and IMFActivate::ShutdownObject in Media Foundation. According to MSDN, the component that calls ActivateObject is responsible for calling ShutdownObject. But there are two examples not following this rule: http://msdn.microsoft.com/en-us/library/dd388503%28VS.85%29.aspx and ...

Root include file for Media Foundation

Is there a root include file for Media Foundation?  Every time when I have to use IMFMediaSource, I have to add this to my code : #include <Mfidl.h> // for IMFMediaSource #pragma comment (lib, "Mfuuid.lib") // for IMFMediaSource And, when I have to use MFCreateAttributes, I have to add this to my ...

Microsoft Media Foundation Transform (MFT) with C#?

Does anyone know if Microsoft MFTs for Win7 can be written in C#? If so, is there any book or website that would help me in this. ...

Media Foundation TypeLibrary for managed code ?

Is anyone know how to generate media foundation TypeLibrary which will then be imported as COM in managed code ? I didn't found any dll or tlb file related to media foundation which i can import in my C#.Net application. ...

Using Windows media foundation

Ok so my new gig is high performance video (think Google streetview but movies) - the hard work is all embedded capture and image processing but: I was looking at the new MS video offerings to display content = Windows Media Foundation. Is anyone actually using this ? There are no books on the topic. The only documentation is a...

Using IMFSourceResolver::CreateObjectFromByteStream

Hi, I am trying to use the IMFSourceResolver::CreateObjectFromByteStream method to create a IMFMediaSource instance for a DRM protected WMA file. I am adapting the ProtectedPlayback sample from the Windows SDK as a playground. The end goal I wish to achieve is to have the playback process fed by a custom implementation if IMFByteStrea...

How do I create an IMFSchemeHandler that returns a ByteStream?

I would like to implement a custom Windows Media Foundation Scheme Handler, IMFSchemeHandler, that returns a byte stream from a file on disk. I am struggling to work out how this should be done from the documentation on Microsoft's website and I can't find any samples relating to this. I am not very experienced with C++ which might be c...