Skip to content

v3.0.1 - YouTube Support Fixed πŸŽ₯

Choose a tag to compare

@Illyism Illyism released this 06 Oct 17:57
· 28 commits to main since this release

πŸ› Bug Fixes: YouTube Now Works!

Fixed YouTube support by switching to the more reliable yt-dlp tool.

βœ… What's Fixed

YouTube Downloads Now Work

  • Switched from ytdl-core to yt-dlp (command-line tool)
  • Much more reliable - yt-dlp is actively maintained and bypasses YouTube's restrictions
  • Tested successfully with 45-minute video

Smart Two-Stage Optimization

  • Stage 1: 1.2x speed optimization
  • Stage 2: If still >24MB, apply Opus compression
  • Automatically stays under Whisper API's 25MB limit

Package Size Reduced

  • Removed heavy ytdl-core dependency
  • 2.0 MB β†’ 0.77 MB (62% smaller!)
  • No npm dependencies for YouTube (uses system yt-dlp)

πŸ“Š Real Test Results

45-minute YouTube video:

πŸ“₯ Downloaded: 66.7 MB (audio-only)
⚑ After speed: 41.6 MB (-37.5%)
🎡 After Opus: 22.2 MB (under 24MB limit βœ…)
βœ… Transcribed successfully!

πŸ”§ Prerequisites Update

For YouTube support, install yt-dlp:

# macOS
brew install yt-dlp

# Ubuntu/Debian  
sudo apt install yt-dlp

# Windows
winget install yt-dlp

# Or with pip
pip install yt-dlp

πŸ’‘ Usage

# YouTube video
npx @illyism/transcribe@latest https://www.youtube.com/watch?v=VIDEO_ID

# Local files still work the same
npx @illyism/transcribe@latest video.mp4

πŸ”— Links


Full Changelog: v3.0.0...v3.0.1