Add font styling and faster preview options

This commit is contained in:
hbrain 2026-05-24 20:22:22 +00:00
parent 54a474f278
commit ffc1974343
2 changed files with 86 additions and 26 deletions

View file

@ -18,6 +18,40 @@ Install on Debian/Ubuntu/Raspberry Pi OS:
sudo apt install ffmpeg
```
## Fonts
The default title/stamp styling uses these fonts:
- Bebas Neue for the opening title, date, and location
- Montserrat for the bottom-left and bottom-right stamps
Install them locally for the current user:
```bash
mkdir -p ~/.local/share/fonts/google
curl -L -o ~/.local/share/fonts/google/BebasNeue-Regular.ttf \
'https://github.com/google/fonts/raw/main/ofl/bebasneue/BebasNeue-Regular.ttf'
curl -L -o ~/.local/share/fonts/google/Montserrat%5Bwght%5D.ttf \
'https://github.com/google/fonts/raw/main/ofl/montserrat/Montserrat%5Bwght%5D.ttf'
fc-cache -f ~/.local/share/fonts/google
```
Optional font also used during experimentation:
```bash
curl -L -o ~/.local/share/fonts/google/Cinzel%5Bwght%5D.ttf \
'https://github.com/google/fonts/raw/main/ofl/cinzel/Cinzel%5Bwght%5D.ttf'
fc-cache -f ~/.local/share/fonts/google
```
Check that fonts are available:
```bash
fc-match 'Bebas Neue'
fc-match 'Montserrat'
fc-match 'Cinzel'
```
## Input folder
Example: