- Documentation
- Client functions
- getRecordingInfo
Function
getRecordingInfo
Returns recording information: whether it runs (recording), the frame count, frames per second, the length in ms (duration), the image size, the data size in bytes (size) and the stop reason (stopReason).
Syntax
table getRecordingInfo(element recording)Arguments
recordingelement- The recording.
Returns
An info table.
Example
local rec = loadRecording("powtorki/ostatnia.avi")
local info = rec and getRecordingInfo(rec)
if info then outputChatBox(("%d klatek, %.1f s"):format(info.frames, info.duration / 1000)) end