TVideoGrabber.GetFrameInfoString

Prev

Next

TVideoGrabber

Methods

 




































































































Returns information about the current frame as string


Declaration
function GetFrameInfoString (FrameInfoStringId: TFrameInfoStringId): string;


wchar_t *__fastcall GetFrameInfoString(TFrameInfoStringId FrameInfoStringId);


Function GetFrameInfoString (FrameInfoStringId as TFrameInfoStringId) as String

Description


Depending of the FrameInfoStringId parameter (type TFrameInfoStringId), this function returns the following string about the current video frame:

Examples:

fis_DVTimeCode
time code expressed in hh:mm:ss:ff, e.g. 00:15:42:08

fis_DVDateTime
date/time stored on the tape, e.g. "2009-03-02 10:15:26"
(only for a DV camcorder playing a DV tape, this returns the date/time stored on the tape)

fis_TimeCode
frame time expressed in hh:mm::ss:hs, e.g. 00:00:00 53

fis_FrameTime
time expressed in 100ns units, e.g. 5351096

fis_FrameNumber
current frame number, e.g. 17

fis_FullInfo
all the information above in a single string, separated by (A)...(B)...(C)...(D)...(E)...(F) delimiters to facilitate an eventual parsing, e.g.:
"(A) 17 (B) 5351096 (C) 00:00:00 53 (D) 2009-03-02 10:15:35 (E) 00:15:42:08 (F)"


See Also
TCardinalDirection TAutoFileName TFrameCaptureDest TFrameGrabberRGBFormat TOnFrameCaptureCompleted TOnFrameOverlayUsingDC TOnFrameOverlayUsingDIB TTextOverlayAlign AdjustOverlayAspectRatio BurstCount BurstInterval BurstMode BurstType CaptureFrameSyncTo CaptureFrameTo DrawBitmapOverFrame FrameCaptureHeight FrameCaptureWidth FrameCaptureWithoutOverlay FrameCaptureZoomSize FrameGrabber FrameGrabberCurrentRGBFormat FrameGrabberRGBFormat GetFrameInfo GetLastFrameAsHBITMAP GetLastFrameAsTBitmap GetLastFrameBitmapBits GetLastFrameBitmapBits2 GetLastFrameWaitTimeoutMs ImageOverlay_StretchToVideoSize InFrameProgressEvent JPEGPerformance JPEGProgressiveDisplay JPEGQuality Last_BurstFrameCapture_FileName Last_CaptureFrameTo_FileName MouseWheelEventEnabled OnDiskFull OnFrameBitmap OnFrameBitmapEventSynchrone OnFrameOverlayUsingDC OnFrameOverlayUsingDIB OnFrameOverlayUsingVIDEOHDR OnMouseDown OnMouseMove OnMouseUp OnMouseWheel OverlayAfterTransform RefreshPlayerOverlays SetFrameCaptureBounds SetImageOverlay_AlphaBlend SetImageOverlay_AlphaBlendValue SetImageOverlay_ChromaKey SetImageOverlay_ChromaKeyLeewayPercent SetImageOverlay_ChromaKeyRGBColor SetImageOverlay_Enabled SetImageOverlay_Height SetImageOverlay_LeftLocation SetImageOverlay_RotationAngle SetImageOverlay_StretchToVideoSize SetImageOverlay_TargetDisplay SetImageOverlay_TopLocation SetImageOverlay_Transparent SetImageOverlay_TransparentColorValue SetImageOverlay_UseTransparentColor SetImageOverlay_Width SetImageOverlayFromBMPFile SetImageOverlayFromHBitmap SetImageOverlayFromHBitmap2 SetImageOverlayFromImageFile SetImageOverlayFromImageFile2 SetImageOverlayFromJPEGFile SetImageOverlayFromTBitmap SetImageOverlayFromTBitmap2 SetImageOverlayFromTImage SetImageOverlayFromTImage2 SetTextOverlay_Align SetTextOverlay_BkColor SetTextOverlay_CustomVar SetTextOverlay_Enabled SetTextOverlay_Font SetTextOverlay_FontColor SetTextOverlay_GradientColor SetTextOverlay_GradientMode SetTextOverlay_HighResFont SetTextOverlay_Left SetTextOverlay_Right SetTextOverlay_Scrolling SetTextOverlay_ScrollingSpeed SetTextOverlay_Shadow SetTextOverlay_ShadowColor SetTextOverlay_ShadowDirection SetTextOverlay_String SetTextOverlay_TargetDisplay SetTextOverlay_Top SetTextOverlay_Transparent ShapeOverlay ShapeOverlayEnabled ShapeOverlayList StoragePath TextOverlay_Align TextOverlay_BkColor TextOverlay_CreateCustomFont TextOverlay_CreateCustomFont2 TextOverlay_Enabled TextOverlay_Font TextOverlay_FontColor TextOverlay_Left TextOverlay_Right TextOverlay_Scrolling TextOverlay_ScrollingSpeed TextOverlay_Selector TextOverlay_Shadow TextOverlay_ShadowColor TextOverlay_ShadowDirection TextOverlay_String TextOverlay_Top TextOverlay_Transparent TranslateMouseCoordinates WebcamStillCaptureButton