It is supported : H.264 Video Decoder
You can find some samples like :
https://github.com/sipsorcery/mediafoundationsamples/blob/master/MFH264RoundTrip/MFH264RoundTrip.cpp
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm trying to decode h264 video in windows using Media Foundation.
I cannot use the source resolver as I need to decode one frame at a time from a buffer - hence planning to use Media Foundation Transforms (ProcessInput and ProcessOutput) directly.
Is the h.264 decoder supported in Windows? The goal is to only decode the frame data into a buffer and not to render it.
Also I'm assuming the simplified steps are as follows - correct me if I'm wrong.
CoCreateInstance
or MFTEnumEx
)transform->SetInputType
and SetOutputType
ProcessInput
with an IMFMediaBuffer
ProcessOutput
to an MFT_OUTPUT_DATA_BUFFER
It is supported : H.264 Video Decoder
You can find some samples like :
https://github.com/sipsorcery/mediafoundationsamples/blob/master/MFH264RoundTrip/MFH264RoundTrip.cpp