I'm trying to set the GOP size (number of frames) and set the "closed GOP" flag on VC-1 encoder (WMVideo9 Encoder MFT
) in Media Foundation, but I don't see a way to do it. M$ created a thousands of interfaces, but most of them are useless.
(I even tried using async codecs that apparently can benefit from the GPU, etc... LOL, what a joke that is...)
Back to the problem...
For example, there is an IWMCodecProps
interface exposed by the IMFTransform
, but it's read only. There are tons of attributes accessible through the IMFAttributes
, but I don't see one for setting the GOP size and closing the GOP.
Is it possible at all? Looks like M$ is pushing away everybody coding for money. Media foundation is good for playing around only....
P.S. Not being able to answer is not the the reason for downvoting.