Example to record a video of 10 seconds ( configurable whenever the ESp32 CAM boots up) and save it to external SD Card connected via SPI pin.
The video length is configurable and can be changed.
Code can also be modified to record a video whenver you want by setting a start_record variable to 1 anywhere in the code.