Cannot set custom SEI using Media Foundation h264 encoder

VFDev 1 Reputation point
2021-04-30T09:19:15.987+00:00

I have set up a MFSinkWriter that takes a RGB MFMediaType in input and generates a H.264 MFMediaType as output. I need to add SEI information for every MFSample that is encoded. Is it possible to achieve this? What is the intended use of MF_MT_FORWARD_CUSTOM_SEI for the output MFMediaType?

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,426 questions
{count} votes