Skip to content
Skill

videocut:字幕

by majiayu000

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "videocut:字幕" skill in my project.
Repository: https://github.com/majiayu000/claude-skill-registry

Please read the repo to find the SKILL.md file(s), then:
1. Download them into the correct skills directory (.claude/skills/ or .cursor/skills/)
2. Include any companion files referenced by the skill
3. Confirm what was installed and where

Description

字幕生成与烧录。转录→词典纠错→审核→烧录。触发词:加字幕、生成字幕、字幕

字幕

> 转录 → 纠错 → 审核 → 匹配 → 烧录

流程

` • 转录视频(本地 FunASR) ↓ • 词典纠错 + 分句 ↓ • 输出字幕稿(纯文本,一句一行) ↓ 【用户审核修改】 ↓ • 用户给回修改后的文本 ↓ • 我匹配时间戳 → 生成 SRT ↓ • 烧录字幕(FFmpeg) ` ---

转录

使用 剪口播/scripts/transcribe_local.py 脚本: `bash python 剪口播/scripts/transcribe_local.py video.mp4 --output=transcript.json ` 输出 JSON 包含: • full_text: 完整文本 • chars: 字符级时间戳 优点: • 中文识别准确 • 字符级时间戳,分句精确 • 与剪口播共用同一脚本

⚠️ 脚本位置规则

字幕相关脚本必须放在 字幕/scripts/ 文件夹中: • generate_subtitle_draft.py - 从转录结果生成分句字幕稿 • generate_srt.py - 生成SRT字幕文件 • 禁止在其他文件夹创建临时脚本 原因:保持项目结构清晰,便于复用和维护 ---

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 6d ago
Active
Adoption100+ stars on GitHub
119 ★ · Growing
DocsMissing or thin
Undocumented

GitHub Signals

Stars119
Forks20
Issues1
Updated6d ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code