CMFormatDescription CMFormatDescription Class

Definition

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

public class CMFormatDescription : IDisposable, ObjCRuntime.INativeObject
type CMFormatDescription = class
    interface INativeObject
    interface IDisposable
Inheritance
CMFormatDescriptionCMFormatDescription
Derived
Implements

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

AudioChannelLayout AudioChannelLayout

Audio-media only: describe the channel layout.

AudioFormats AudioFormats

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

AudioFormatType AudioFormatType
AudioMagicCookie AudioMagicCookie

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

AudioMostCompatibleFormat AudioMostCompatibleFormat

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

AudioRichestDecodableFormat AudioRichestDecodableFormat

Audio-media only: Returns the richest decodable format.

AudioStreamBasicDescription AudioStreamBasicDescription

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

ClosedCaptionFormatType ClosedCaptionFormatType
Handle Handle

Handle (pointer) to the unmanaged object representation.

MediaSubType MediaSubType

Returns the media subtype, ideally you should use the strongly typed versions instead.

MediaType MediaType
MetadataFormatType MetadataFormatType
MuxedStreamType MuxedStreamType
SubtitleFormatType SubtitleFormatType
TimeCodeFormatType TimeCodeFormatType
VideoCodecType VideoCodecType

Methods

Create(IntPtr) Create(IntPtr)

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

Create(IntPtr, Boolean) Create(IntPtr, Boolean)

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

Create(CMMediaType, UInt32, CMFormatDescriptionError) 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.

Dispose(Boolean) Dispose(Boolean)

Releases the resources used by the CMFormatDescription object.

Dispose() Dispose()

Releases the resources used by the CMFormatDescription object.

Finalize() Finalize()

Finalizer for the CMFormatDescription object

GetExtension(String) GetExtension(String)
GetExtensions() GetExtensions()
GetTypeID() GetTypeID()

Type identifier for the CoreMedia.CMFormatDescription type.

Applies to