कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

terrain-route-video

jack4world द्वारा

Coding Agents & IDEs
353clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

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. 1

    Create stops.json with coordinates for each city stop

  2. 2

    Set up a Python venv and install numpy, matplotlib, pillow, requests

  3. 3

    Run terrain_route_video.py with --stops stops.json, --size 1600x900, --fps 30, --duration 12, and title/subtitle flags

  4. 4

    Script fetches OSRM road geometry and downloads OpenTopoMap tiles into .tile-cache/

  5. 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-video

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक