Skip to content

zenstory-ai/video-recap-skills / skills/video-recap

video-recap

Verified

把一段或多集视频做成带画框字幕的中文解说成片或纯原声高光短片。用户提供 .mp4 / .mov / .mkv / .webm,要求做影视解说、短剧二创、加旁白配音、跨集混剪或导出剪映草稿时使用;串联完成看片识台词、定主线与留原声、按台词停顿切镜头、写词检查、TTS 配音与混音加字幕。触发词:视频解说、影视解说、视频旁白、生成解说、视频 recap、video recap、voiceover、narration、recap。

FileKindSize
SKILL.mdskill md18.4 KB
assets/dashboard/app.jsscript16.2 KB
assets/dashboard/index.htmlother867 B
assets/dashboard/styles.cssother22.6 KB
assets/dashboard/tokens.cssother8.9 KB
assets/dashboard/views.jsscript31.4 KB
references/audio-modes.mdmarkdown3.6 KB
references/config-playbook.mdmarkdown8.1 KB
references/creative-editing-playbook.mdmarkdown12.3 KB
references/data-schema.mdmarkdown34.6 KB
references/index-tts.mdmarkdown2.1 KB
references/jianying/LICENSE.duo-videoother1.0 KB
references/jianying/SOURCE.mdmarkdown703 B
references/jianying/empty_draft_meta_info.jsonconfig1.7 KB
references/jianying/empty_jy_material_video.jsonconfig1.8 KB
references/jianying/empty_jy_meta_material_value.jsonconfig358 B
references/jianying/empty_jy_project_info.jsonconfig3.6 KB
references/jianying/empty_jy_segment.jsonconfig1.3 KB
references/jianying/empty_jy_text_styles.jsonconfig440 B
references/jianying/empty_yj_material_audio.jsonconfig865 B
references/jianying/empty_yj_material_text.jsonconfig2.4 KB
references/packaging.mdmarkdown6.8 KB
references/promotional-copy.mdmarkdown4.1 KB
references/prompt-templates.mdmarkdown2.0 KB
references/research-guide.mdmarkdown2.7 KB
references/resource-library.mdmarkdown12.1 KB
references/shot-review.mdmarkdown4.8 KB
scripts/agent_text.pyscript2.7 KB
scripts/artifacts.pyscript972 B
scripts/asr.pyscript12.5 KB
scripts/asr_timing_evidence.pyscript4.2 KB
scripts/assemble.pyscript31.0 KB
scripts/assemble_constants.pyscript894 B
scripts/assembly_contract.pyscript10.3 KB
scripts/assembly_settings.pyscript3.8 KB
scripts/audio_automation.pyscript6.6 KB
scripts/audio_mix.pyscript18.5 KB
scripts/briefing/__init__.pyscript101 B
scripts/briefing/builder.pyscript31.1 KB
scripts/briefing/context.pyscript6.1 KB
scripts/briefing/timeline.pyscript23.0 KB
scripts/codec_peak.pyscript5.1 KB
scripts/cut.pyscript148 B
scripts/cut_cli.pyscript12.4 KB
scripts/cut_contract.pyscript13.3 KB
scripts/cut_qc.pyscript1.9 KB
scripts/cut_render.pyscript13.2 KB
scripts/dashboard/__init__.pyscript159 B
scripts/dashboard/data.pyscript24.6 KB
scripts/dashboard/io.pyscript7.1 KB
scripts/dashboard/runs.pyscript21.8 KB
scripts/dashboard/templates.pyscript9.6 KB
scripts/dashboard_server.pyscript9.3 KB
scripts/detect.pyscript22.2 KB
scripts/doctor.pyexecutablescript12.9 KB
scripts/entry_suggestion.pyscript4.6 KB
scripts/export_jianying.pyscript5.6 KB
scripts/extract.pyscript2.5 KB
scripts/final_qc.pyscript19.0 KB
scripts/frame_grid.pyscript10.6 KB
scripts/jianying/__init__.pyscript49 B
scripts/jianying/builders.pyscript11.3 KB
scripts/jianying/model.pyscript2.7 KB
scripts/jianying/optional.pyscript1012 B
scripts/jianying/schema.pyscript2.5 KB
scripts/jianying/templates.pyscript1.0 KB
scripts/jianying/timeline_contract.pyscript5.8 KB
scripts/jianying/tracks.pyscript2.0 KB
scripts/jianying/writer.pyscript7.8 KB
scripts/lib.pyscript29.6 KB
scripts/library.pyscript31.1 KB
scripts/lint_summary.pyscript5.0 KB
scripts/loudness.pyscript14.7 KB
scripts/materials.pyscript22.1 KB
scripts/media.pyscript18.8 KB
scripts/narration_audio.pyscript13.5 KB
scripts/narration_lint.pyscript24.1 KB
scripts/narrative_selection.pyscript8.9 KB
scripts/packaging.pyscript6.1 KB
scripts/packaging_fonts.pyscript12.0 KB
scripts/packaging_plates.pyscript31.2 KB
scripts/packaging_studio.pyscript34.1 KB
scripts/providers/__init__.pyscript72 B
scripts/providers/fish_audio.pyscript3.1 KB
scripts/providers/index_tts.pyscript8.8 KB
scripts/recap.pyscript183 B
scripts/recap_cli.pyscript6.9 KB
scripts/recap_inspect.pyscript16.5 KB
scripts/recap_runner.pyscript22.0 KB
scripts/recap_runtime.pyscript11.8 KB
scripts/recap_source.pyscript1.8 KB
scripts/recap_stage_qc.pyscript2.7 KB
scripts/recap_timeline.pyscript7.7 KB
scripts/render_preflight.pyscript1.7 KB
scripts/resources/__init__.pyscript200 B
scripts/resources/lock.pyscript6.8 KB
scripts/resources/project_binding.pyscript16.1 KB
scripts/sentence_boundaries.pyscript28.8 KB
scripts/sentence_gate.pyscript8.6 KB
scripts/sfx_mix.pyscript14.6 KB
scripts/shot_review.pyscript18.9 KB
scripts/source_subtitles.pyscript7.2 KB
scripts/speech_ownership.pyscript9.3 KB
scripts/storyboard.pyscript21.8 KB
scripts/subtitles/__init__.pyscript56 B
scripts/subtitles/core.pyscript19.0 KB
scripts/subtitles/render.pyscript8.0 KB
scripts/timeline.pyscript8.2 KB
scripts/timeline_emit.pyscript5.4 KB
scripts/tts_audio.pyscript9.6 KB
scripts/tts_cache.pyscript4.5 KB
scripts/understand.pyscript171 B
scripts/understanding_brief.pyscript6.3 KB
scripts/understanding_cache.pyscript8.0 KB
scripts/understanding_runner.pyscript9.8 KB
scripts/understanding_storyboard.pyscript11.9 KB
scripts/validate.pyscript5.7 KB
scripts/visual_render.pyscript10.1 KB
scripts/vlm.pyscript16.4 KB
scripts/voiceover.pyscript28.0 KB

references/audio-modes.md

View on GitHub
# 声音模式与音频路由(`--audio-mode`)

`recap.py` 与 `assemble.py` 默认使用 `--audio-mode narration`(解说配音模式),可通过 `--audio-mode source-mix` 切换为不带解说的原声混音成片。源视频始终读取第一条音频流(FFmpeg `0:a:0`);若多音轨素材的目标音轨不在第一轨,请先在外部重封装选轨后再输入。

## 1. 两种声音模式对比

| 音频模式 | 解说校验 (`validate.py`) | TTS 配音 (`voiceover.py`) | 合成输入与混音行为 (`assemble.py`) |
|---|---|---|---|
| `narration`(默认) | 执行 | 执行 | 读取非空 `tts_meta.json`,铺放旁白轨,动态压低原声(压低至 `SPEECH_DUCKING_VOLUME=0.12` / `ZONE_DUCKING_VOLUME=0.12`,在有意留出的原声对白段回升至 `IDLE_ORIG_VOLUME=1.0`),混入可选纯器乐 `BGM_PATH`;若源视频无音轨则自动生成 48 kHz 立体声静音底轨混音 |
| `source-mix` | 跳过 | 跳过 | 不读 `tts_meta.json` 也不生成旁白;按 `IDLE_ORIG_VOLUME` 保留原声 `0:a:0`(若源视频缺少 `a:0` 音轨则直接报错退出),混入可选 `BGM_PATH`(声明的 `BGM_PATH` 文件不存在时直接报错;`narration` 模式则告警跳过) |

- **解说配乐纪律**:`narration` 模式下若提供 `BGM_PATH`,应选用无歌词的纯器乐且贴合场景情绪;若源片已带无法避开的大音量人声插曲,请勿再加外部配乐。
- **全流程组合路由**(与 `--edit-mode` 组合的五条合法路线详见 `SKILL.md` §1):
  - `--edit-mode full --audio-mode source-mix`:直接进入 `assemble.py` 合成整段输入视频,不跑视频理解与 ASR。
  - `--edit-mode cut --audio-mode source-mix`:正常跑视频理解并暂停等待 `clip_plan.json`,剪出 `edited_source.mp4` 后直接合成原声成片,不再暂停等待 `narration.json`。

## 2. 工作目录绑定与参数互斥

- **工作目录隔离**:`recap_run_manifest.json` 单独记录 `audio: {mode, selected_stream_index}`(`selected_stream_index` 固定为 `0`)。切换 `--audio-mode` 必须换用新的 `--work-dir`;缺少 `audio` 字段的旧清单或已含 `narration.json` 的未绑定目录均不可直接改跑 `source-mix`,防止旧 TTS 产物串入原声成片。
- **显式 TTS 参数拦截**:在 `source-mix` 模式下显式传入 `--tts-provider`、`--mimo-tts-voice`、`--voice-ref`、`--allow-partial-tts` 会直接报错拒绝;环境变量中的全局 TTS 默认值因不运行配音而自动忽略,不会写入续跑命令。
- **包装图层兼容**:`packaging_plan.json` 与 `packaging_layers.json` 在两种音频模式下均正常生效。

## 3. 音频响度、淡出与重编码说明

两种模式都会重新混音与编码,不会跳过重编码直接复制源视频音轨:

- 默认开启 `FINAL_LOUDNORM=true`:将终混响度统一归一至 `-14 LUFS`,并通过真峰值限制与编码器复验守住 `<= -1.0 dBTP` 上限。
- 最终音轨统一重编码为 48 kHz、192 kbps AAC,按视频总时长裁齐,并在片尾对原声与 BGM 施加平滑淡出(`ENDING_AUDIO_FADE_MS`,默认 `350ms`),实际执行的处理步骤记录在 `assembly_qc.json`。
- 如需最接近原声等增益重渲画面的设置,可使用 `--audio-mode source-mix` 并设 `IDLE_ORIG_VOLUME=1.0`、`ENDING_AUDIO_FADE_MS=0`、`FINAL_LOUDNORM=0`(峰值限制器与 AAC 编码仍会运行)。
- `timeline.json` 在 `source-mix` 下将当前输入记录为单条完整片段(`base_gain` 取 `IDLE_ORIG_VOLUME`)。
- 已移除的实验性外语翻译配音模式(`--edit-mode dub`)不再支持;若需旧路径请检出历史版本 `v0.6.2`。
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall