This is basically a cross-post of StackOverflow answer: How do I encode raw 48khz/32bits PCM to FLAC using Microsoft Media Foundation? So, Microsoft introduced a FLAC Media Foundation Transform (MFT) Encoder CLSID_CMSFLACEncMFT in Windows 10, but the codec remains undocumented at the moment. Supported Media Formats in Media Foundation is similarly out of date and…