ImagePicker.StartVideoCapture
-----------------------------

Starts video capture.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ImagePicker](component_ImagePicker.md) | [7.3](newinversion73.md) | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "ImagePicker.StartVideoCapture" ) ### Parameters

none

### Result

Returns OK or error.

### Description

Starts video capture.  
Select the camera via [ImagePicker.SetCameraDevice](ImagePickerSetCameraDevice.md) 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](ImagePickerStopVideoCapture.md) 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

- [ImagePicker.SetCameraDevice](ImagePickerSetCameraDevice.md)
- [ImagePicker.StopVideoCapture](ImagePickerStopVideoCapture.md)

This function is free to use.

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

  
[ImagePicker.SetVideoMaximumDuration](ImagePickerSetVideoMaximumDuration.md) - [ImagePicker.StopVideoCapture](ImagePickerStopVideoCapture.md)

[HTML Version](ImagePickerStartVideoCapture.shtml)