With this arduino source code, you can record a video and time lapse and export the recorded videos as an.avi file. ESP32-cam AVI video exporter has been added to the “IP Camera” and “Camera Microphone” new firmware revision.
In the following short video, I have showed the time lapse and.avi file export features, including the network stream player (with two cameras) and my amazing “RGB Music Player” project:
How to record video with ESP32-CAM Arduino firmwareIn the settings menu, there are 5 options:
- Quality: The quality can be set on High (800*600), Medium (like the above youtube time lapse video 640*480) or low (320*240). Also the quality can be changed in the source code.
- Record Time: with this item, you can set the recorded.jp4 or.jp5 file time for either the normal recorded video or the time lapse video.
- Auto Recorder: with this item you can set the auto recorder mode in the “Motion Detector” or “Time Lapse” modes.
- Record Trigger: this item lets you to start recording with an external button.
- Record Light: this item lets you to choose record the video with the on-chip light on or off.
If you select Motion Detector, the recording will start after detecting motion.
If you enable the Record Trigger, the recording will start after triggering the input pin by an external button or a sensor such a PIR sensor.
- It keeps recording for the selected “Record Time” seconds.
- If you open any pages (Stream, settings or file manager), the recording stops.
If you select TL [time] in the Auto Recorder option, after click on the “Save” button, the time lapse recorder will start immediately.
The time lapse will record with 10 frames per second, so if you set the “Record Time” on “10 seconds” and set the “Auto Recorder” on “TL 5 Sec”, the recording will take 500 seconds and the esp32-cam will take 100 photos every 5 seconds.
The ESP32-CAM AVI Video File Exporter (Rev 2.0) is available in the following Links:SpyCam Project (Video&Audio Recorder) Source Code, PCB and Schematic Plans (ESP32-Cam) - Rev 2.0
Arduino ESP32-CAM CCTV, WiFi IP Camera Source Code - Rev 2.0
Arduino Source Code of Ai-Thinker ESP32-CAM CCTV, WiFi IP Camera Firmware - Rev 1.1 (DEMO)
Comments