ZD Screen Recorder SDK API – ScnLib_GetVideoTime()

ScnLib_GetVideoTime()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) DWORD __stdcall ScnLib_GetVideoTime(void);
C# [DllImport("ScnLib.dll")] public static extern uint ScnLib_GetVideoTime();
Basic Public Declare Function ScnLib_GetVideoTime Lib "ScnLib.dll" () As UInt32
Delphi function ScnLib_GetVideoTime(): LongWord; stdcall; external 'ScnLib.dll';
  • Description
    Check the current duration of video encoding.

  • Parameters
    None.

  • Return Value
    The current duration of video encoding, expressed in milliseconds.

  • Remarks
    Use this function to check the current duration of video encoding. Occasionally, if the computer’s hardware isn’t sufficiently powerful or the system is overloaded, the video encoding speed might lag behind the recording process. This delay can result in screen frames being temporarily buffered, awaiting encoding, causing the video encoding time to fall behind the actual recording time. If buffered frames remain at the end of a recording, additional time will be needed to complete their encoding. To monitor the progress of video encoding and inform the user accordingly, you may call this function repeatedly in a separate thread.

  • See Also
    ScnLib_GetRecTime()
    ScnLib_GetAudioTime()

Shopping Cart
  • Your cart is empty.
Scroll to Top