AVI & ASF header attributes
Overview
The header attributes are text strings that appear mainly when the clip properties are displayed in Windows Media Player, such as the Author, Copyright, Description, etc.
The header attribute strings to include in the AVI and ASF files can be set before invoking StartRecording.
Specifying header attributes
Each header attribute is set individually by invoking SetHeaderAttribute (THeaderAttribute, Value). This must be done before invoking StartRecording, e.g.:
...
VideoGrabber.SetHeaderAttribute (ha_Title, 'my title');
VideoGrabber.SetHeaderAttribute (ha_Description, 'my description');
VideoGrabber.SetHeaderAttribute (ha_Author, 'my author name');
VideoGrabber.SetHeaderAttribute (ha_Copyright, 'my copyright');
VideoGrabber.StartRecording;
...
The values are applied to the next recorded files, unless they are cleared by invoking ClearHeaderAttributes, or overwritten by invoking SetHeaderAttribute.
Invoking ClearHeaderAttributes clears all the attributes. To clear only one attribute, invoke SetHeaderAttribute with an empty string.
AVI vs. ASF attributes
Some attributes can be used with both AVI and ASF recordings (RecordingMethod = rm_AVI or rm_ASF), others only with ASF or only with AVI recordings.
See SetHeaderAttribute for the complete list of the attributes compatible with the AVI and/or ASF formats.
Retrieving the header attributes of an existing video clip
Invoke AVIHeaderInfo to retrieve the current attributes of an existing video clip.