pmarreck/yt-transcriber

CLI app- Give it a YouTube URL and you get a transcription with possible speaker identification and optional summary or translation, all thanks to open-source AI tooling and my lack of enough free time to watch content-sparse YouTube videos

What it solves

This tool provides a way to transcribe YouTube videos or local audio/video files into text. It eliminates the need to watch entire videos to find specific information, allowing users to read a transcript, summarize the content, or translate it into another language.

How it works

The application is a command-line interface (CLI) that uses open-source AI tooling, specifically the Whisper model for transcription. It can take a YouTube URL or a local file path as input. The tool handles the audio extraction from YouTube videos using ffmpeg and yt-dlp and then processes the audio through Whisper to generate a transcript. It also provides separate scripts for summarization and translation, which utilize OpenAI's API for these additional processing steps.

Who it’s for

Users who want to quickly process video content into text, researchers, or anyone who’s looking to save time by reading instead of watching content-sparse videos.

Highlights

  • own-source AI transcription using Whisper with multiple model sizes (base, small, medium, large, large-v2) available.
  • Support for both YouTube URLs and local audio/video files via ffmpeg.
  • Integrated caching system for transcripts and audio to avoid redundant processing.
  • Optional summarization and translation capabilities via OpenAI API integration.
  • Deterministic installation via Nix for simplified dependency management.

Related

  • Project
  • Project
  • Project
  • Project
  • Project