Skip to content
Skills Library
Personal productivity · Conversion & formats

video-notes

/video-notes

把视频/播客链接转成逐字稿并写成中文结构化笔记。yt-dlp 抓音轨与章节,ffmpeg 切片,本地语音识别转写,agent 自己总结。用户发来视频链接要总结/转写/整理笔记时使用。

Licence
MIT
Last repository change
07.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 07.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

把视频/播客链接转成逐字稿并写成中文结构化笔记。yt-dlp 抓音轨与章节,ffmpeg 切片,本地语音识别转写,agent 自己总结。用户发来视频链接要总结/转写/整理笔记时使用。

Original author description

把视频/播客链接转成逐字稿并写成中文结构化笔记。yt-dlp 抓音轨与章节,ffmpeg 切片,本地语音识别转写,agent 自己总结。用户发来视频链接要总结/转写/整理笔记时使用。

How it works

  1. 前置
  2. 录音文件
  3. 用法
  4. 硬性约束
  5. 产出结构
  6. 出笔记
  7. 已知不兼容
Original SKILL.md headings · 83 lines, 220 words
SKILL.md preview
---
name: video-notes
description: 把视频/播客链接转成逐字稿并写成中文结构化笔记。yt-dlp 抓音轨与章节,ffmpeg 切片,本地语音识别转写,agent 自己总结。用户发来视频链接要总结/转写/整理笔记时使用。
---

# video-notes

**不依赖第三方 API、不消耗额度、无需登录。**字幕需登录的站点(如 B 站)走音频转写绕开。


> **开工前先读 `/var/minis/memory/GLOBAL.md`**(环境事实、协作铁律、已知坑),读完再动手。

## 前置

仓库根目录记为 `RC`。脚本:`$RC/scripts/transcribe.py`

语音识别后端二选一(安装脚本会自动探测):

| 后端 | 适用 | 说明 |
|---|---|---|
| `apple` | macOS / iOS | `apple-speech` 命令,零配置免费 |
| `whisper` | 任意平台 | `pip install faster-whisper`,x86_64 可用 |

## 录音文件

用户发的语音/会议录音直接转写,不需要是网络链接:

```bash
python3 "$RC/scripts/transcribe.py" "/path/to/录音.m4a" --locale zh-CN
```

支持 `m4a / mp3 / wav / aac / flac / ogg / opus / amr / 3gp / webm`,
内部自动转成 16k 单声道再切片。**本地文件默认按中文识别**(个人录音多为中文),
英文材料显式加 `--locale en-US`。

> 手机上的录音一般要先放进 `/var/minis/attachments/` 或共享目录才能被沙箱读到。

## 用法

```bash
python3 "$RC/scripts/transcribe.py" "<URL>" --locale en-US -o out.json
```

后台跑长视频并看进度:

```bash
nohup python3 "$RC/scripts/transcribe.py" "<URL>" --locale en-US \
  > /tmp/vn.log 2>&1 &
# 进度看 [4/4] 后面的 N/M
```

## 硬性约束

1. **`--locale` 必须是原声语言**。英文讲座 `en-US`,中文 `zh-CN`。选错输出乱码,不是「效果差」是「不可用」。
2. **识别必须串行**。并发会被限流——实测 6 路并发时 61 片只成功 1 片。串行 + 间隔 + 重试可以 61/61。
3. `chunk_seconds` 默认 45。太短增加重启开销,太长影响对齐精度。
4. 覆盖不足一半会自动告警,通常是限流,调大 `gap` / `retries` 重跑。

## 产出结构

```json
{ "title": "...", "uploader": "...", "duration": 2717,
  "chapters": [{"t": 0, "title": "开场"}],
  "transcript": ["[00:00] 文本…", "[00:45] 文本…"] }
```

## 出笔记

逐字稿是原料,笔记由 agent 写:

```
# 标题
> 讲者 / 课程 / 时长 / 来源
## 一句话结论
## 分章要点      ← 按 chapters 时间轴
## 关键概念速查   ← 表格
## 可直接抄的做法
## 金句          ← 原文 + 译文 + 时间戳
```

写完后用 `archive.py` 归档。

## 已知不兼容

`ctranslate2`(faster-whisper 的推理内核)只发布 glibc 版本,**Alpine/musl 上导入即段错误**,
并且它的动态库被加载后会让同进程后续的 `import av` 也崩溃。musl 用户请改用 `apple` 后端。

Versions

RepositoryScoreLicence
This page · kyoukawa/agent-system100MIT
weeeha/video-notes100MIT
endgame302/video-notes100MIT

Database snapshot: 13.11.2026 · package version d017701e6abc (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100media
    Get the subtitles, transcript, or details of a YouTube video, podcast, or other online video or audio with yt-dlp, and transcribe audio locally. Use when the user shares a video or audio link or asks what a video says.
  • 100yt-dlp
    Probe, transcript, and download video/audio with yt-dlp CLI on supported hosts. Use when you need metadata, captions, or local media. Transcript-first (probe, transcript, download). NOT for static HTML (Fetch MCP), research, or ffmpeg transforms.
  • 100video-transcript-downloader
    Download videos, audio, subtitles, and clean paragraph-style transcripts from YouTube and any other yt-dlp supported site. Use when asked to “download this video”, “save this clip”, “rip audio”, “get subtitles”, “get transcript”, or to troubleshoot yt-dlp/ffmpeg and formats/playlists.
  • 90video-agent
    Summarize any video from a local file or a link with the Video Agent CLI - it prepares the transcript and pictures; you look at them and write a timestamped summary. Use for requests to summarize, take notes on, or answer questions about a video, lecture recording, talk,…
  • 100youtube-downloader
    Download YouTube videos or extract audio using yt-dlp + ffmpeg in the Linux shell. Trigger when the user shares a YouTube URL and wants to download, save, rip, extract, or convert it — to video or audio (MP3/M4A). Also trigger for phrases like "download this video", "save this…
  • 100meeting
    Turn a raw meeting / call / 1:1 transcript or notes into a structured Meetings note with key points and action items. Use when /meeting is invoked, when the user says "process this meeting", "clean up these notes", "extract action items from this", or pastes a raw conversation…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.