Improve GPS reverse geocoding
This commit is contained in:
parent
bc935d2e0a
commit
e35201496f
2 changed files with 181 additions and 16 deletions
12
README.md
12
README.md
|
|
@ -23,7 +23,7 @@ sudo apt install ffmpeg
|
|||
The default title/stamp styling uses these fonts:
|
||||
|
||||
- Bebas Neue for the opening title, date, and location
|
||||
- Inter for the bottom-left/bottom-right stamps and per-file captions
|
||||
- Noto Sans SemiBold for the bottom-left/bottom-right stamps and per-file captions
|
||||
|
||||
Both fonts support common Danish and Croatian characters such as `æ ø å Æ Ø Å č ć ž š đ Č Ć Ž Š Đ`.
|
||||
|
||||
|
|
@ -33,8 +33,8 @@ Install them locally for the current user:
|
|||
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/Inter%5Bopsz,wght%5D.ttf \
|
||||
'https://github.com/google/fonts/raw/main/ofl/inter/Inter%5Bopsz,wght%5D.ttf'
|
||||
curl -L -o ~/.local/share/fonts/google/NotoSans-SemiBold.ttf \
|
||||
'https://github.com/google/fonts/raw/main/ofl/notosans/NotoSans%5Bwdth,wght%5D.ttf'
|
||||
fc-cache -f ~/.local/share/fonts/google
|
||||
```
|
||||
|
||||
|
|
@ -42,7 +42,7 @@ Check that fonts are available:
|
|||
|
||||
```bash
|
||||
fc-match 'Bebas Neue'
|
||||
fc-match 'Inter'
|
||||
fc-match 'Noto Sans'
|
||||
```
|
||||
|
||||
## Input folder
|
||||
|
|
@ -98,6 +98,8 @@ If the date line is omitted, movmaker uses the date from the first picture/video
|
|||
May 14th 2026
|
||||
```
|
||||
|
||||
If the location line is omitted and GPS coordinates are found in the first picture/video that has them, movmaker reverse geocodes them and uses that as the location. It tries to return only `city/town/village, country`; if no city/town/village is found, it uses just the country.
|
||||
|
||||
Key/value format also works:
|
||||
|
||||
```text
|
||||
|
|
@ -154,7 +156,7 @@ python3 movmaker.py input --preview
|
|||
- fades music in over 2 seconds and out over 10 seconds by default
|
||||
- fades video in/out over 1.5 seconds by default
|
||||
- overlays the opening title for the first 6 seconds: large title, then date/location on one line
|
||||
- displays optional per-file captions at bottom center; use `|` to split caption lines
|
||||
- displays optional per-file captions at bottom center with a shadow; use `|` to split caption lines
|
||||
- adds persistent bottom-left title/date/place and bottom-right `@bubulescu` stamps
|
||||
- preserves special characters in rendered overlays and metadata
|
||||
- uses safe ASCII only for generated filenames, so special letters become readable equivalents like `Č` -> `C`, `å` -> `a`, `ø` -> `o`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue