none
[UWP]HEVC Decoder fail in Xbox one X RRS feed

  • 问题

  • Hi UWP team,

          我正在用UWP IMFTransform接口做HEVC Decoder, 由于MFVideoFormat_HEVC_ES已经被支持在mfapi.h of 10.0.14393.0 SDK, 但如果我把MFVideoFormat_HEVC设置在m_pInputStreamType里面,然后的m_pInputStreamTyp设置在SetInputType里面,这SetInputTyp一直报0xc00d36b4(MF_E_INVALIDMEDIATYPE---The MFT cannot use the proposed media type. ).

         请问H265 IMFTransform解码接口现在可以在UWP里面用吗?谢谢!

    BR,

    Gody

    2018年1月24日 8:54

全部回复

  • Hi gody.yang,

    >>请问H265 IMFTransform解码接口现在可以在UWP里面用吗

    现在在Xbox One 15063,16299 OS上是支持的,发布的时候目前需要申请一些特殊的权限(Capability)

    >>这SetInputTyp一直报0xc00d36b4(MF_E_INVALIDMEDIATYPE---The MFT cannot use the proposed media type. )

    如果您的 videoSubtype 是 MFVideoFormat_HEVC_ES,那请确认:

    guidVideoDecoder = CLSID_CH265DecoderTransform;
    videoOutputSubtype = MFVideoFormat_P010;

    我这边分享了HEVC解码的MFT实现:link
    GUID guidVideoDecoder = CLSID_CMSH264DecoderMFT;
    GUID videoSubtype;
    GUID videoOutputSubtype;
    ......
    
    else if (videoSubtype == MFVideoFormat_HEVC
            || videoSubtype == MFVideoFormat_HEVC_ES)
        {
            guidVideoDecoder = CLSID_CH265DecoderTransform;
            videoOutputSubtype = MFVideoFormat_P010;
        }
    
    ......
    DX::TIF(CoCreateInstance(guidVideoDecoder, NULL, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&spMFT)));
    ......
    DX::TIF(spMFT->SetInputType(0, inputType, 0));
    DX::TIF(spMFT->GetOutputAvailableType(0, 0, &pDecoderOutType));
    DX::TIF(pDecoderOutType->SetGUID(MF_MT_SUBTYPE, videoOutputSubtype));

    Reference: https://msdn.microsoft.com/en-us/library/windows/desktop/mt218785(v=vs.85).aspx

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    2018年1月30日 9:37
    版主
  • Hi gody.yang,

    >>请问H265 IMFTransform解码接口现在可以在UWP里面用吗

    现在在Xbox One 15063,16299 OS上是支持的,发布的时候目前需要申请一些特殊的权限(Capability)

    >>这SetInputTyp一直报0xc00d36b4(MF_E_INVALIDMEDIATYPE---The MFT cannot use the proposed media type. )

    如果您的 videoSubtype 是 MFVideoFormat_HEVC_ES,那请确认:

    guidVideoDecoder = CLSID_CH265DecoderTransform;
    videoOutputSubtype = MFVideoFormat_P010;

    我这边分享了HEVC解码的MFT实现:link
    GUID guidVideoDecoder = CLSID_CMSH264DecoderMFT;
    GUID videoSubtype;
    GUID videoOutputSubtype;
    ......
    
    else if (videoSubtype == MFVideoFormat_HEVC
            || videoSubtype == MFVideoFormat_HEVC_ES)
        {
            guidVideoDecoder = CLSID_CH265DecoderTransform;
            videoOutputSubtype = MFVideoFormat_P010;
        }
    
    ......
    DX::TIF(CoCreateInstance(guidVideoDecoder, NULL, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&spMFT)));
    ......
    DX::TIF(spMFT->SetInputType(0, inputType, 0));
    DX::TIF(spMFT->GetOutputAvailableType(0, 0, &pDecoderOutType));
    DX::TIF(pDecoderOutType->SetGUID(MF_MT_SUBTYPE, videoOutputSubtype));

    Reference: https://msdn.microsoft.com/en-us/library/windows/desktop/mt218785(v=vs.85).aspx

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    对于我分享的代码,因为是Private 仓库,所以您可以在CMT工具中联系我,提交您的Github账号信息,我给您权限

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    2018年1月30日 10:43
    版主
  • 谢谢您的回复,能帮忙share一下您的code吗?我的Github 账号是gody.yang@ubitus.cn, 谢谢!

    Sorry, 我不太清楚如何通过CMT工具中联系您!

    2018年2月1日 11:08
  • Hi Franklin,

          Thanks for your looking into my question, Can you kindly help to share your HEVC sample for me , My Git account is:gody.yang@ubitus.cm, thanks a lot!

    2018年2月6日 6:47