H 264 Codec For Windows Media Encoder

Posted on admin
H 264 Codec For Windows Media Encoder Average ratng: 4,6/5 7845 reviews

I'm trying to alter the encoder quality property eAVEncCommonRateControlModeQuality via ICodecAPI. However the setting is ignored as started in the documentation which says the property must be set before IMFTransform::SetOutputType is called.

264 Codec Windows Media Player

X264 Video Codec is a software tool allowing you to encode H.264/MPEG-4 AVC video streams. This operation becomes a lot easier due to this reliable and powerful encoder. Encoding options for H.264 video. Whose codec Adobe uses in Adobe Media Encoder and Adobe Flash. If producing for Flash Player consumption on Windows.

Now here is the problem: the sink writer seems to call IMFTransform::SetOutputType when we call SetInputMediaType on the sink writer, however if we don't call SetInputMediaType we can't retrieve the ICodecAPI interface via sinkWriter.GetServiceForStream (throws exception) to change the quality setting.seems like a catch 22. I'm hoping it's me and not just a design flaw in the APIs. Setting the quality property works on Win8, as Win8 does not ignore it when called after IMFTransform::SetOutputType is called. I am having the same problem, and I have created a wrapper for the H264 encoder. Now I am trying to register it locally, and getting the SinkWriter to use my wrapper instead of the H264 encoder. My questions are: 1. Do I need to create a new project for a new DLL, based on the mftgrayscale sample?

264

Can't I just use the class in the project I am using? I don't need to make the encoder (wrapper) available to other applications. If I can create the encoder in my.exe application, how do I call MFTRegisterLocal? I made up a CLSID for my wrapper, but how do I link my CLSID to the wrapper class? How do I make the SinkWriter use my wrapper instead of the real H264 encoder?