SkillsGrove
SkillsGrove/Video production/0xmariowu/Autosearch/video-to-text-bcut

video-to-text-bcut

Installation

$npx skills add https://github.com/0xmariowu/Autosearch --skill video-to-text-bcut
$git clone --depth 1 https://github.com/0xmariowu/Autosearch.git /tmp/Autosearch && mkdir -p ~/.claude/skills && cp -r /tmp/Autosearch/autosearch/skills/tools/video-to-text-bcut ~/.claude/skills/video-to-text-bcut
Please install this Agent Skill for me: https://github.com/0xmariowu/Autosearch/tree/00ad54c022a3effb9e848bb70b158b79584f6014/autosearch/skills/tools/video-to-text-bcut — read its SKILL.md and scripts first, and only install it into my skills folder once you have confirmed it is safe.

Summary

Original description · MITTranscribe video/audio URL to text + word-level timestamps using Bilibili Bcut ASR API (free, no API key). Preferred for Chinese content — Bcut gives character-level timestamps vs Whisper word-level. Returns text + segments [{start, end, text}]. Requires yt-dlp + ffmpeg.
The SKILL.md below is reproduced from 0xmariowu/Autosearch (commit 00ad54c) under the MIT license. The text is unchanged; only the file header metadata is omitted, images are shown as links, and very long files are truncated. Copyright 2026 0xmariowu. License: LICENSE. Only the instructions file is shown; see the original repository for any scripts.

Uses Bilibili's public Bcut ASR API (no login required):

  1. yt-dlp extracts audio from video URL
  2. ffmpeg converts to 16kHz mono WAV
  3. Bcut API: upload → create task → poll → get word-level timestamps
  4. SegmentBuilder aggregates chars into sentence-level segments

Output

{
  "ok": true,
  "text": "完整转录文本",
  "segments": [{"start": 0.0, "end": 2.5, "text": "第一句话。"}],
  "duration_seconds": 120.5,
  "source": "https://..."
}

Quality Bar

  • Returns segments with start/end in seconds
  • Handles Bcut polling timeout gracefully (returns partial text)
  • Falls back gracefully if Bcut fails
View full license text (MIT)
MIT License

Copyright (c) 2026 0xmariowu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.