Share via


CMFormatDescription Class

Definition

Describes media data for audio, video, text and time codes

public class CMFormatDescription : CoreFoundation.NativeObject
type CMFormatDescription = class
    inherit NativeObject
Inheritance
CMFormatDescription
Derived

Remarks

Some properties apply to all media types, while some others only apply to specific media types. They are prefixed with Audio or Video in those cases.

Properties

Name Description
AudioChannelLayout

Audio-media only: describe the channel layout.

AudioFormats

Audio-media only: the supported audio formats, sorted from most rich to less.

AudioFormatType

Gets the MediaSubType property as a AudioFormatType.

AudioMagicCookie

Audio-media only: magic cookie that might need to be passed to some backends.

AudioMostCompatibleFormat

Audio-media only: returns the most compaible audio format.

AudioRichestDecodableFormat

Audio-media only: Returns the richest decodable format.

AudioStreamBasicDescription

Audio-media only: Returns the AudioStreamBasicDescritpion object for the audio.

ClosedCaptionFormatType

Gets the MediaSubType property as a CMClosedCaptionFormatType.

Handle (Inherited from DisposableObject)
MediaSubType

Returns the media subtype (as a fourcc value).

MediaType

Get the media type of this format description.

MetadataFormatType

Gets the MediaSubType property as a CMMetadataFormatType.

MuxedStreamType

Gets the MediaSubType property as a CMMuxedStreamType.

Owns (Inherited from DisposableObject)
PixelFormatType

Gets the MediaSubType property as a CVPixelFormatType.

SubtitleFormatType

Gets the MediaSubType property as a CMSubtitleFormatType.

TaggedBufferGroupFormatType

Gets the MediaSubType property as a CMTaggedBufferGroupFormatType.

TimeCodeFormatType

Gets the MediaSubType property as a CMTimeCodeFormatType.

VideoCodecType

Gets the MediaSubType property as a CMVideoCodecType.

Methods

Name Description
ClearHandle() (Inherited from DisposableObject)
Create(CMMediaType, UInt32, CMFormatDescriptionError)

Creates a CMFormatDescription (or a subclass of it) based on a native handle and to have it wrapped in a specific type.

Create(IntPtr, Boolean)

Creates a CMFormatDescription (or a subclass of it) based on a native handle.

Create(IntPtr)

Creates a CMFormatDescription (or a subclass of it) based on a native handle.

Dispose() (Inherited from DisposableObject)
Dispose(Boolean) (Inherited from NativeObject)
Equals(Object) (Inherited from DisposableObject)
GetCheckedHandle() (Inherited from DisposableObject)
GetExtension(String)
GetExtensions()
GetHashCode() (Inherited from DisposableObject)
GetTypeID()

Type identifier for the CoreMedia.CMFormatDescription type.

InitializeHandle(NativeHandle) (Inherited from DisposableObject)
Release() (Inherited from NativeObject)
Retain() (Inherited from NativeObject)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to