Skip to content

wangombe-g/Timelapse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Timelapse.sh

Description

The timelapse.sh script is a utility for capturing photos and using ffmpeg to create a timelapse using a connected camera.

Features

  • Capture images at regular intervals
  • Generate timelapse videos from captured images
  • Customizable capture settings (interval, duration, output format, etc.)

Prerequisites

Usage

  1. Clone the repository:

    git clone https://github.com/wangombe-g/timelapse.git
  2. Navigate to the project directory:

    cd timelapse
  3. Run chmod +x timelapse.sh

  4. Run the ./timelapse.sh script:

    ./timelapse.sh 1.5 8
  5. The captured images will be stored in the timelapse/timelapse directory, and the timelapse video will be saved as output/{current_data}.mp4.

Configuration

You can customize the following settings in the config.sh file:

  • INTERVAL: Time interval between each capture (in seconds)
  • DURATION: Total duration of the timelapse (in minutes)

Usage: ./timelapse.sh <duration in hours> <interval in seconds>" Example: ./timelapse.sh 1 5 will capture images for 1 hour at an interval of 5 seconds.

Contributing

You're welcome to suggest an area of improvement through a pull request.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages