Using Windows Media Foundation to encode h264 (Licensing)

Nicholas V 1 Reputation point

Hello all,

I am wondering around the license agreement for the h264 encoder that is available on windows by default.

As I understand from:

The video encoder: H.264 Video Encoder (

Is already supported out of the box by Windows Media Foundation - if I would like to use this in my software commercially would there be any legal or license requirements since this is provided with all new windows installations as I understand?

Or to phrase it in another way:

Since it seems that the h264 encoder (Mfh264enc.dll) is preinstalled with all new windows installations as of today can I use the encoder (via windows media foundation) commercially in my product? Can someone point me in the right direction?


Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,565 questions
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,292 questions
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
9,517 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Lex Li (Microsoft) 4,111 Reputation points

    "Media Foundation is the next generation multimedia platform for Windows that enables developers, consumers, and content providers to embrace the new wave of premium content with enhanced robustness, unparalleled quality, and seamless interoperability" seems to indicate that you can do whatever you like,

    Here you need a lawyer, not some random guy over the internet.

    0 comments No comments