Skip to content

GetFrameInfoString

method

Delphi
function GetFrameInfoString (FrameInfoStringId: TFrameInfoStringId): string;
C++Builder
System::UnicodeString __fastcall GetFrameInfoString(TFrameInfoStringId FrameInfoStringId);
C#
public string GetFrameInfoString(TFrameInfoStringId FrameInfoStringId);
VB.NET
Public Function GetFrameInfoString(FrameInfoStringId As TFrameInfoStringId) As String
C++/Qt
wchar_t * GetFrameInfoString (TFrameInfoStringId FrameInfoStringId);

Returns information about the current video frame as a string. Depending on the FrameInfoStringId parameter (type TFrameInfoStringId), this function returns the following string:

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)".