Skip to content

pascalweiss/yt-transcribe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yt-transcribe

Download and transcribe YouTube videos using yt-dlp and whisper.cpp. Supports single videos and full channel batch mode with parallel workers.

Install

Homebrew (Apple Silicon Mac)

brew install pascalweiss/tap/yt-transcribe

pipx / uv (any platform, Python 3.10+)

pipx install yt-transcribe
# or
uv tool install yt-transcribe

Requirements: ffmpeg must be available on your PATH.

Usage

Single video

yt-transcribe "https://www.youtube.com/watch?v=VIDEO_ID"

Channel mode

Transcribe all videos from a channel (skips already-transcribed ones):

yt-transcribe --channel "https://www.youtube.com/@CHANNEL" -o ./transcripts --workers 4

Options

Flag Description Default
-m, --model Whisper model name or path to .bin file large-v3-turbo
--no-gpu Disable GPU acceleration (Metal) off
-l, --language Language code (en, de, auto, ...) auto
-f, --output-format Output format: txt, vtt, srt, csv, json, all txt
-a, --audio-format Audio download format mp3
-k, --keep-audio Keep audio file after transcription off
-o, --output-dir Output directory $YT_TRANSCRIBE_OUTPUT_DIR or .
-c, --channel Channel URL for batch mode
--tab Channel tab: videos, shorts, streams videos
--min-seconds Skip videos shorter than N seconds 60
--after Only videos after this date (YYYY-MM-DD, approximate)
--before Only videos before this date (YYYY-MM-DD, approximate)
--amount Max new videos to transcribe (0 = all) 0
--workers Parallel workers for channel mode 1
--version Show version and exit

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages