Using a Device as a Source
You can capture streams from devices attached to your computer by using the device plug-in. Currently, the Windows Media Encoder SDK includes device plug-ins to capture streams from audio and video devices, such as sound cards, capture cards, TV tuners, and DV cameras.
When using a device as a source, you must first enumerate the available sources on the system, and then you can add the individual source streams to the source group. Devices can only be used once; that is, you cannot use the same device in multiple source groups in one encoding session. If you are using a digital device, you can also control it programmatically through Windows Media Encoder applications. See the following topics for more information.
Topic | Description |
Enumerating Devices | Describes how to retrieve the resource names of the capture cards and digital devices on a computer. |
Controlling Digital Devices Programmatically | Describes how you can control a digital device using the Windows Media Encoder SDK to achieve frame-accurate encoding. |
Setting Up an EDL | Describes how to set up an edit decision list (EDL) to specify the segments of a video tape to encode. |
Device plug-ins support a property page that enables configuration of the plug-in by end users. To learn how to create a dialog box and display a property page, see Displaying the Plug-In Property Pages.
For an example of using a device as an audio and video source, see the Configuring Multiple Source Groups example in each programming language section in Complete Code Examples.
See Also