Pregunta

I want to customize Media Foundation's Source Resolver.

I would like to play files encrypted with DRM, and the extension is AVI, MPEG4 and possibly other.

How can I customize Source Resolver?

¿Fue útil?

Solución

Generic ways of customization are documented in Scheme Handlers and Byte-Stream Handlers:

The source resolver can create a media source from a URL or from a byte stream [...]. For URLs, the source resolver uses scheme handlers. For byte streams, it uses byte-stream handlers. [...]

To register a new scheme handler, add an entry whose name is the CLSID of the scheme handler, [...]

To register a new byte-stream handler, add an entry whose name is the CLSID of the handler, [...]

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top