Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Starts video capture.

Component Version macOS Windows Linux Server iOS SDK
ImagePicker 7.3 ❌ No ❌ No ❌ No ❌ No ✅ Yes
MBS( "ImagePicker.StartVideoCapture" )




Returns OK or error.


Starts video capture.
Select the camera via ImagePicker.SetCameraDevice function.
Returns OK on success or "Failed" on failure. This method may return a value of "Failed" for various reasons, among them the following:
  • Movie capture is already in progress
  • The device does not support movie capture
  • The device is out of disk space

Use this function in conjunction to initiate the programmatic capture of a movie. You can take more than one movie without leaving the interface, but to do so requires you to hide the default image picker controls.
Calling this method while a movie is being captured has no effect. You must call the ImagePicker.StopVideoCapture function, and then wait until the associated script trigger is run, before you can capture another movie.
Calling this method when the source type of the image picker is set to a value other than Camera results in an error.

See also

This function is free to use.

Created 17th June 2017, last changed 18th June 2017

ImagePicker.SetVideoMaximumDuration - ImagePicker.StopVideoCapture