Thanks to visit codestin.com
Credit goes to lib.rs

#ffmpeg #photo #timelapse

app zeitraffer

Generate a time lapse video from photos, including subtitles with the photo creation times. Uses ffmpeg.

1 unstable release

Uses new Rust 2024

0.1.0 Aug 30, 2025

#166 in Video

MIT/Apache

19KB
409 lines

Zeitraffer

Generate a time lapse video from photos, including subtitles with the photo creation times.

Uses ffmpeg.

CLI

Usage: zeitraffer [OPTIONS] [INPUT_FOLDERS]...

Arguments:
  [INPUT_FOLDERS]...  Folders containing images to consume. Image files are assumed to in chronological order.

Options:
      --take-every-nth <TAKE_EVERY_NTH>
          For values >1, skip over n-1 input files for each file that is processed further. [default: 1]
      --datetime-pattern <DATETIME_PATTERN>
          eg. Mo-Fr 08:00-18:00. see https://lib.rs/crates/opening-hours
      --min-time-between <MIN_TIME_BETWEEN>
          After using a frame, skip later frames until --min-time-between is reached. [default: 0min]
      --output-video <OUTPUT_VIDEO>
          Formatted using strfmt, variables: count, total_taken, framerate, resolution, quality [default: timelapse-{total_taken}-{resolution}-q{quality}.webm]
      --framerate <FRAMERATE>
          [default: 30]
      --scale-filter [<SCALE_FILTER>]
          https://trac.ffmpeg.org/wiki/Scaling [default: 1920:-1]
      --quality <QUALITY>
          ffmpeg -crf flag, https://developers.google.com/media/vp9/settings/vod/#quality [default: 15]
  -h, --help
          Print help

Dependencies

~16–31MB
~438K SLoC