Tune slideshow timing and title overlays

This commit is contained in:
hbrain 2026-05-24 19:56:30 +00:00
parent 51146f75b9
commit 54a474f278
4 changed files with 246 additions and 31 deletions

View file

@ -85,16 +85,18 @@ IMG_002.jpg: Louvre
Basic:
```bash
python3 movmaker.py input --output movie.mp4
python3 movmaker.py input
```
With options:
```bash
python3 movmaker.py input \
--output out/movie.mp4 \
--image-duration 3 \
--fade 1 \
--out-dir out \
--image-duration 6 \
--fade 3 \
--audio-fade 10 \
--first-transition-at 12 \
--resolution 1920x1080 \
--fps 30
```
@ -103,12 +105,17 @@ python3 movmaker.py input \
- scans one flat input directory
- auto-detects media/audio/data files by extension
- shows each image for 3 seconds by default
- shows each image fully visible for 6 seconds by default, not counting crossfades
- keeps the first image longer so the first transition starts at 12 seconds by default
- includes video clips inline
- crossfades between media items
- crossfades between media items over 3 seconds by default
- loops/trims music to match the video
- overlays title/date/place at the beginning
- writes an MP4 file
- fades music in at the beginning and out at the end over 10 seconds by default
- overlays the opening title for the first 6 seconds: large bold title, then smaller non-bold date/location on one line
- adds persistent bottom-left title/date/place and bottom-right `marijo@novosel.dk` stamps
- writes an MP4 file named like `YYYYMMDD_title.mp4` by default
- takes `YYYYMMDD` from the first picture/video metadata, falling back to file modification date
- uses local `ffmpeg/ffmpeg` and `ffmpeg/ffprobe` when present, otherwise system tools
## Notes