We are trying to implement a quick sync encoder MFT (Media Foundation Transform, NV12 --> H264).
As understood quick sync outputs a H264 elementary stream (H264_ES) and therefore we can not directly write these IMFSamples directly into an MPEG-4 sink.
Does Intel provide an MFT that can convert H264_ES to H264? Or do you have something to recommend? Article/Code/Library?
We found http://msdn.microsoft.com/en-us/library/windows/desktop/jj553440(v=vs.85).aspx (H.264/AVC Remux MFT).
But due to bad documentation we can not get this to work.
The Media SDK package does include simple sample code for a H.264 MFT encoder, "sample_mfoundation_plugins". Please explore that code to evaluate if it fits your needs. The set of features in the sample are limited so you will likely have to extend the code to adjust to your requirements.