AVIHeaderInfo
Delphi
function AVIHeaderInfo (AVIFile: string; HeaderAttribute: THeaderAttribute): string;
C++Builder
System::UnicodeString __fastcall AVIHeaderInfo(System::UnicodeString AVIFile, THeaderAttribute HeaderAttribute);
C#
public string AVIHeaderInfo(string AVIFile, THeaderAttribute HeaderAttribute);
VB.NET
Public Function AVIHeaderInfo(AVIFile As String, HeaderAttribute As THeaderAttribute) As String
C++/Qt
wchar_t * AVIHeaderInfo (wchar_t *AVIFile, THeaderAttribute HeaderAttribute);
Retrieves the THeaderAttribute header information about the video clip specified. When the clip is opened for the first time, all the THeaderAttribute attributes are read, so the clip is not re-opened during the subsequent calls, unless a different file name is specified. E.g.:
procedure TfrmMainForm.Button2Click(Sender: TObject);
begin
Showmessage (VideoGrabber.AVIHeaderInfo('MyFirstVideoClip.avi', ha_Title));
Showmessage (VideoGrabber.AVIHeaderInfo('MySecondVideoClip.asf', ha_Copyright));
end;