aladin-subtitle-forge
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "aladin-subtitle-forge" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-5a896f081e1646763268b64147e1d1e7b3b6c3b3c312571c6eea3ea6b830c7a2. Verify the upstream source and version against https://skillhub.cn/skills/user_d18c97ea/aladin-subtitle-forge before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Performs subtitle inspection scoring, bilingual alignment, conversion among six formats, timeline correction, and quote slicing—one‑stop subtitle post‑processing after transcription.
Introduction source: third_party · user_d18c97ea · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: aladin-subtitle-forge
slug: aladin-subtitle-forge
version: 1.0.0
displayName: 阿拉丁·字幕工坊|SRT/VTT/ASS体检·双语对齐·格式互转·金句切片
description: 字幕后处理全能工坊。解析 SRT/VTT/ASS/LRC/TXT 字幕→质量体检(时间轴重叠/阅读速度CPS/行长行数/错别字标点,100分制评分)→双语字幕对齐合成→六格式互转→时间轴平移与fps缩放→金句切片候选提取→HTML看板/MD报告。当用户提到"字幕检查、字幕格式转换、SRT转VTT、双语字幕、字幕时间轴、字幕对齐、subtitle、caption"时触发。区别于语音转写类技能:本技能做转写之后的全部后处理,确定性规则可复算,纯本地零依赖,视频文稿不外传。
summary: 字幕体检评分 + 双语对齐 + 六格式互转 + 时间轴修正 + 金句切片,转写之后的一站式字幕后处理。
category: office-efficiency
company: 阿拉丁
author: adam
homepage: https://skillhub.cn
license: MIT
platforms: [windows, macos, linux]
agent_created: true
tags:
- 字幕
- 字幕转换
- 字幕检查
- 双语字幕
- 字幕时间轴
- 字幕对齐
- 字幕格式
- SRT
- VTT
- ASS
- LRC
- subtitle
- caption
- srt转vtt
- 短视频
- 视频剪辑
- 切片
- 拆条
- 自媒体
- 影视翻译
- 办公效率
- 阿拉丁阿拉丁·字幕工坊(字幕后处理)
Whisper 帮你把声音变成字,我帮你把字变成能直接投放的字幕。 时间轴重叠、阅读速度爆表、双语没对齐、平台格式不认——这些转写之后的脏活累活,一套纯 Python 标准库脚本全包了。零 pip、零 API,视频文稿全程本地不外传。
何时触发本技能
- 用户说:检查字幕 / 字幕体检 / 字幕格式转换 / SRT 转 VTT / 转 ASS / 合双语字幕 / 字幕对不上 / 调时间轴
- 用户给出 .srt/.vtt/.ass/.ssa/.lrc 文件,想转换、检查、合并或修轴
- 用户想从长视频字幕里找"能剪成短视频的片段"(拆条/切片/金句)
- 提到 subtitle、caption、timing、bilingual subtitle 等英文关键词
何时不要触发
- 从音频/视频生成字幕文字(请先用 Whisper 类转写技能,产出 SRT 后再回到本技能)
- 视频压制、烧录硬字幕(请用剪辑软件,本技能产出软字幕文件)
- 字幕内容翻译(可由通用模型翻译后,用本技能对齐合成双语)
- 需要保留 ASS 复杂特效标签的场景(本技能解析时取纯文本)
快速开始(三步)
# 1) 解析:任意格式 -> 统一 IR(自动识别格式与编码)
python scripts/sub_ingest.py input.srt -o ir.json
# 2) 体检:时间轴/阅读速度/版面/文本规范 20 项规则,100 分制
python scripts/sub_process.py qc ir.json -o qc.json
# 3) 报告:自包含 HTML 看板 + Markdown
python scripts/sub_report.py -q qc.json --html report.html --md report.md
没有字幕在手?assets 里有埋好 9 类问题的 sample_zh_srt.txt(SRT 内容)+ 配套 sample_en_vtt.txt(VTT 内容),格式自动嗅探识别,可直接验证体检与双语对齐全流程。
能力清单
| 环节 | 能力 |
|---|---|
| 解析 | SRT / WebVTT / ASS(SSA) / LRC / TXT 五格式自动识别;utf-8/gb18030/utf-16 编码自动探测;剥离 VTT 内联标签与 ASS 特效标签 |
| 质量体检 | 时间轴(重叠/负时长/过短过长/闪切间隙)· 阅读速度 CPS(中日韩 16 字/秒、拉丁 21 字符/秒,可调)· 版面(行数/行长)· 文本(空字幕/连续重复/标点堆叠/中文夹半角标点);100 分制 A-D 评分 |
| 双语对齐 | 主副两轨按时间重叠自动配对合成双语字幕,抗切分粒度差异,未配对项明示 ID 供人工确认 |
| 格式互转 | IR -> srt / vtt / ass / lrc / txt / md 六向输出;ASS 内置 1080p 中文默认样式可直接进剪映/PR |
| 时间轴修正 | 整体平移(片头 logo 延迟)+ fps 缩放(23.976↔25 速查表),t' = t × scale + offset |
| 金句切片 | 疑问钩子/数据锚点/转折信号/利益点多信号打分,间隔窗防扎堆(短视频自适应收缩),输出拆条时间点 + 高频词 |
| 报告 | 自包含单文件 HTML 看板(评分横幅+问题定位+切片清单)· Markdown 报告(可直接贴进协作文档) |
输入与输出
- 输入:.srt / .vtt / .ass / .ssa / .lrc / .txt 字幕文件(单个或双语两轨)
- 输出:
*_ir.json(结构化中间层)、qc.json(体检明细)、highlights.json(切片候选)、六格式字幕文件、report.html/report.md
能力边界
能做:
- 五格式解析互转与编码自愈(gb18030 老字幕直接读)
- 20 项确定性 QC 规则,阈值可按内容类型调整(影视/知识区/带货)
- 双语两轨时间对齐合成,主语言时间轴不动
- 时间轴整体平移与 fps 缩放修正
- 长视频拆条候选与高频词提取
不能做:
- 音频/视频 -> 文字转写(请配合 Whisper 类技能)
- 硬字幕 OCR 提取(画面内嵌字幕无文本层)
- 保留 ASS 卡拉OK/特效标签的无损编辑
- 语义级错别字纠正(规则只报确定性模式;语义修正由模型在对话中完成)
- 视频压制烧录
重要约束(TRACE)
- T 可信:不联网、不上传,视频文稿全程本地处理
- R 可复算:QC 全部为确定性规则,同输入必同输出,阈值显式可调
- A 不臆造:对齐失败/解析失败如实标注,不静默吞掉任何一条字幕
- C 可核对:每条问题精确到字幕序号与毫秒,报告可直接转发协作
- E 可衔接:上游接 Whisper 转写,下游接剪辑软件与发布平台;与 omni 内容系列(爆款选题/复盘)天然联动
进阶资料(按需查阅)
| 文件 | 何时读 |
|---|---|
references/qc-rules.md |
需要了解/调整 20 项体检规则与评分公式时 |
references/formats.md |
格式细节、转换矩阵、fps 缩放速查表 |
references/usage-examples.md |
四大实战场景(体检/双语/互转修轴/拆条)+ 最佳实践 + FAQ |
阿拉丁出品 · 让每一条字幕都经得起投放。
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 一站式字幕后处理,覆盖体检、对齐、互转、修轴、切片全流程
- 解决视频创作者转写后的实际痛点,受众广泛(自媒体、影视翻译、短视频剪辑)
- 纯本地零依赖,视频文稿不外传,符合隐私与合规要求
Highlights
- 触发词覆盖全面且精准(字幕检查、格式转换、双语对齐、时间轴等)
- 边界清晰,有效区分于语音转写类技能
Highlights
- Phase/步骤清晰(解析→体检→报告),有端到端示例
- frontmatter完整,输入输出说明明确
- 文档结构良好,进阶资料按需查阅
Highlights
- 基于纯 Python 标准库,零依赖,流程确定性高
- 编码自愈、未配对项明示等异常处理机制完善
- 不可逆操作有确认机制,符合 TRACE 可信约束
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- skillhub.cn
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.