Szerkesztés

Megosztás a következőn keresztül:


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
CMFormatDescription
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

Audio-media only: describe the channel layout.

AudioFormats

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

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
Handle

Handle (pointer) to the unmanaged object representation.

MediaSubType

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

MediaType
MetadataFormatType
MuxedStreamType
SubtitleFormatType
TimeCodeFormatType
VideoCodecType

Methods

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()

Releases the resources used by the CMFormatDescription object.

Dispose(Boolean)

Releases the resources used by the CMFormatDescription object.

Finalize()

Finalizer for the CMFormatDescription object

GetExtension(String)
GetExtensions()
GetTypeID()

Type identifier for the CoreMedia.CMFormatDescription type.

Applies to