Table of Contents

Class MediaFoundationAttributes

Namespace
NAudio.MediaFoundation
Assembly
NAudio.Wasapi.dll
public static class MediaFoundationAttributes
Inheritance
MediaFoundationAttributes
Inherited Members

Fields

MFT_CODEC_MERIT_Attribute

Contains the merit value of a hardware codec.

public static readonly Guid MFT_CODEC_MERIT_Attribute

Field Value

Guid

MFT_CONNECTED_STREAM_ATTRIBUTE

Contains a pointer to the stream attributes of the connected stream on a hardware-based MFT.

public static readonly Guid MFT_CONNECTED_STREAM_ATTRIBUTE

Field Value

Guid

MFT_CONNECTED_TO_HW_STREAM

Specifies whether a hardware-based MFT is connected to another hardware-based MFT.

public static readonly Guid MFT_CONNECTED_TO_HW_STREAM

Field Value

Guid

MFT_ENUM_HARDWARE_URL_Attribute

Contains the symbolic link for a hardware-based MFT.

public static readonly Guid MFT_ENUM_HARDWARE_URL_Attribute

Field Value

Guid

MFT_ENUM_TRANSCODE_ONLY_ATTRIBUTE

Specifies whether a decoder is optimized for transcoding rather than for playback.

public static readonly Guid MFT_ENUM_TRANSCODE_ONLY_ATTRIBUTE

Field Value

Guid

MFT_FIELDOFUSE_UNLOCK_Attribute

Contains an IMFFieldOfUseMFTUnlock pointer, which can be used to unlock the MFT.

public static readonly Guid MFT_FIELDOFUSE_UNLOCK_Attribute

Field Value

Guid

MFT_FRIENDLY_NAME_Attribute

Contains the display name for a hardware-based MFT.

[FieldDescription("Name")]
public static readonly Guid MFT_FRIENDLY_NAME_Attribute

Field Value

Guid

MFT_HW_TIMESTAMP_WITH_QPC_Attribute

Specifies whether a hardware device source uses the system time for time stamps.

public static readonly Guid MFT_HW_TIMESTAMP_WITH_QPC_Attribute

Field Value

Guid

MFT_INPUT_TYPES_Attributes

Contains the registered input types for a Media Foundation transform (MFT).

[FieldDescription("Input Types")]
public static readonly Guid MFT_INPUT_TYPES_Attributes

Field Value

Guid

MFT_OUTPUT_TYPES_Attributes

Contains the registered output types for a Media Foundation transform (MFT).

[FieldDescription("Output Types")]
public static readonly Guid MFT_OUTPUT_TYPES_Attributes

Field Value

Guid

MFT_PREFERRED_ENCODER_PROFILE

Contains configuration properties for an encoder.

public static readonly Guid MFT_PREFERRED_ENCODER_PROFILE

Field Value

Guid

MFT_PREFERRED_OUTPUTTYPE_Attribute

Specifies the preferred output format for an encoder.

[FieldDescription("Preferred Output Format")]
public static readonly Guid MFT_PREFERRED_OUTPUTTYPE_Attribute

Field Value

Guid

MFT_PROCESS_LOCAL_Attribute

Specifies whether an MFT is registered only in the application's process.

public static readonly Guid MFT_PROCESS_LOCAL_Attribute

Field Value

Guid

MFT_TRANSFORM_CLSID_Attribute

Contains the class identifier (CLSID) of an MFT.

[FieldDescription("Class identifier")]
public static readonly Guid MFT_TRANSFORM_CLSID_Attribute

Field Value

Guid

MF_MT_AAC_AUDIO_PROFILE_LEVEL_INDICATION

Specifies the audio profile and level of an Advanced Audio Coding (AAC) stream, as defined by ISO/IEC 14496-3.

[FieldDescription("AAC Audio Profile Level Indication")]
public static readonly Guid MF_MT_AAC_AUDIO_PROFILE_LEVEL_INDICATION

Field Value

Guid

MF_MT_AAC_PAYLOAD_TYPE

Specifies the payload type of an Advanced Audio Coding (AAC) stream. 0 - The stream contains raw_data_block elements only 1 - Audio Data Transport Stream (ADTS). The stream contains an adts_sequence, as defined by MPEG-2. 2 - Audio Data Interchange Format (ADIF). The stream contains an adif_sequence, as defined by MPEG-2. 3 - The stream contains an MPEG-4 audio transport stream with a synchronization layer (LOAS) and a multiplex layer (LATM).

[FieldDescription("AAC payload type")]
public static readonly Guid MF_MT_AAC_PAYLOAD_TYPE

Field Value

Guid

MF_MT_ALL_SAMPLES_INDEPENDENT

Specifies for a media type whether each sample is independent of the other samples in the stream.

[FieldDescription("All samples independent")]
public static readonly Guid MF_MT_ALL_SAMPLES_INDEPENDENT

Field Value

Guid

MF_MT_AM_FORMAT_TYPE

Contains a DirectShow format GUID for a media type.

[FieldDescription("DirectShow Format Guid")]
public static readonly Guid MF_MT_AM_FORMAT_TYPE

Field Value

Guid

MF_MT_AUDIO_AVG_BYTES_PER_SECOND

Audio average bytes per second

[FieldDescription("Audio average bytes per second")]
public static readonly Guid MF_MT_AUDIO_AVG_BYTES_PER_SECOND

Field Value

Guid

MF_MT_AUDIO_BITS_PER_SAMPLE

Audio bits per sample

[FieldDescription("Audio bits per sample")]
public static readonly Guid MF_MT_AUDIO_BITS_PER_SAMPLE

Field Value

Guid

MF_MT_AUDIO_BLOCK_ALIGNMENT

Audio block alignment

[FieldDescription("Audio block alignment")]
public static readonly Guid MF_MT_AUDIO_BLOCK_ALIGNMENT

Field Value

Guid

MF_MT_AUDIO_NUM_CHANNELS

Audio number of channels

[FieldDescription("Audio number of channels")]
public static readonly Guid MF_MT_AUDIO_NUM_CHANNELS

Field Value

Guid

MF_MT_AUDIO_PREFER_WAVEFORMATEX

Specifies the preferred legacy format structure to use when converting an audio media type.

[FieldDescription("Preferred legacy format structure")]
public static readonly Guid MF_MT_AUDIO_PREFER_WAVEFORMATEX

Field Value

Guid

MF_MT_AUDIO_SAMPLES_PER_SECOND

Audio samples per second

[FieldDescription("Audio samples per second")]
public static readonly Guid MF_MT_AUDIO_SAMPLES_PER_SECOND

Field Value

Guid

MF_MT_AVG_BITRATE

Approximate data rate of the video stream, in bits per second, for a video media type.

[FieldDescription("Average bitrate")]
public static readonly Guid MF_MT_AVG_BITRATE

Field Value

Guid

MF_MT_COMPRESSED

Specifies for a media type whether the media data is compressed.

[FieldDescription("Is Compressed")]
public static readonly Guid MF_MT_COMPRESSED

Field Value

Guid

MF_MT_FIXED_SIZE_SAMPLES

Specifies for a media type whether the samples have a fixed size.

[FieldDescription("Fixed size samples")]
public static readonly Guid MF_MT_FIXED_SIZE_SAMPLES

Field Value

Guid

MF_MT_MAJOR_TYPE

Media type Major Type

[FieldDescription("Major Media Type")]
public static readonly Guid MF_MT_MAJOR_TYPE

Field Value

Guid

MF_MT_SUBTYPE

Media Type subtype

[FieldDescription("Media Subtype")]
public static readonly Guid MF_MT_SUBTYPE

Field Value

Guid

MF_MT_USER_DATA

Contains additional format data for a media type.

[FieldDescription("User data")]
public static readonly Guid MF_MT_USER_DATA

Field Value

Guid

MF_PD_APP_CONTEXT

Contains a pointer to the presentation descriptor from the protected media path (PMP).

[FieldDescription("App Context")]
public static readonly Guid MF_PD_APP_CONTEXT

Field Value

Guid

MF_PD_AUDIO_ENCODING_BITRATE

Specifies the audio encoding bit rate for the presentation, in bits per second.

[FieldDescription("Audio encoding bitrate")]
public static readonly Guid MF_PD_AUDIO_ENCODING_BITRATE

Field Value

Guid

MF_PD_AUDIO_ISVARIABLEBITRATE

Specifies whether the audio streams in the presentation have a variable bit rate.

[FieldDescription("Audio is variable bitrate")]
public static readonly Guid MF_PD_AUDIO_ISVARIABLEBITRATE

Field Value

Guid

MF_PD_DURATION

Specifies the duration of a presentation, in 100-nanosecond units.

[FieldDescription("Duration")]
public static readonly Guid MF_PD_DURATION

Field Value

Guid

MF_PD_LAST_MODIFIED_TIME

Specifies when a presentation was last modified.

[FieldDescription("Last Modified Time")]
public static readonly Guid MF_PD_LAST_MODIFIED_TIME

Field Value

Guid

MF_PD_MIME_TYPE

Specifies the MIME type of the content.

[FieldDescription("MIME Type")]
public static readonly Guid MF_PD_MIME_TYPE

Field Value

Guid

MF_PD_PLAYBACK_BOUNDARY_TIME

The time at which the presentation must begin, relative to the start of the media source.

[FieldDescription("Playback boundary time")]
public static readonly Guid MF_PD_PLAYBACK_BOUNDARY_TIME

Field Value

Guid

MF_PD_PLAYBACK_ELEMENT_ID

The identifier of the playlist element in the presentation.

[FieldDescription("Element ID")]
public static readonly Guid MF_PD_PLAYBACK_ELEMENT_ID

Field Value

Guid

MF_PD_PMPHOST_CONTEXT

Contains a pointer to the proxy object for the application's presentation descriptor.

[FieldDescription("PMP Host Context")]
public static readonly Guid MF_PD_PMPHOST_CONTEXT

Field Value

Guid

MF_PD_PREFERRED_LANGUAGE

Contains the preferred RFC 1766 language of the media source.

[FieldDescription("Preferred Language")]
public static readonly Guid MF_PD_PREFERRED_LANGUAGE

Field Value

Guid

MF_PD_TOTAL_FILE_SIZE

Specifies the total size of the source file, in bytes.

[FieldDescription("Total File Size")]
public static readonly Guid MF_PD_TOTAL_FILE_SIZE

Field Value

Guid

MF_PD_VIDEO_ENCODING_BITRATE

Specifies the video encoding bit rate for the presentation, in bits per second.

[FieldDescription("Video Encoding Bitrate")]
public static readonly Guid MF_PD_VIDEO_ENCODING_BITRATE

Field Value

Guid

MF_READWRITE_ENABLE_HARDWARE_TRANSFORMS

Enables the source reader or sink writer to use hardware-based Media Foundation transforms (MFTs).

[FieldDescription("Enable Hardware Transforms")]
public static readonly Guid MF_READWRITE_ENABLE_HARDWARE_TRANSFORMS

Field Value

Guid

MF_SINK_WRITER_DISABLE_THROTTLING

Specifies whether the sink writer limits the rate of incoming data.

[FieldDescription("Disable Sink Writer Throttling")]
public static readonly Guid MF_SINK_WRITER_DISABLE_THROTTLING

Field Value

Guid

MF_TRANSCODE_CONTAINERTYPE

Specifies the container type of an encoded file. The container types are supported by Media Foundation.

[FieldDescription("Container type")]
public static readonly Guid MF_TRANSCODE_CONTAINERTYPE

Field Value

Guid

MF_TRANSFORM_ASYNC

Specifies whether an MFT performs asynchronous processing.

public static readonly Guid MF_TRANSFORM_ASYNC

Field Value

Guid

MF_TRANSFORM_ASYNC_UNLOCK

Enables the use of an asynchronous MFT.

public static readonly Guid MF_TRANSFORM_ASYNC_UNLOCK

Field Value

Guid

MF_TRANSFORM_CATEGORY_Attribute

Specifies the category for an MFT.

[FieldDescription("Transform Category")]
public static readonly Guid MF_TRANSFORM_CATEGORY_Attribute

Field Value

Guid

MF_TRANSFORM_FLAGS_Attribute

Contains flags for an MFT activation object.

[FieldDescription("Transform Flags")]
public static readonly Guid MF_TRANSFORM_FLAGS_Attribute

Field Value

Guid