Skip to content

Commit de237e7

Browse files
committed
Update README.md
1 parent a22ab22 commit de237e7

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,15 @@ You can compress the output `.mov` file using ffmpeg and H.264 by specifying the
7575
python pyelapse.py create-timelapse /path/to_image_folder/ --output output.mov --fps 24 --crf 23
7676
```
7777

78-
This will create `output.mov` and then compress it to `output_compressed.mov` using ffmpeg.
78+
This will create `output.mov` and then compress it to `output_compressed.mov` using ffmpeg.
79+
80+
### Timestamps on frames
81+
82+
To overlay the EXIF date/time in the lower-right corner of each frame while creating the timelapse, add `--timestamp`:
83+
84+
```bash
85+
python pyelapse.py create-timelapse /path/to_image_folder/ --output output.mp4 --fps 24 --timestamp
86+
```
87+
88+
- If EXIF `DateTimeOriginal` is present, that timestamp is used.
89+
- If EXIF is missing, the script falls back to the filename (if it contains digits), otherwise to the current date/time at build.

0 commit comments

Comments
 (0)