TVideoGrabber.AVIHeaderInfo

Prev

Next

TVideoGrabber

Methods

 




































































































Returns the header information about the video clip specified.


Declaration
function AVIHeaderInfo (AVIFile: string; HeaderAttribute: THeaderAttribute): string;


wchar_t *__fastcall AVIHeaderInfo(wchar_t *AVIFile, THeaderAttribute HeaderAttribute);


Function AVIHeaderInfo (AVIFile As String, HeaderAttribute as THeaderAttribute) as String

Description

Used to retrieve the THeaderAttribute information about the video clip specified.

When the clip is opened a first time, all the whole 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;


See Also
Player features Recording methods and properties TAVIMuxConfig TOnPlayerStateChanged TPlayerState TASFDeinterlaceMode TAutoFileName TOnPlayerBufferingData TOnRecordingCompleted TOnRecordingReadyToStart TRecordingMethod TSyncPreview AudioChannelRenderMode AudioRecording AudioStreamNumber AudioSyncAdjustment AutoFileNameMinDigits AutoStartPlayer AVIDuration AVIDurationUpdated AVIFormatOpenDML AVIInfo AVIInfo2 ClosePlayer Encoder_SetInt FastForwardPlayer HoldRecording IsPlayerAudioStreamAvailable IsPlayerVideoStreamAvailable IsRecordingPaused Last_Clip_Played Last_Recording_FileName OnBacktimedFramesCountReached OnCopyPreallocDataCompleted OnCopyPreallocDataProgress OnCopyPreallocDataStarted OnCreatePreallocFileCompleted OnCreatePreallocFileStarted OnDiskFull OnPlayerBufferingData OnPlayerEndOfStream OnPlayerStateChanged OnPlayerUpdateTrackbarPosition OnRecordingCompleted OnRecordingPaused OnRecordingReadyToStart OnRecordingStarted OnReencodingCompleted OnReencodingStarted OpenPlayer OpenPlayerAtFramePositions OpenPlayerAtTimePositions PausePlayer PauseRecording PlayerAudioCodec PlayerAudioRendering PlayerDuration PlayerDVSize PlayerFastSeekSpeedRatio PlayerFileName PlayerForcedCodec PlayerFrameCount PlayerFramePosition PlayerFrameRate PlayerFrameStep PlayerRefreshPausedDisplay PlayerRefreshPausedDisplayFrameRate PlayerSpeedRatio PlayerTimePosition PlayerTrackBar PlayerTrackBarScale PlayerTrackBarSynchrone PlayerVideoCodec PreallocCapFileCopiedAfterRecording PreallocCapFileEnabled PreallocCapFileName PreallocCapFileSizeInMB RecordingBacktimedFramesCount RecordingCanPause RecordingDuration RecordingFileName RecordingFileSizeMaxInMB RecordingFourCC RecordingHeight RecordingInNativeFormat RecordingKBytesWrittenToDisk RecordingMethod RecordingSize RecordingTimer RecordingTimerInterval RecordingWidth ResumeRecording RewindPlayer RunPlayer RunPlayerBackwards SaveCompressorSettingsToDataString SetMultiplexerFilterByName ShowDialog SourceStream StartAudioRecording StartRecording StartSynchronized StopPlayer StopRecording StoragePath SynchronizationRole Synchronized SyncPreview VideoHeight_PreferredAspectRatio VideoWidth_PreferredAspectRatio