Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计提醒

video-captions视频字幕

Agent Skill

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

总安装

25,931

周安装

1,049

GitHub Stars

2

下载量

8,140
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:video-captions(视频字幕)
来源仓库:https://github.com/ivangdavila/video-captions
安装命令:
openclaw skills install video-captions
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install video-captions

简介

通过多引擎转录和样式预设生成专业字幕,支持字级计时与烧录。

  • 适用于视频制作、动画合成及 Remotion 项目开发中的字幕处理。
  • 需传入视频路径、分辨率及时长参数,输出指定格式的字幕文件。
  • 涉及人物肖像或商业发布时,应确认素材版权与内容合规性。
  • video-captions 属于效率类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
Video Captions
slug
video-captions
version
1.0.1
homepage
https://clawic.com/skills/video-captions
description
Generate professional captions and subtitles with multi-engine transcription, word-level timing, styling presets, and burn-in.
changelog
Declared optional cloud API env vars in metadata to clarify that cloud engines require user-provided keys
metadata
{"clawdbot":{"emoji":"🎬","requires":{"bins":["ffmpeg","whisper"],"env":{"optional":["ASSEMBLYAI_API_KEY","DEEPGRAM_API_KEY"]}},"os":["linux","darwin"]}}

When to Use

User needs captions or subtitles for video content. Agent handles transcription, timing, formatting, styling, translation, and burn-in across all major formats and platforms.

Quick Reference

TopicFile
Transcription enginesengines.md
Output formatsformats.md
Styling presetsstyling.md
Platform requirementsplatforms.md

Core Rules

1. Engine Selection by Context

ScenarioEngineWhy
Default (recommended)Whisper local100% offline, no data leaves machine
Apple SiliconMLX WhisperNative acceleration, still local
Word timestampswhisper-timestampedDTW alignment, still local

Default: Whisper local (turbo model). See engines.md for optional cloud alternatives.

2. Format Selection by Platform

PlatformFormatNotes
YouTubeVTT or SRTVTT preferred
Netflix/ProTTMLStrict timing rules
Social (TikTok, IG)Burn-in (ASS)Embedded in video
GeneralSRTUniversal compatibility
Karaoke/effectsASSAdvanced styling

Ask user's target platform if not specified.

3. Professional Timing Standards

Netflix-compliant (default):

  • Min duration: 5/6 second (0.833s)
  • Max duration: 7 seconds
  • Max chars/line: 42
  • Max lines: 2
  • Gap between subtitles: 2+ frames

Social media:

  • Shorter segments (2-4 words)
  • More frequent breaks
  • Centered or dynamic positioning

4. Segmentation Rules

Break lines:

  • After punctuation marks
  • Before conjunctions (and, but, or)
  • Before prepositions

Never separate:

  • Article from noun
  • Adjective from noun
  • First name from last name
  • Verb from subject pronoun
  • Auxiliary from verb

5. Word-Level Timestamps

Use word timestamps for:

  • Karaoke-style highlighting
  • Precise sync verification
  • TikTok/Instagram animated captions
  • Quality checking transcript accuracy

Enable with --word-timestamps flag.

6. Speaker Identification

For multi-speaker content:

  • Use diarization (pyannote local, or cloud APIs if configured)
  • Format: [Speaker 1] or [Name] if known
  • SDH format: JOHN: What do you think?

7. Quality Verification

Before delivering:

  • Check sync at start, middle, end
  • Verify character limits per line
  • Confirm speaker labels if multi-speaker
  • Test burn-in render quality

Workflow

Basic Transcription

# Auto-detect language, output SRT
whisper video.mp4 --model turbo --output_format srt

# Specify language
whisper video.mp4 --model turbo --language es --output_format srt

# Multiple formats
whisper video.mp4 --model turbo --output_format all

Word-Level Timestamps

# Using whisper-timestamped
whisper_timestamped video.mp4 --model large-v3 --output_format srt

# With VAD pre-processing (reduces hallucinations)
whisper_timestamped video.mp4 --vad silero --accurate

Styled Subtitles (ASS)

# Generate SRT first, then convert with style
ffmpeg -i video.mp4 -vf "subtitles=video.srt:force_style='FontName=Arial,FontSize=24,PrimaryColour=&HFFFFFF,OutlineColour=&H000000,Outline=2,Shadow=1,Alignment=2'" output.mp4

Burn-In for Social Media

# TikTok/Instagram style (centered, bold)
ffmpeg -i video.mp4 -vf "subtitles=video.srt:force_style='FontName=Montserrat-Bold,FontSize=32,PrimaryColour=&HFFFFFF,OutlineColour=&H000000,Outline=3,Shadow=0,Alignment=10,MarginV=50'" output.mp4

# Netflix style (bottom, clean)
ffmpeg -i video.mp4 -vf "subtitles=video.srt:force_style='FontName=Netflix Sans,FontSize=48,PrimaryColour=&HFFFFFF,OutlineColour=&H000000,Outline=2,Shadow=1,Alignment=2'" output.mp4

Translation

# Transcribe + translate to English
whisper video.mp4 --model turbo --task translate --output_format srt

Format Conversion

# SRT to VTT
ffmpeg -i video.srt video.vtt

# SRT to ASS (for styling)
ffmpeg -i video.srt video.ass

Caption Traps

  • Hallucinations on silence → Use VAD pre-processing or trim silent sections
  • Wrong language detection → Specify --language explicitly for mixed content
  • Timing drift in long videos → Use word timestamps + manual spot-check
  • Character limit violations → Set --max_line_width 42 for Netflix compliance
  • Missing speaker IDs → Enable diarization for multi-speaker content
  • Burn-in quality loss → Use high bitrate output (-b:v 8M)

Common Scenarios

YouTube Video

  1. Transcribe: whisper video.mp4 --output_format vtt
  2. Upload .vtt to YouTube Studio
  3. Review auto-sync suggestions

TikTok/Instagram Reel

  1. Transcribe with word timestamps
  2. Apply bold animated style
  3. Burn-in: ffmpeg -i video.mp4 -vf "subtitles=video.ass" -c:a copy output.mp4
  4. Export at platform resolution

Netflix/Professional

  1. Use Whisper large-v3 for best local accuracy
  2. Export TTML format
  3. Verify: 42 chars/line, 2 lines max, timing gaps
  4. Include translator credit as last subtitle

Podcast/Interview

  1. Enable speaker diarization
  2. Format as dialogue: [SPEAKER]: text
  3. SDH option: include [music], [laughter] descriptions

Foreign Film Translation

  1. Transcribe in original language
  2. Translate: --task translate for English
  3. Or use external translation + timing sync

External Endpoints

Default: 100% LOCAL processing. No network calls.

EndpointData SentWhen Used
Whisper (local)None (local)Default — always
api.assemblyai.comAudio fileOnly if user sets ASSEMBLYAI_API_KEY
api.deepgram.comAudio fileOnly if user sets DEEPGRAM_API_KEY

Cloud APIs are documented as alternatives but never used unless user explicitly provides API keys and requests cloud processing. By default, all processing stays on your machine.

Security & Privacy

Default workflow is 100% offline:

  • Whisper runs locally on your machine
  • Generated subtitle files stay local
  • Burned-in videos stay local
  • No network calls made

Cloud APIs are OPTIONAL and OPT-IN:

  • Only used if you set ASSEMBLYAI_API_KEY or DEEPGRAM_API_KEY
  • Only triggered when you explicitly use cloud engine commands
  • If you never set these keys, no audio ever leaves your machine

This skill does NOT:

  • Upload anything by default
  • Require internet connection for basic use
  • Store data externally

Related Skills

Install with clawhub install <slug> if user confirms:

  • ffmpeg — video/audio processing
  • video — general video tasks
  • video-edit — video editing
  • audio — audio processing

Feedback

  • If useful: clawhub star video-captions
  • Stay updated: clawhub sync

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

95.72%
按下载量换算7,792

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills