Closed cjw1115 closed 1 year ago
I use those two APIs to query H264 codec capability on ARM64 device, both of them report "not supported". But H264 video can be played by Media Player and Movie&TV on that device, looks API's results are not accurate.
Queried results:
IMFExtendedDRMTypeSupport::IsTypeSupportedEx: PROBABLY : video/mp4; codecs="hvc1";features="ext-profile=dvhe.05,decode-bpp=8,decode-res-x=1920,decode-res-y=1080,decode-bitrate=10000000,decode-fps=30" NOT_SUPPORTED : video/mp4; codecs="avc1.42E01E";features="decode-bpp=8,decode-res-x=1920,decode-res-y=1080,decode-bitrate=10000000,decode-fps=30" NOT_SUPPORTED : video/mp4; codecs="avc1.640033";features="decode-bpp=8,decode-res-x=1920,decode-res-y=1080,decode-bitrate=10000000,decode-fps=30" ================================================ IMFMediaEngine::CanPlayType: PROBABLY : video/mp4; codecs="hvc1";features="ext-profile=dvhe.05,decode-bpp=8,decode-res-x=1920,decode-res-y=1080,decode-bitrate=10000000,decode-fps=30" NOT_SUPPORTED : video/mp4; codecs="avc1.42E01E";features="decode-bpp=8,decode-res-x=1920,decode-res-y=1080,decode-bitrate=10000000,decode-fps=30" NOT_SUPPORTED : video/mp4; codecs="avc1.640033";features="decode-bpp=8,decode-res-x=1920,decode-res-y=1080,decode-bitrate=10000000,decode-fps=30"
Query for HEVC has no such problem.
Test code https://github.com/cjw1115/windows-media-capability/blob/main/MediaCapability/main.cpp
Test device:
Closing this issue as we have an internal work item from Dolby tracking this investigation.
I use those two APIs to query H264 codec capability on ARM64 device, both of them report "not supported". But H264 video can be played by Media Player and Movie&TV on that device, looks API's results are not accurate.
Queried results:
Query for HEVC has no such problem.
Test code https://github.com/cjw1115/windows-media-capability/blob/main/MediaCapability/main.cpp
Test device: