返回顶部
b

bilibili-audio-transcribe

Download audio from Bilibili or b23.tv links and transcribe it into txt, srt, and segment JSON with yt-dlp, ffmpeg, and faster-whisper. Use when a user asks to turn a Bilibili link into text, subtitles, a transcript, or speech-to-text output, especially for Chinese-language videos.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
75
下载量
1
收藏
概述
安装方式
版本历史

bilibili-audio-transcribe

# Bilibili Audio Transcribe Convert a Bilibili link into local transcript files. Prefer this skill for Bilibili and `b23.tv` URLs only; do not use it for YouTube or generic web pages. ## Quick start 1. Ensure `ffmpeg` and `ffprobe` are on `PATH`. 2. If Python dependencies are missing, run `scripts/bootstrap_env.sh` or install `yt-dlp` and `faster-whisper` manually. 3. Run `scripts/transcribe_bilibili.py` with the target URL. 4. Return the generated transcript artifacts or summarize them if the user asked for analysis rather than raw text. Example: ```bash python scripts/transcribe_bilibili.py "https://b23.tv/SSx810h" \ --out-dir ./downloads/bilibili-audio \ --model-size base \ --beam-size 3 ``` ## Workflow ### 1. Validate the request Accept only `bilibili.com` or `b23.tv` URLs. If the URL points elsewhere, stop and say this skill is the wrong tool. ### 2. Prefer the bundled script Use `scripts/transcribe_bilibili.py` instead of rewriting yt-dlp / whisper glue code in the session. The script: - downloads the best available audio - probes audio duration with `ffprobe` - transcribes with `faster-whisper` - writes `.txt`, `.srt`, and `.segments.json` - prints coarse ETA / progress during ASR ### 3. Use sensible defaults Default to: - `--model-size base` - `--beam-size 3` - `--language zh` - VAD enabled These defaults are optimized for Chinese Bilibili speech. If the video is clearly non-Chinese or mixed-language, rerun with `--language auto` or a specific language code. ### 4. Keep outputs predictable By default the script writes into `downloads/bilibili-audio/` relative to the current working directory. Keep all three artifacts unless the user explicitly asks for fewer outputs: - transcript text: `.txt` - subtitles: `.srt` - segment metadata: `.segments.json` ### 5. Handle failures directly If a run fails: - missing `ffmpeg` / `ffprobe` → install system dependency first - missing Python packages → run `scripts/bootstrap_env.sh` - extractor or redirect issues → retry with the resolved canonical Bilibili URL - poor transcript quality → rerun with `--language auto`, a larger model, or `--no-vad` when speech is clipped Read `references/troubleshooting.md` when dependency setup or extraction fails. ## Resources ### scripts/ - `transcribe_bilibili.py` — main downloader + ASR pipeline - `bootstrap_env.sh` — create a virtualenv and install Python dependencies - `requirements.txt` — Python package list for the bootstrap script ### references/ - `troubleshooting.md` — dependency and extraction failure playbook

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 bilibili-audio-transcribe-1775913071 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 bilibili-audio-transcribe-1775913071 技能

通过命令行安装

skillhub install bilibili-audio-transcribe-1775913071

下载 Zip 包

⬇ 下载 bilibili-audio-transcribe v0.1.0

文件大小: 8.53 KB | 发布时间: 2026-4-12 09:10

v0.1.0 最新 2026-4-12 09:10
Initial public release: Bilibili/b23.tv audio download + transcript outputs (txt, srt, segments.json) with faster-whisper defaults for Chinese speech.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部