Summary
影片去靜音剪輯與字幕精修工作流。當使用者要求「剪影片」「上字幕」「剪去沒聲音片段」「做 SRT 字幕與純文字稿」但不需要生成完整 YouTube 描述/封面/標題候選時,請使用此技能。此技能提供了標準的去靜音、語音轉錄、詞彙自動替換、提取疑慮術語供確認、以及最終輸出打包的標準化流程。
mathruffian-dot/2026-youtube · Archived
影片去靜音剪輯與字幕精修工作流。當使用?
npx skills add mathruffian-dot/2026-youtube --skill video-editing-and-subtitles
影片去靜音剪輯與字幕精修工作流。當使用者要求「剪影片」「上字幕」「剪去沒聲音片段」「做 SRT 字幕與純文字稿」但不需要生成完整 YouTube 描述/封面/標題候選時,請使用此技能。此技能提供了標準的去靜音、語音轉錄、詞彙自動替換、提取疑慮術語供確認、以及最終輸出打包的標準化流程。
This repository is archived — consider an actively maintained alternative.
智能剪口播 Skill。當使用?
1 installs從已剪過的長片(cut.mp4 + .srt)擷取亮點片段,組成 ≤2 分鐘的短片。當使用?
1 installsCodex 專用的 2026Youtube 總控工作流 Skill。當使用? output,或說「使用 codex-youtube-video-workf…
1 installsRelated neighbors and high-traction skills in the same topics — useful to compare before installing.
Use when subtitles or the spoken text of a YouTube video is needed: pasted video links or IDs, …
639 installsComplete subtitle and caption system for FFmpeg 7.1 LTS and 8.0.1 (latest stable, released 2025…
358 installsUse when the user has an SRT (or transcript text) in one language and wants it translated to an…
201 installsUse when the user has a video + an SRT and wants the subtitles either burned into the pixels (l…
180 installsGenerate production subtitle artifacts from the final narration audio or final merged video usi…
160 installsOther skills from mathruffian-dot/2026-youtube.
npx skills add mathruffian-dot/2026-youtube
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
main
Parsed from SKILL.md frontmatter.
Files included with this skill beyond the listing page.
SKILL.md
5,358 B
SUMMARY.md
429 B
本技能適用於精簡版的影片處理需求,旨在快速剪去靜音片段、轉錄精準字幕,並透過人工確認關鍵術語以交付最高品質的影片、SRT 字幕及純文字稿。
python -m auto_editor(版本 29+)。GROQAPIKEY 或存在於 ~/.groqapikey。skills/):- skills/smart-cut/scripts/smartcut.py - skills/audio-to-srt/scripts/transcribegroq.py - skills/audio-to-srt/scripts/resegment.py - skills/audio-to-srt/scripts/applyvocab.py - skills/audio-to-srt/scripts/validatesrt.py - skills/audio-to-srt/scripts/srttotxt.py - skills/video-editing-and-subtitles/scripts/finddubiousterms.py - skills/video-editing-and-subtitles/scripts/finalize_subtitles.py
<video-id> (如 antigravity-ep06)。raw/<video-id>/ 及 working/<video-id>/。raw/<video-id>/原始.mp4。執行 auto-editor 進行無聲剪除:
python "skills/smart-cut/scripts/smart_cut.py" \
"raw/<video-id>/原始.mp4" \
--out "working/<video-id>/<video-id>.cut.mp4" \
--threshold 0.05
(可根據口播人聲停頓調整 threshold 門檻在 0.04 ~ 0.06 之間,margin 預設 0.2s)
``bash ffmpeg -i "working/<video-id>/<video-id>.cut.mp4" -vn -ar 16000 "working/<video-id>/<video-id>.cut.wav" -y ``
``bash python "skills/audio-to-srt/scripts/transcribegroq.py" \ "working/<video-id>/<video-id>.cut.wav" \ --out "working/<video-id>/subtitles/<video-id>.groq.json" ``
``bash python "skills/audio-to-srt/scripts/resegment.py" \ "working/<video-id>/subtitles/<video-id>.groq.json" \ --out "working/<video-id>/subtitles/<video-id>.raw.srt" ``
``bash python "skills/audio-to-srt/scripts/applyvocab.py" \ "working/<video-id>/subtitles/<video-id>.raw.srt" \ --out "working/<video-id>/_subtitles/<video-id>.vocab.srt" ``
Antigravity、Claude、Gemini、Gems、clasp 等)以及常見音譯錯字的片段:``bash python "skills/video-editing-and-subtitles/scripts/finddubiousterms.py" \ "working/<video-id>/subtitles/<video-id>.vocab.srt" \ --out "working/<video-id>/subtitles/dubious_terms.md" ``
dubious_terms.md,將有疑慮的段落列在對話中,詢問使用者如何修正。finalize_subtitles.py 套用自訂更正規則(多個更正可多次指定 --replace 參數,亦支援特定段落更正如 390:AGE->Agent):``bash python "skills/video-editing-and-subtitles/scripts/finalizesubtitles.py" \ "working/<video-id>/subtitles/<video-id>.vocab.srt" \ --out "working/<video-id>/_subtitles/<video-id>.clean.srt" \ --replace "舊字->新字" \ --replace "段號:特定舊字->新字" ``
``bash python "skills/audio-to-srt/scripts/validatesrt.py" \ --raw "working/<video-id>/subtitles/<video-id>.vocab.srt" \ --clean "working/<video-id>/_subtitles/<video-id>.clean.srt" ``
``bash python "skills/audio-to-srt/scripts/srttotxt.py" \ "working/<video-id>/_subtitles/<video-id>.clean.srt" \ --out "working/<video-id>/<video-id>.txt" ``
output/<影片標題> [<AgentName>]/ (AgentName 可為 Codex 或 Claude)。- 影片:output/<標題> [<AgentName>]/<標題>.mp4 - 字幕:output/<標題> [<AgentName>]/<標題>.srt - 文字:output/<標題> [<AgentName>]/<標題>.txt
[Codex])的路徑很敏感,執行檔案操作指令時,建議一律加上引號並使用 -LiteralPath 參數。Gem ➡️ Gems)在大部分情況需要修正,但在某些特定上下文(如 Gemini)不可動,請使用段落前綴限定替換範圍,例如 390:AGE->Agent。