MediaFormat Members
Include Protected Members
Include Inherited Members
Contains methods and properties that give access to and control over audio and video media.
The MediaFormat type exposes the following members.
Properties
Name | Description | |
---|---|---|
Application | Returns an Application object that represents the creator of the specified object. | |
AudioCompressionType | Returns the audio compression format. Read-only. | |
AudioSamplingRate | Returns the audio sampling rate per second for the media. Read-only. | |
EndPoint | Gets or sets the time of the end point of the trim region of the media. Read/write. | |
FadeInDuration | Gets or sets the duration of the fade in of the media, in milliseconds. Read/write. | |
FadeOutDuration | Gets or sets the duration of the fadeout of the media, in milliseconds. Read/write. | |
IsEmbedded | Returns whether the media file is embedded. Read-only. | |
IsLinked | Returns whether the media file is linked. Read-only. | |
Length | Returns the total length of the media in time units. Read-only. | |
MediaBookmarks | Returns a MediaBookmarks collection that represents the media bookmarks associated with the specified object. Read-only. | |
Muted | Returns whether audio playback of the media is muted. Read/write. | |
Parent | Returns the parent object for the specified object. Read-only. | |
ResamplingStatus | Returns the resampling task status. Read-only. | |
SampleHeight | Returns the resolution height of the sample media. Read-only. | |
SampleWidth | Returns the resolution width of the media sample. Read-only. | |
StartPoint | Gets or sets the start point of the trim region. Read/write. | |
VideoCompressionType | Returns a string that represents the video compression format of the media. Read-only. | |
VideoFrameRate | Returns the video frame rate per second of the media. Read-only. | |
Volume | Gets or sets the volume of the media. Read/write. |
Top
Methods
Name | Description | |
---|---|---|
Resample | Adds the current media object to the queue and begins resampling, based on the specified parameters. | |
ResampleFromProfile | Adds the current media object to the queue and begins resampling based on the specified profile. | |
SetDisplayPicture | Sets the display picture at the specified time position. | |
SetDisplayPictureFromFile | Sets the display picture from a picture file. |
Top