Main Content

Specifying Video Sources

To specify the video source in an IMDF file, use the Source element. A Source node can only be the child of the IMDF root element and it cannot have any child nodes of its own.

When you create a Source node, you must specify values for two attributes: name and id. In the name attribute, you specify the name of the source as it appears in the video source object's Name property. The id is typically set to some value that is recognized by the vendor's SDK. The id is only used by the adaptor and needs only to be unique between sources.

The following example outlines how to create a Source node. The words in italics represent text you define.

<ImageAcquisitionInfo>

	<Source id=ID name=sourcename>
	</Source>
	.
	.
	.
</ImageAcquisitionInfo>