FFEncoder ProgressEvent
ProgressInfo
PProgressInfo = ^TProgressInfo; TProgressInfo = record TaskIndex: Integer; // index of converting tasks FileIndex: Integer; // index of input files in the current task FrameNumber: Integer; // current frame number FPS: Integer; // video converting speed, frames per second, not valid when only audio output Quality: Single; // quality BitRate: Single; // bitrate CurrentSize: Int64; // current output file size in bytes CurrentDuration: Int64; // current duration time in microsecond TotalDuration: Int64; // total output duration time in microsecond end;
ProgressEvent
TProgressEvent = procedure(Sender: TObject; AProgressInfo: PProgressInfo) of object;