返回顶部
a

audio-srt-workflow音频字幕工作流

Generate or align SRT subtitles from audio using this repository. Use when the user asks for subtitle generation, transcript-to-audio alignment, timing cleanup, SRT quality checks, or subtitle preview video rendering.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.2
安全检测
已通过
91
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

audio-srt-workflow

Audio SRT Workflow

Use this skill for end-to-end subtitle work.

This package is self-contained for runtime entrypoints:

  • - INLINECODE0
  • INLINECODE1
  • INLINECODE2
  • INLINECODE3
  • INLINECODE4

Scope

  • - Mode A: audio + reference text -> aligned SRT
  • Mode B: audio only -> auto subtitle SRT
  • Timing QA with INLINECODE5
  • Burned preview generation with INLINECODE6

Inputs To Collect First

  1. 1. Audio path (wav, mp3, m4a, ...)
  2. Whether a reference transcript is available
  3. Output SRT path (or output directory)
  4. Language hint (zh, en, ...)
  5. Preferred run style: CLI, GUI, or Python API

Decision Rule

  • - If transcript exists, run Mode A (align_to_srt.py --text ...).
  • If transcript does not exist, run Mode B via GUI or Python API (run_auto_subtitle_pipeline).

Workflow

  1. 1. Validate environment and paths.
  2. Choose Mode A or Mode B by transcript availability.
  3. Run subtitle generation from packaged scripts.
  4. Run timing diagnostics (srt_stats.py).
  5. If needed, render a preview mp4 with burned subtitles.

Resolve Skill Script Path

Set a local variable to your installed skill directory.

Codex default path:

CODEBLOCK0

OpenClaw/ClawHub install path example:

CODEBLOCK1

Environment Checks

Run these checks before execution:

CODEBLOCK2

If faster-whisper import fails:

CODEBLOCK3

Mode A Command Template (Audio + Transcript)

CODEBLOCK4

Mode B Command Template (Audio Only)

GUI:

CODEBLOCK5

Or use Python API in scripts:

  • - Build config with INLINECODE16
  • Run INLINECODE17

See command details in references/command-templates.md.

QA And Preview

Timing stats:

CODEBLOCK6

Preview video:

CODEBLOCK7

Output Conventions

  • - Default output uses .srt extension.
  • Prefer dated naming for batch runs (for example output_YYYYMMDD.srt).
  • Keep intermediate checks in a separate folder from final delivery files.

Notes

  • - For Chinese output (zh), the pipeline strips commas/periods only.
  • If timings look off, inspect waveform snap related arguments before changing model size.
  • This skill requires explicit invocation (allow_implicit_invocation: false).

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 audio-srt-workflow-1775915601 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 audio-srt-workflow-1775915601 技能

通过命令行安装

skillhub install audio-srt-workflow-1775915601

下载

⬇ 下载 audio-srt-workflow v0.1.2(免费)

文件大小: 23.3 KB | 发布时间: 2026-4-12 09:04

v0.1.2 最新 2026-4-12 09:04
Security hardening: require explicit invocation, pin faster-whisper version, and add dependency-review step before install.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部