{"repo":"zinan92/videocut","free":true,"listed":false,"github":"https://github.com/zinan92/videocut","clone":"git clone https://github.com/zinan92/videocut.git","description":"AI 口播视频编辑。in 视频文件/目录 → out 去废话+字幕+金句+拆条+封面+变速","language":"JavaScript","stars":15,"topics":["automation","chinese","claude-cli","content-creation","ffmpeg","pipeline","video-editing","whisper","videocut","multi-platform"],"license":null,"category":"media-processing","readme_excerpt":"Videocut AI 口播视频编辑能力集。7 个独立 CLI 工具，各自可用，也可串联成流水线。 --- 示例输出 封面图 (1280x720) — 自动提取标题 + 品牌色渲染 金句卡片 (1080x1080) — 从转录中提取核心金句，Chrome Headless 渲染 Batch 模式 — 传目录，自动处理目录内所有视频： 7 个能力 能力 做什么 命令 ------ -------- ------ transcribe 语音→文字 (Apple 芯片默认 MLX Whisper) videocut transcribe input.mp4 -o out/ autocut 去语气词/停顿/口误 videocut autocut input.mp4 -o out/ --no-review subtitle 检测/生成/烧录字幕 videocut subtitle input.mp4 -o out/ hook 提取金句 + 切视频片段 videocut hook input.mp4 -o out/ --count 4 clip 长视频拆短视频 (章节级) videocut clip input.mp4 -o out/ cover 封面 + 金句卡片 videocut cover -o out/ --quotes hooks.json speed 变速 (1.0x-1.2x) videocut speed input.mp4 -o out/ --rate 1.1 每个能力独立可用，也可通过 pipeline 串联： CLI 帮助 架构 Fallback 链: 能力 AI 成功 AI 失败 fallback ------ --------- ----------------- autocut Claude 标记口误词 仅用静音检测 hook AI 选金句 → SRT 匹配 AI 失败→全文做金句；SRT 匹配失败→取前 10 秒 clip AI 章节分析 均分 120 秒切片 cover 读取 hooks.json pipeline 自动喂 transcript.txt 前 200 字 设计原则: Node.js 做数据处理（JSON/SRT/AI 调用），Bash 做 FFmpeg 命令。两种语言边界清晰，不互相内联。 快速开始 能力详解 Transcribe 语音转文字。Apple Silicon 默认走 mlx-whisper 本地转录，输出逐词 JSON + 纯文本 + SRT。CPU fallback 默认关闭；如果不是 Apple 芯片或 MLX 环境没装好，会直接报错。 内置缓存：output 目录已有 transcript.json 时直接复用，不重复转录。 可选显式参数： AutoCut AI 分析口误 + 静音检测，自动粗剪。9 条可扩展规则（语气词、卡顿词、重复句、残句等）。 自定义规则：往 capabilities/autocut/rules/ 加 .md 文件，AI 自动读取。 Subtitle 检测视频是否有硬字幕。没有则转录 + 生成 SRT + FFmpeg 烧录（PingFang SC 白字黑边）。 关键设计： 字幕对着输入视频重新转录，不做时间偏移。先 autocut 再 subtitle，字幕天然对齐。 Hook AI 选金句 → SRT 逐字匹配定位时间段 → FFmpeg 切片 + 拼接。 匹配算法：字符级精确匹配 + 最长公共子串模糊 fallback，过滤语速/时长/重叠，太短自动扩展到 3s。 F","default_branch":null,"files":null,"tree":[],"storefront":"/r/zinan92","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zinan92/videocut/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}