camera set max length video - part-cw/lambdanative GitHub Wiki

(camera-set-max-length-video l)

camera-set-max-length-video sets the maximum length of video to record (in seconds).

Parameter Description
l maximum length of video in seconds

Example

Example 1: Set the maximum length of video to record to 15 seconds, then take a video.

(camera-set-max-length-video 15)
(camera-start-video (string-append (system-directory) (system-pathseparator) "test.mp4"))