Video Narration for Openclaw

A high-precision technical skill for generating professional AI voiceovers with automated scene analysis and frame-accurate audio-video synchronization.

feiskyer
v1.0.1
Apr 16, 2026
0
723
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install narrate-video

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install narrate-video using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Video Narration?

The Video Narration skill is a sophisticated tool within the Openclaw Skills ecosystem designed for developers and content creators who need to add high-quality commentary to video files. By leveraging Azure Text-to-Speech (TTS) and FFmpeg, it automates the tedious process of timing scripts to visual scene changes. It doesn't just generate audio; it analyzes the underlying video stream to ensure that narration begins only after relevant visual content is visible, creating a natural presenter-like experience.

This skill is particularly optimized for technical demos, screen recordings, and educational tutorials. It provides a robust framework for managing speech rates, calculating word counts per time window, and handling complex audio mixing challenges like volume normalization and multi-segment overlapping. Through a modular Python-based workflow, Openclaw Skills enables users to iterate on scripts and timing until the final output is polished and professionally synced.

Video Narration Use Cases

  • Creating narrated tutorials or walk-throughs for software products
  • Adding professional commentary to recorded presentations or webinars
  • Localizing video content with dubbed voiceovers in multiple languages
  • Generating automated explanations for complex screen recordings or bug reports
  • Transforming silent video demos into engaging marketing material

How Video Narration Works

  1. The skill performs a deep analysis of the video metadata and extracts frames at regular intervals to map scene transitions.
  2. Users define or refine a script where narration segments are mapped to specific start-time timestamps.
  3. The system calculates word counts based on speech rates to ensure the text fits within the available visual window without rushing.
  4. Individual audio segments are generated via Azure TTS and cached to allow for efficient iteration.
  5. FFmpeg is used to mix the generated audio segments into a single track, carefully synchronized with the original video stream.
  6. A final verification phase checks for volume levels, silence gaps, and visual alignment to guarantee a professional finish.

Video Narration Setup

Ensure you have FFmpeg and Python installed on your system. You will also need an active Azure Speech service subscription.

# Install the Azure Cognitive Services Speech SDK
pip install azure-cognitiveservices-speech python-dotenv

# Configure your environment credentials
echo "AZURE_SPEECH_KEY=your-key-here" >> ~/.narrate_video.env
echo "AZURE_SPEECH_REGION=your-region-here" >> ~/.narrate_video.env

# Verify dependencies are accessible
command -v ffmpeg && command -v ffprobe

Video Narration Data Schema & Taxonomy

The skill maintains a structured workflow using a dedicated Python script and a directory for cached audio segments.

File/Folder Description
narration_script.py The main execution script containing segments, voice settings, and file paths.
narration_segments/ Directory containing individual .mp3 files for each narration segment.
output_video.mp4 The final rendered video with the merged narration track.
references/voices.md A lookup table for supported Azure voices and their estimated speech rates.

Video Narration Advanced Features

  • Smart Caching: Only regenerates audio for segments where the text has changed, saving API costs and time.
  • Overlap Detection: Automatically aborts the build process if audio segments overlap, preventing broken transitions.
  • Volume Normalization: Uses specialized FFmpeg filters to ensure consistent audio levels across all mixed segments.
  • Variable Speech Rates: Supports fine-tuning of word-per-second estimates based on the specific Azure voice selected.
  • Visual-First Logic: Enforces a delay between visual appearance and audio start to mimic natural human presentation styles.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*