Returns the maximum length of recorded video for a given set of video recording parameters. The value returned reflects both the data rate associated with the given parameters and the amount of space remaining on the hard drive.

See also Mac client functions.


time = MovieRecording_MaxLength(width, framerate, sound)


  • width - Width of the output video (in pixels) (number)
  • framerate - Number of video frames to be recorded per second (number)
  • sound - 1 if game audio is to be captured with video; otherwise 0 (number)


  • time - Maximum length of recorded video (HH:MM:SS) (string)
This function is designed for the Mac OS X client only