SkillPedia Skills Encyclopedia
中文 EN

技能 2026-03-14 05:18 UTC

video-chapter-splitterv2.0

版本【2.0】由提交人 QiYongchuan 提交,主要更新类型为:性能优化与效率提升。提交说明:v2.0: extract audio before transcription, 10x+ faster。改善了响应速度与资源占用,降低运行开销。

QiYongchuan 0d02188 QiYongchuan/video-chapter-splitter

Commit提交信息原文

v2.0: extract audio before transcription, 10x+ faster

Key changes:
- Extract 16kHz mono WAV audio first via FFmpeg before Whisper transcription
  (1.5GB video: from 10+ hours to ~5 minutes on CPU)
- Default Whisper model changed from medium to small (best CPU cost-performance)
- Fix Windows GBK encoding errors (removed all emoji, pure ASCII output)
- Sanitize output filenames for cross-platform compatibility
- Auto-cleanup intermediate audio files (--keep-audio to preserve)
- Added real-world cost benchmarks: ~67K tokens / $0.74 per hour of video

Related: https://x.com/nopinduoduo/status/2032590321721421945

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>