terrain-route-video
jack4world 제작
Coding Agents & IDEs요약
Generate a minimalist terrain-style animated driving route video (MP4) from a list of stops (cities/POIs)
설명
이 스킬이 하는 일
Generates an animated driving route video (MP4) from a list of stops or a GPX/KML track file. Uses OSRM for road-following geometry, OpenTopoMap for terrain tiles, Matplotlib for frame rendering, and FFmpeg for encoding. Output is a fly-follow camera animation with a drawn route line and stop labels.
Combines road-accurate geometry from OSRM with real terrain tiles and video encoding in a single script, without requiring a Node.js/Remotion setup.
사용 시점
- Exporting a road trip recap as a shareable video
- Creating a route flythrough for a travel blog or YouTube video
- Visualizing a hiking or cycling track from a GPX export
- Animating a delivery or logistics route across cities
- Making a presentation asset showing a multi-stop journey
예시 워크플로
User asks: create a route video from Xiangyang to Yueyang following highways
- 1
Create stops.json with coordinates for each city stop
- 2
Set up a Python venv and install numpy, matplotlib, pillow, requests
- 3
Run terrain_route_video.py with --stops stops.json, --size 1600x900, --fps 30, --duration 12, and title/subtitle flags
- 4
Script fetches OSRM road geometry and downloads OpenTopoMap tiles into .tile-cache/
- 5
Matplotlib renders frames into frames/ directory and FFmpeg encodes out.mp4
out.mp4 — a 12-second 1600x900 animated terrain route video with a red route line, cyan head dot, and stop labels
요구 사항
- FFmpeg installed and available on PATH
설치
clawhub install jack4world/terrain-route-videoCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.