Export (0) Print
Expand All
1 out of 3 rated this helpful - Rate this topic

Object Model hierarchies

The Microsoft Expression Encoder Object Model (OM) parallels the features exposed by the Expression Encoder user interface. It is built on top of multiple media technologies, including DirectShow, Microsoft Silverlight, and Windows Media.

The applications built on top of the Expression Encoder OM require Expression Encoder to be installed on the client computer in order to run.

NoteNote

Unmanaged client code requires a marshaling layer.

The Expression Encoder Object Model

The main objects to look for in the Expression Encoder OM are as follows:

  • Job   The task object that contains the MediaItem list and that is where the encoding process is controlled.

  • MediaItem   The object that contains a collection of sources and also an OutputFormat object.

  • OutputFormat   The object that encapsulates all the encoding options of a MediaItem, including VideoProfile and AudioProfile objects.

  • VideoProfile and AudioProfile   The objects that represent specific video and audio encoding options, respectively.

  • Bitrate   The member object of VideoProfile and AudioProfile that contains the type and quality of encoding to be used.

The following diagram shows the relationship between the objects in the Expression Encoder OM.

Encoder Object Model

The Live Object Model

The main objects to look for in the Live OM are as follows:

  • LiveJob   The task object that contains the source list, and that is where the encoding format and process are controlled.

  • LiveSource   The object that contains a collection of file and device sources attached to a LiveJob.

  • OutputFormat   The object that encapsulates all the encoding options of a LiveJob, including VideoProfile and AudioProfile objects.

  • PublishFormat   The object that encapsulates the type of distribution the LiveJob will perform.

  • VideoProfile and AudioProfile   The objects that represent specific video and audio encoding options, respectively.

  • Bitrate   The member object of VideoProfile and AudioProfile that contains the type and quality of encoding to be used.

The following diagram shows the relationships between the objects in the Live OM.

The Live Encoding Object Model

The ScreenCapture Object Model

The main objects to look for in the ScreenCapture OM are as follows:

  • ScreenCaptureJob   The task object that contains the settings for capturing and encoding from the screen and from a device.

  • EncoderDevice   The object that contains a reference to an external device used for capturing audio and video.

  • VideoProfile and AudioProfile   The objects that represent the specific video and audio encoding options for screen capture and device capture.

The following diagram shows the relationships between the objects in the ScreenCapture OM.

The Screen Capture Object Model

   © 2011 Microsoft Corporation. All rights reserved.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.