Object Model hierarchy

The Microsoft Expression Encoder Object Model (OM) parallels the features exposed by the Expression Encoder user interface and the Expression Encoder command-line application. It is built on top of multiple media technologies, including DShow, 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.


Unmanaged client code requires a marshaling layer.

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

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

  2. MediaItem   The object that contains a collection of Sources as well as an OutputFormat object.

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

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

  5. 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.

Expression Encoder Object Model (expanded)

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


   © 2010 Microsoft Corporation. All rights reserved.