SkillsGrove
SkillsGrove/Videoproduktion/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
Bitte installiere diesen Agent Skill für mich: https://github.com/0xmariowu/Autosearch/tree/00ad54c022a3effb9e848bb70b158b79584f6014/autosearch/skills/tools/video-to-text-bcut – lies zuerst seine SKILL.md und seine Skripte und installiere ihn erst dann in meinen Skills-Ordner, wenn du bestätigt hast, dass er sicher ist.

Zusammenfassung

Originalbeschreibung · 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.
Die folgende SKILL.md ist aus 0xmariowu/Autosearch (Commit 00ad54c) unter der Lizenz MIT wiedergegeben. Der Text ist unverändert; lediglich die Metadaten im Dateikopf sind weggelassen, Bilder werden als Links angezeigt und sehr lange Dateien werden gekürzt. Copyright 2026 0xmariowu. Lizenz: LICENSE. Es wird nur die Anleitungsdatei angezeigt; etwaige Skripte finden Sie im Original-Repository.

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
Vollständigen Lizenztext ansehen (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.