The YouTube Downloader gets a YouTube video onto your Mac and into a file Final Cut Pro edits smoothly. It’s two pieces: yt-dlp downloads the video, and three small shell commands (prores, probe, yturl) transcode, inspect and trace it back to its source.
YouTube serves VP9 or AV1 video in WebM or MP4. FCP can choke on those, and long-GOP footage scrubs badly. prores rewrites the file as ProRes 422 with uncompressed audio, which imports cleanly and cuts on any frame.
What you need:
| Piece | Why | Installed from |
|---|---|---|
| Homebrew | installs ffmpeg | brew.sh |
| uv | installs yt-dlp as a tool | Homebrew |
| yt-dlp | the downloader | uv tool install yt-dlp |
| ffmpeg + ffprobe | transcoding and inspection | brew install ffmpeg |
| zsh helpers | prores, probe, yturl | a block in ~/.zshrc (next section) |
Apple silicon only: prores uses the Mac’s hardware ProRes encoder (prores_videotoolbox).
1. Setup
Four steps, once per Mac.
-
Install the tools:
brew install uv ffmpeg uv tool install yt-dlp which yt-dlp # expect ~/.local/bin/yt-dlp -
Create the download folder and the yt-dlp config. The config makes every download land in one place, named by its video ID, with the title, uploader, date and source URL written into the file’s metadata.
mkdir -p ~/Downloads/YouTube ~/.config/yt-dlp cat > ~/.config/yt-dlp/config <<'EOF' -P ~/Downloads/YouTube -o "%(id)s.%(ext)s" --embed-metadata EOF -
Add the helpers to the end of
~/.zshrc:# YouTube download/transcode helpers _ytfind() { local f="$1" if [[ -z $f ]]; then local -a recent recent=(~/Downloads/YouTube/*.(webm|mov|mp4|mkv)(Nom)) f=$recent[1] elif [[ ! -e $f ]]; then f=~/Downloads/YouTube/$f fi [[ -e $f ]] && print -r -- $f } probe() { local f=$(_ytfind "$1") [[ -n $f ]] || { print "nothing to probe"; return 1; } ffprobe -hide_banner "$f" } prores() { if (( $# > 1 )); then local f; for f in "$@"; do prores "$f"; done; return fi local f=$(_ytfind "$1") [[ -n $f ]] || { print "no source found"; return 1; } [[ -e ${f:r}.mov ]] && { print "skipping ${f:t}: already transcoded"; return 0; } ffmpeg -i "$f" -c:v prores_videotoolbox -profile:v standard -c:a pcm_s16le "${f:r}.mov" } yturl() { local f=$(_ytfind "$1") [[ -n $f ]] || { print "no file found"; return 1; } local url=$(ffprobe -v quiet -show_entries format_tags=comment -of default=nw=1:nk=1 "$f") [[ $url == http* ]] || url="https://youtu.be/${f:t:r}" open "$url" } -
Load it and check:
source ~/.zshrc, thentype proresshould print the function.
How each helper finds its file: no argument means the newest video in ~/Downloads/YouTube; a bare name like abc123.webm is looked up in that folder; a full path is used as given.
2. Everyday use
The normal run is two commands: download, then transcode.
yt-dlp "https://www.youtube.com/watch?v=VIDEO_ID"
prores
You end up with two files in ~/Downloads/YouTube: the original (VIDEO_ID.webm or .mp4) and VIDEO_ID.mov, the ProRes copy. Import the .mov into FCP. Keep the original until the edit is done; it’s a fraction of the size if you need to transcode again.
| Command | What it does |
|---|---|
yt-dlp "URL" | Downloads the best video and audio and merges them into one file. Quote the URL: ? and & mean something to zsh |
prores | Transcodes the newest download to ProRes 422 with 16-bit PCM audio, writing VIDEO_ID.mov beside it |
prores VIDEO_ID.webm | Transcodes that file |
prores a.webm b.mp4 c.mkv | Transcodes several, one after another; any that already has a .mov is skipped |
probe | Shows codec, resolution, frame rate, duration and metadata of the newest download |
probe VIDEO_ID.mov | Same, for one file. Check the frame rate here before you set up the FCP project |
yturl VIDEO_ID.mov | Opens the video’s page on YouTube, for credits or to check the upload date |
Run prores right after the download. With no argument it picks the newest file in the folder, and a second download in between would change which one that is.
A ProRes 422 file runs roughly 15 to 20 times the size of the YouTube original: about 1 GB a minute at 1080p, close to 4 GB a minute at 4K. Point a big job at an external drive (next section).
3. Recipes
Flags typed on the command line override the config file, so any of these work alongside it.
| Goal | Command |
|---|---|
| Download into a project folder | yt-dlp -P "/Volumes/media/MyProject/assets/youtube" "URL" |
| See which qualities exist | yt-dlp -F "URL" |
| Cap the resolution at 1080p | yt-dlp -f "bv*[height<=1080]+ba/b" "URL" |
| A whole playlist | yt-dlp "PLAYLIST_URL" (each video gets its own ID-named file) |
| Only part of a video (1:30 to 2:45) | yt-dlp --download-sections "*1:30-2:45" "URL" |
| Audio only, as WAV | yt-dlp -x --audio-format wav "URL" |
| English subtitles too | yt-dlp --write-subs --sub-langs en "URL" |
| Human-readable file names for one job | yt-dlp -o "%(title)s [%(id)s].%(ext)s" "URL" |
| Transcode everything still in WebM | prores ~/Downloads/YouTube/*.webm |
| Transcode a file outside the YouTube folder | prores /path/to/file.mp4 (the .mov lands beside it) |
A section download cuts on the nearest keyframe, so it can start a second or two early. Download a little wide and trim in FCP.
yturl can’t find the page for a file renamed with a custom -o template unless the metadata survived, because its fallback builds the link from the file name.
4. Troubleshooting
| Symptom | Fix |
|---|---|
HTTP Error 403: Forbidden, or “Sign in to confirm” | YouTube changed something. Run uv tool upgrade yt-dlp and try again. If the stable release hasn’t caught up, uv tool install --force --prerelease allow yt-dlp gets the latest pre-release |
zsh: no matches found | The URL isn’t quoted. Wrap it in double quotes |
prores transcoded the wrong file | With no argument it takes the newest file in ~/Downloads/YouTube. Name the file instead |
skipping …: already transcoded | A .mov of the same name exists. Delete or rename it to transcode again |
command not found: prores | The helpers aren’t loaded. Run source ~/.zshrc, or open a new Terminal window |
which yt-dlp shows /opt/homebrew/bin | An older Homebrew copy is first on PATH. Put ~/.local/bin ahead of it, or brew uninstall yt-dlp |
| Audio drifts or the picture stutters in FCP | Check the source frame rate with probe. Some uploads are variable frame rate; transcoding with a fixed rate fixes it: ffmpeg -i in.webm -r 30 -c:v prores_videotoolbox -profile:v standard -c:a pcm_s16le out.mov (use the rate probe reports) |
| FCP says the file is unsupported | You imported the WebM. Import the .mov |
Only download material you have the rights to use, or that falls under your institution’s fair-use guidance.