From 11b14c6e45b32dc5b55cc2d689ca8d879df921be Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Thu, 30 Nov 2023 19:40:12 -0800 Subject: [PATCH] Grabbing a transcript of a short snippet of a YouTube video with MacWhisper --- macos/quick-whisper-youtube.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 macos/quick-whisper-youtube.md diff --git a/macos/quick-whisper-youtube.md b/macos/quick-whisper-youtube.md new file mode 100644 index 0000000000..28f30f5130 --- /dev/null +++ b/macos/quick-whisper-youtube.md @@ -0,0 +1,21 @@ +# Grabbing a transcript of a short snippet of a YouTube video with MacWhisper + +I grabbed [a quote](https://simonwillison.net/2023/Dec/1/jeremy-howard/) from a transcript of a snippet of a YouTube video today for my blog. + +I use the [MacWhisper](https://goodsnooze.gumroad.com/l/macwhisper) macOS desktop app to run Whisper. It's a very pleasant GUI wrapper around the Whisper transcription model. + +Usually I pull a full YouTube video using [yt-dlp](https://github.com/yt-dlp/yt-dlp) and then drop the resulting `.mp4` file into MacWhisper to transcribe the whole thing. + +Today I realized there's a faster way if I just want a transcript of a few minutes from the video: + +1. Open MacWhisper +2. Hit the "New Recording" button and then "Start Recording" +3. Hit "Play" on the YouTube video +4. Wait until the end of the snippet and hit "Stop Recording" in MacWhisper +5. Hit "Transcribe Reporting" and wait a few seconds or minutes depending on the length of the snippet + +Once the transcription is done you can hit the "Copy" button to copy out the text - I then usually drop it into VS Code to make a few minor edits. + +Here's a GIF of the whole process: + +![Animated GIF illustrating each of the above steps](https://static.simonwillison.net/static/2023/macwhisper.gif)