Skip to content

brianmcdonnell/shotclock

Repository files navigation

ShotClock

Organize photos and videos by date & time taken.

Functionality

  • Rename files by timestamp.
  • Offset timestamps by any time interval.
  • Supports jpg, avi and mov files.

Basic Usage

  • $ python shotclock.py rename [options] path
  • $ python shotclock.py timeshift [options] path

Examples

Adjust all AVIs and JPG metadata timestamps by -4 hours:

$ python shotclock.py timeshift --hours -4 *.jpg *.avi

Rename all JPGs by metadata timestamp:

$ python shotclock.py rename *.jpg

Output

Output is always sent to an ./output/ sub-directory. Original files are not modified.

Use Cases

  • Want your photos and videos to be listed in chronological order when shown in a directory? Rename them by timestamp.
  • Went on holidays but forgot to update your camera to local time? Look for sunrise/sunset/clocks in your photos to figure out the time offset. Then apply the offset to all photos.
  • Have multiple cameras taking pictures of the same event (wedding, party etc...). Find common photos of the same moment to determine the delta between each camera. Then apply the offset to all photos.

About

Organize photos and videos by date & time taken.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published