Transcribe Bilibili videos to text with high accuracy using Whisper medium model. Use when the user provides a Bilibili video URL (BVxxxxx) and wants to: (1) Extract the complete audio content as text with high accuracy, (2) Get a detailed summary of the video content, (3) Save the transcript as a formatted TXT file instead of posting long text to Discord. Automatically detects CC subtitles if available, otherwise uses Whisper medium model with GPU acceleration. Output saves to 'Bilibili transcript' folder by default, includes video metadata, summary section, and full transcript in Simplified Chinese.
High-accuracy Bilibili video transcription with multi-language AI subtitle support.
This skill provides a complete transcription workflow for Bilibili videos:
ai-zh, ai-en, ai-ja, ai-es, ai-ar, ai-pt, ai-ko, ai-de, ai-fr--write-subs --write-auto-subs comboBilibili uses ai- prefix for AI-generated subtitles:
| Code | Language | 语言 |
|---|---|---|
ai-zh | Chinese | 中文 |
ai-en | English | 英文 |
ai-ja | Japanese | 日文 |
ai-es | Spanish | 西班牙文 |
ai-ar | Arabic | 阿拉伯文 |
ai-pt | Portuguese | 葡萄牙文 |
ai-ko | Korean | 韩文 |
ai-de | German | 德文 |
ai-fr | French | 法文 |
yt-dlp - Video/audio downloadffmpeg - Audio processingwhisper - Speech-to-text (local, no API key)opencc - Traditional to Simplified Chinese conversion (optional)./scripts/bilibili_transcript.sh "https://www.bilibili.com/video/BVxxxxx"
Priority order:
After the script completes, read the generated TXT file and:
In Discord, post:
For best results with AI subtitles:
Start WSL Chromium:
chromium-browser &
Navigate to bilibili.com
Log in with your Bilibili account
Run the transcription script
The script will automatically use Chromium's cookies to access member-only AI subtitles.
./scripts/bilibili_transcript.sh "https://www.bilibili.com/video/BV1Z1wJzgEAj/"
# Output: workspace/Bilibili transcript/[VideoTitle]_BVxxxxx_transcript.txt
./scripts/bilibili_transcript.sh "https://www.bilibili.com/video/BV1Z1wJzgEAj/" ~/Documents
medium model (~95% accuracy, balanced speed) ✅| Source | Accuracy | Speed | Best For |
|---|---|---|---|
| CC Subtitles | 100% | ⚡ Instant | All videos with manual subtitles |
| AI Subtitles (ai-zh) | ~90% | ⚡ Instant | Chinese videos |
| AI Subtitles (ai-en) | ~85% | ⚡ Instant | English videos |
| Whisper medium | ~95% | 🐢 Slow | No subtitle videos |
workspace/Bilibili transcript/Output files are named: [VideoTitle]_[BVID]_transcript.txt
股票分红_是从左口袋掏右口袋吗_BV1ddzUYTE27_transcript.txtThe script tries subtitles in this order:
This ensures fastest processing while maintaining high accuracy.