locked
How to enable HDCP on video output?

    Question

  • Assume the output to display is via HDMI and the video is streamed live, encrypted by a proprietary algorithm. 

    Since Output Protection Manager is not supported in Windows Runtime, how can I make sure the streamed video is protected by HDCP so won't be recorded by any HDMI capture device?


    • Edited by yiyiyaya Wednesday, November 06, 2013 10:24 PM
    Wednesday, November 06, 2013 10:15 PM

Answers

All replies

  • It doesn't sound like this is a good candidate for a WinRT application.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Thursday, November 07, 2013 2:11 PM
    Moderator
  • It doesn't sound like this is a good candidate for a WinRT application.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    So any DRM scheme other than PlayReady won't be supported properly on WinRT? 

    Thursday, November 07, 2013 7:38 PM
  • Hello,

    Theoretically you can use IMFOutputPolicy and IMFOutputTrustAuthority to facilitate turning on HDCP. These interfaces are supported from Windows Store apps. Unfortunately at this time we do not provide any guidance on how to use them from the context of a Windows Store app. You should be able to infer their usage from the desktop documentation.

    IMFOutputPolicy

    http://msdn.microsoft.com/en-us/library/windows/desktop/ms698985(v=vs.85).aspx

    IMFOutputTrustAuthority

    http://msdn.microsoft.com/en-us/library/windows/apps/ms695254.aspx

    I hope this helps,

    James


    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Thursday, November 07, 2013 10:35 PM
    Moderator
  • Hello,

    Theoretically you can use IMFOutputPolicy and IMFOutputTrustAuthority to facilitate turning on HDCP. These interfaces are supported from Windows Store apps. Unfortunately at this time we do not provide any guidance on how to use them from the context of a Windows Store app. You should be able to infer their usage from the desktop documentation.

    IMFOutputPolicy

    http://msdn.microsoft.com/en-us/library/windows/desktop/ms698985(v=vs.85).aspx

    IMFOutputTrustAuthority

    http://msdn.microsoft.com/en-us/library/windows/apps/ms695254.aspx

    I hope this helps,

    James


    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Thanks James, 

    The only reference I can found are Protected User Mode Audio, and it looks it's for audio only. Can I use it for video as well?

    http://msdn.microsoft.com/en-us/library/windows/desktop/dd756608(v=vs.85).aspx

    Tuesday, November 12, 2013 4:14 AM
  • Hello,

    Yes this same basic mechanism works for both audio and video.

    I hope this helps,

    James


    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Saturday, November 16, 2013 12:46 AM
    Moderator