I have a IMFMediaSink interface implemented that encodes through the native h264 codec a particular source (we're talking about the Windows 8 Modern (Metro) interface). I want to change the default options of the h264 codec, how to do that?
I searched online and I kind of understand that the ICodecAPI interface is something related to what I want to do, but how to use it? Does anyone have some sample code to look at to try and understand what to do?
I know I can use the MF_SINK_WRITER_ENCODER_CONFIG for a sinkwriter, but I'm not using that class unfortunately.
Hey, I did hear back from our architect. He cofirmed that the current implientation is "by design". The team is aware of the limitaion but I'm not sure if they will be able to consider a design change. I hope this helps, James
I found the solution myself. It doesn't exist a way to access ICodecAPI from WinRT Metro. This is by design and Microsoft don't think will change it anytime soon. It's a shame...:(