video-transcript

Extract timestamped verbatim transcripts from Bilibili, Douyin, Xiaohongshu, YouTube, or local videos.

264|33|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/Backtthefuture/huangshu --skill video-transcript-backtthefuture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: video-transcript
Source: https://github.com/Backtthefuture/huangshu/tree/main/skills/video-transcript
Command: npx skills add https://github.com/Backtthefuture/huangshu --skill video-transcript-backtthefuture

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, yt-dlp, and includes scripts (resource) components.

What problem does it solve?

视频逐字稿提取专家解决了将来自B站、抖音、小红书、YouTube等平台以及本地视频的视听内容快速转换为可搜索、可引用的逐字稿的痛点。它保持口语性、时间戳分段,并在长视频时自动分段处理,避免被模型概括。

Core Features & Use Cases

  • End-to-end transcript extraction from multiple platforms using headless browsers and the Doubao API for accurate transcription.
  • Handles long videos by automatic segmentation and per-segment processing, producing timestamped, readable Markdown transcripts.
  • Local execution on user devices (no login to video sites) and output to stdout and local files for easy sharing and archiving.
  • Suitable for content creators, researchers, and students who need accurate, word-for-word transcripts with fidelity.

Quick Start

Use the video-transcript skill to extract a transcript from a video URL or a local video path.

Frequently Asked Questions about video-transcript

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract verbatim transcripts from Bilibili, Douyin, and Xiaohongshu videos?

To extract verbatim transcripts from Bilibili, Douyin, and Xiaohongshu, this process uses a headless browser pipeline with Playwright to fetch streams and the Doubao API to generate accurate, timestamped text. It handles automatic segmentation for long videos to prevent summarization.

Can I get a searchable transcript with timestamps from local video files?

Yes, you can get a searchable transcript with timestamps from local video files. The system downloads streams via yt-dlp, compresses videos to API limits, and outputs timestamped, readable Markdown transcripts to local files for archiving.

What is the best way to transcribe long videos without the API summarizing the content?

The best way to transcribe long videos without summarization is through automatic segmentation. The pipeline splits long videos into smaller chunks and processes each segment individually to maintain strict verbatim fidelity across the entire duration.

Do I need a specific API key to perform video transcription using Playwright?

Yes, you need a provided Doubao API key to perform video transcription. While Playwright handles headless browser extraction and yt-dlp manages stream downloads, the Doubao API executes the actual speech-to-text conversion for the final transcript.

Why does video transcription fail on YouTube or local videos exceeding API limits?

Video transcription can fail if videos exceed API limits without prior compression. The system mitigates this by compressing videos to fit API constraints before calling the transcription service, ensuring large local files or long YouTube streams process correctly.

Does yt-dlp work with headless browsers to extract transcripts across multiple platforms?

Yes, yt-dlp works with headless browsers to extract transcripts across multiple platforms. Playwright manages the headless extraction pipeline locally without requiring site logins, while yt-dlp downloads the video streams for transcription.