ESP32-CAM AVI Video Output File

Electronics and Programming tutorials and projects

ESP32-CAM AVI Video Output File

esp32-cam avi video file export

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 firmware

In the settings menu, there are 5 options:

esp32-cam avi video recorder
  1. 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.
  2. 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.
  3. Auto Recorder: with this item you can set the auto recorder mode in the “Motion Detector” or “Time Lapse” modes.
  4. Record Trigger: this item lets you to start recording with an external button.
  5. 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 is available in the following

 

2 Responses

  1. Javi says:

    It was a nice project, Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

17 − 17 =