Giter Club home page Giter Club logo

esp32-timelapse-webcam's Introduction

ESP32 Timelapse / Webcam

ESP32 Cam project for timelapse and streaming.

The project was started with the code of bitluni/ESP32CamTimeLapse.

Functions

  • Webpage
  • Rotate Img / Stream
  • Changed values are saved permanently
  • To reset saved settings to default use webpage or restart ESP32 twice within 10 seconds

Configure

  • Rename include\wifi_credentials.example to include\wifi_credentials.h and enter your WiFi credentials in the file.
  • Remove the comment for your board in include\pins_camera.h and comment all other boards

Create MP4 from timelapse JPG

Converting the images to a video you can use ffmpeg encoder.

ffmpeg.exe -r 60 -f image2 -i "C:\Temp\timelapse\pic%05d.jpg"  -codec libx264 -crf 23 -pix_fmt yuv420p -vf "transpose=1" "C:\Temp\timelapse\timelapse.mp4"

Parameters

  • -r <rate> set the framerate (fps)
  • -f <fmt> force input format
  • -i <infile> inputfile, %05d means that all files from 00000 to 99999 are used
  • -codec <codec> Set the video codec
  • -crf <crf> CRF scale is 0–51, where 0 is lossless, 23 is the default, and 51 is worst quality possible
  • -pix_fmt <pixel format> specifies the pixel format
  • -start_number <number> defines the start number, if not to be started at picture 0
  • -vframes <number> specifies the number frames/images in the video, if not all images should be used
  • -vf "transpose=<number>" Rotating: 0 = 90° Counterclockwise, 1 = 90° Clockwise, 2 = 90° Counterclockwise, 3 = 90° Clockwise and Vertical Flip. Use -vf "transpose=2,transpose=2" for 180 degrees

ToDO

  • Add NTP time sync

Links

esp32-timelapse-webcam's People

Contributors

bitluni avatar feilimb avatar jackgruber avatar wzy-99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.