# mediafoundation

Microsoft MediaFoundation plugin.

This plugin consists of various hardware/software video encoders software audio encoders, and video capture (from webcam) elements.

GstMediaFoundation plugin supports H.264/AVC, H.265/HEVC, VP9, codecs for hardware-accelerate encoding.

However, depending on the hardware it runs on, some elements might not be registered in case that underlying hardware doesn't support the feature.

Moreover, depending on hardware vendor's MediaFoundation implementation, secendary GPU may not be usable. In that case, user could use vendor specific plugins, Intel Media SDK and NVCODEC plugins for example.

For a system with multiple MediaFoundation compatible hardwares (i.e., GPU), there can be multiple plugin features having the same role. Also, there would be additional software video encoder element the system meets requirement.

The naming rule for the non-primary encoder is `mf{codec}device{index}enc` where `index` is an arbitrary index number of hardware starting from 1.

To get a list of all available elements, user can run

    gst-inspect-1.0.exe mediafoundation

(from GStreamer Bad Plug-ins)

Name | Classification | Description
--- | --- | ---
mfaacdec | Codec/Decoder/Audio | Microsoft Media Foundation AAC Decoder
mfaacenc | Codec/Encoder/Audio | Microsoft Media Foundation AAC Encoder
mfh264enc | Codec/Encoder/Video/Hardware | Microsoft Media Foundation H.264 Encoder
mfh265enc | Codec/Encoder/Video/Hardware | Microsoft Media Foundation H.265 Encoder
mfmp3dec | Codec/Decoder/Audio | Microsoft Media Foundation MP3 Decoder
mfmp3enc | Codec/Encoder/Audio | Microsoft Media Foundation MP3 Encoder
mfvideosrc | Source/Video/Hardware | Capture video stream through Windows Media Foundation
mfvp9enc | Codec/Encoder/Video/Hardware | Microsoft Media Foundation VP9 Encoder

Subpages:

GstMFAudioDecoder

GstMFAudioEncoder

GstMFVideoEncoder

mfaacdec – Microsoft Media Foundation AAC Decoder

mfaacenc – Microsoft Media Foundation AAC Encoder

mfh264enc – Microsoft Media Foundation H.264 Encoder

mfh265enc – Microsoft Media Foundation H.265 Encoder

mfmp3dec – Microsoft Media Foundation MP3 Decoder

mfmp3enc – Microsoft Media Foundation MP3 Encoder

mfvideosrc – Capture video stream through Windows Media Foundation

mfvp9enc – Microsoft Media Foundation VP9 Encoder

The results of the search are