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:
Job The task object that contains the MediaItem list and where the encoding process is controlled.
MediaItem The object that contains a collection of Sources as well as 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.
The following diagram shows the relationships between the objects in the Live Encoding OM.