Skip to content
cccskills
FreePublished on GitHub

live-stream-clips

直播切片:从电商直播录屏中找出高光片段(按时间戳 / 按字幕关键词 / 按停顿自动提议),批量导出 9:16 竖屏切片,自动模糊填充横屏画面、烧录标题与字幕、响度标准化,并给切片写标题与开头钩子。

Use when the user has a livestream recording and wants 直播切片, 切片, highlights, clips, 高光片段, repurpose a live stream into short videos for 抖音 / 视频号 / TikTok.

The English summary is being prepared. Showing the original description.

Works withTikTok

Run score Not tested

See how to install

Files included (2)

  • SKILL.md3.8 KB
  • scripts/live_clip.py5.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

直播切片 · Live-Stream Clips

几小时直播 → 一批 15–60 秒竖屏切片。选段可以靠人、靠字幕关键词、或靠停顿自动提议;导出统一交给 scripts/live_clip.py。

Part of ecommerce-video-skills

只切你自己的直播,或已获得主播/品牌授权的直播。

输入 Inputs

  • 直播录像(mp4/flv/mov,横屏竖屏都行)
  • 可选:字幕/转写 SRT(平台导出或用任意 ASR 工具生成)
  • 目标:每条时长、数量、要突出的商品或话题

三种选段方式

# A. 已有时间戳(人工或 agent 读转写后挑选)
#    cuts.csv:  start,end,title
#               00:12:05,00:12:40,冰块放一晚还在?现场演示
python scripts/live_clip.py live.mp4 --cuts cuts.csv --outdir out/clips

# B. 按字幕关键词找片段(每个命中点向前 30% / 向后 70% 取 --window 秒,重叠自动合并)
python scripts/live_clip.py live.mp4 --srt live.srt --keywords "演示,对比,上链接,库存" --window 30 --burn-subs

# C. 没有字幕:在停顿处切分,输出候选 CSV 再人工/agent 挑选
python scripts/live_clip.py live.mp4 --propose 30 > proposals.csv

步骤 Steps

  1. 先读转写(有 SRT 时):让 agent 标出「演示、对比、用户提问被解答、福利说明」等高光点,写进 cuts.csv。
  2. 每条切片要能独立看懂:开头 3 秒必须有钩子——从「问题/演示开始」切入,而不是从主播寒暄切入。
  3. 起止点微调:起点落在句子开头、终点落在句子结束后 0.3 秒。
  4. 导出:横屏自动转 9:16(模糊背景 + 居中画面),可烧标题(title 列)和字幕(--burn-subs)。
  5. 写切片标题:用 hook-3s-script 的钩子类型给每条写 2 个标题,交给 cover-title-ab。

高光信号 What makes a good clip

信号例子
现场演示倒水、摔、对比测试
问答「有人问能不能放洗碗机…」
情绪峰值惊讶、笑场、观众刷屏
规则说明赠品、售后、发货(注意:价格/优惠信息以当前实际为准,过期切片要下架或剪掉)

提示词模板 Prompt template

下面是直播转写(SRT)。请找出 {8} 个适合做 {20–40} 秒竖屏切片的片段:
每段必须能独立看懂、开头 3 秒有钩子(问题/演示/结果),避免寒暄和长时间沉默;
输出 CSV:start,end,title(title ≤ 14 字,不使用绝对化用语,不承诺具体价格)。
转写:{粘贴 SRT}

检查清单 Checklist

  • 每条切片开头 3 秒有钩子、结尾不断句
  • 标题与字幕不在底部 UI 区;横屏画面完整可见
  • 切片里出现的价格/优惠/库存信息仍然有效,否则剪掉
  • 有直播内容的使用授权

常见问题与修复 Failure fixes

问题修复
--propose 只返回一段背景音乐盖住了停顿;改用 SRT 关键词法,或调低 silencedetect 的 noise 阈值
字幕与画面不同步确认 SRT 时间轴对应原始录像;脚本使用 -copyts 保持源时间轴
标题含冒号/引号报错脚本已替换为全角符号
切点在半句话用 SRT cue 的起止时间作为切点

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

AI 口播配音:用免费的 edge-tts(微软 Edge 在线语音)为带货短视频逐句生成配音,自动去首尾静音、统计每句时长、缓存复用,可选音色/语速/音调,并给出口播稿改写规则。Use when the user needs a voice-over, 配音, 口播, 旁白, TTS, text-to-speech, AI 主播声音, or wants to turn a script into audio for 抖音 / TikTok / 视频号 videos.

The English summary is being prepared. Showing the original description.

xianyu110/ecommerce-video-skills97Updated Oct 5, 2026

封面与标题 A/B:为带货短视频生成多套封面(自动挑选清晰帧或用干净素材图 + 不同标题与版式)和多组标题/文案,导出 3:4 / 9:16 封面文件和对比图,并给出 A/B 测试方法与记录表。Use when the user wants a video cover, 封面, 首图, thumbnail, 标题, 文案, title variants, A/B test covers for 抖音 / 视频号 / 小红书 / TikTok, or wants to improve click-through rate.

The English summary is being prepared. Showing the original description.

xianyu110/ecommerce-video-skills97Updated Oct 5, 2026

ffmpeg 自动拼接成片:一条命令把 storyboard.json(商品图/视频片段 + 口播稿)渲染成带配音、字幕花字、转场、BGM 自动闪避、响度标准化的 9:16 MP4,纯本地运行。Use when the user wants to assemble/edit/render a product video, 自动剪辑, 一键成片, 拼接视频, 图片转视频, Ken Burns, add BGM/subtitles/voice-over with ffmpeg, or batch-produce short videos without an editor.

The English summary is being prepared. Showing the original description.

xianyu110/ecommerce-video-skills97Updated Oct 5, 2026

3 秒钩子脚本:为电商短视频写前 3 秒开场(台词 + 画面 + 花字),按痛点/反差/结果先行/提问/数字/场景代入等钩子类型一次给出多版,并做合规自检。Use when the user asks for a hook, 开头, 黄金 3 秒, 前三秒, opening line, scroll-stopper, 完播率, or wants to rewrite a weak opening for 抖音 / TikTok Shop / 视频号 / Reels.

The English summary is being prepared. Showing the original description.

xianyu110/ecommerce-video-skills97Updated Oct 5, 2026

主图转视频:把一张或几张商品主图/白底图/场景图,写成可直接喂给图生视频模型的镜头提示词(运镜、主体动作、光线、时长、负面约束),并保证商品不变形。Use when the user has product images and wants a product video, 主图视频, 图生视频, image-to-video, animate a product photo, or 让主图动起来 — with any image-to-video model (Seedance / 可灵 Kling / Veo / Runway / Hailuo / Wan …) or a local Ken Burns fallback.

The English summary is being prepared. Showing the original description.

xianyu110/ecommerce-video-skills97Updated Oct 5, 2026

多模型镜头提示词适配:把一份分镜表改写成适合不同视频生成模型的提示词(中/英、首帧/首尾帧/纯文生视频、运镜词表、负面约束),模型中立、不编造价格或参数。Use when the user wants the same shot list adapted for Seedance, 可灵 Kling, Veo, Runway, Hailuo/海螺, Wan/通义万相, Sora, Pika or 'any video model', asks 怎么写视频提示词, camera movement terms, or a model returns deformed products.

The English summary is being prepared. Showing the original description.

xianyu110/ecommerce-video-skills97Updated Oct 5, 2026

See all skills by xianyu110

Report a problem with this skill