yt2bb

Solid

Use when the user wants to repurpose a YouTube video for Bilibili, add bilingual (English-Chinese) subtitles to a video, or create hardcoded subtitle versions for Chinese platforms.

AI & Automation 50 stars 4 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
57
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# yt2bb — YouTube to Bilibili Video Repurposing ## Overview Six-step pipeline: download → transcribe → translate → merge → burn subtitles → generate publish info. Produces a video with hardcoded bilingual (EN/ZH) subtitles and a `publish_info.md` with Bilibili upload metadata. ## When to Use - User provides a YouTube URL (single video or playlist) and wants a Bilibili-ready version - User needs bilingual EN-ZH subtitles burned into video - User wants to repurpose English video content for Chinese audience ## Quick Reference | Step | Tool | Command | Output | | ------ | ------ | --------- | -------- | | 0. Update | `git` | Auto-check for skill updates | — | | 1. Download | `yt-dlp` | `yt-dlp --cookies-from-browser chrome -f ... -o ...` | `{slug}.mp4` | | 2. Transcribe | `whisper`* | `srt_utils.py check-whisper` then transcribe | `{slug}_{lang}.srt` | | 2.5 Validate | `srt_utils.py` | `srt_utils.py validate / fix` | `{slug}_{lang}.srt` (fixed) | | 3. Translate | AI | SRT-aware batch translation | `{slug}_zh.srt` | | 4. Merge | `srt_utils.py` | `srt_utils.py merge ...` | `{slug}_bilingual.srt` | | 4.5 Style | `srt_utils.py` | `srt_utils.py to_ass --preset netflix\|clean\|glow` | `{slug}_bilingual.ass` | | 5. Burn | `ffmpeg` | `ffmpeg -c:v libx264 -vf ass=...` | `{slug}_bilingual.mp4` | | 6. Publish | AI | Analyze content, generate metadata | `publish_info.md` | ## Resolve the skill directory Resolve `SKILL_DIR` for use by later pipeline steps: ```bash # Find the skill d...

Details

Author
Agents365-ai
Repository
Agents365-ai/yt2bb
Created
6 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category