Media Foundation IMFVideoProcessorControl2 example usage

Michael Chourdakis 66 Reputation points
2021-11-22T16:37:31.687+00:00

In trying IMFVideoProcessorControl it works as expected, auto rotating the IMFSample* I receive from the source reader etc.
Now I want to try IMFVideoProcessorControl2 which, according to the site, has some hardware effect support.

However no example of that exists, for example ::EnableHardwareEffects when I call it, it returns 0xc00d36b2 : The request is invalid in the current state. Also, presumably I can enable stabilization, edge detection etc, how do I do all that.

There's also an undocumented IMFVideoProcessorControl3 inside the .h files which is also unclear if and how to use it.

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,422 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,527 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful