Windows 11/10  ·  4 minutes  ·  Required for 4K/8K and MP3

FFmpeg for Windows — Setup for yt-dlp

FFmpeg enables yt-dlp to merge 4K/8K video and audio streams and convert to MP3. Setup takes under 4 minutes — download, extract, place next to yt-dlp.exe, done.

4K / 8K video merges
MP3, AAC, FLAC conversion
Embed thumbnails and metadata
HDR format handling
Subtitle embedding into MKV
SRT subtitle conversion

How to install FFmpeg for yt-dlp on Windows

Four steps, takes under 4 minutes.

Step 01

Download FFmpeg for Windows

Go to ffmpeg.org/download.html and pick a Windows build. Recommended sources: gyan.dev or BtbN — both are listed on the official page.

Step 02

Extract the archive

Extract the .zip or .7z file. Open the extracted folder and navigate to the bin subfolder — you'll find ffmpeg.exe there.

Step 03

Place next to yt-dlp.exe

Copy ffmpeg.exe into the same folder as yt-dlp.exe (e.g. C:\Tools\yt-dlp\). yt-dlp detects it automatically — no configuration needed.

Step 04

Verify it works

Download any video with yt-dlp. You should see [ffmpeg] Merging formats in the output. Or run ffmpeg -version in PowerShell.

Check FFmpeg is working with yt-dlp

Verify in PowerShell

Check FFmpeg version
ffmpeg -version
Test merge with a real download
yt-dlp -f "bestvideo+bestaudio/best" "URL"

Look for [ffmpeg] Merging formats into in the output.

Optional: add FFmpeg to PATH

Not needed if ffmpeg.exe is next to yt-dlp.exe. But useful if you want FFmpeg available everywhere.

  1. Search Environment Variables in Start
  2. Open Path under User variables
  3. Click New → paste path to ffmpeg\bin
  4. Click OK, restart terminal

FFmpeg not found or merge errors — how to fix

"ffmpeg not found" error in yt-dlp
Check that ffmpeg.exe is in the exact same folder as yt-dlp.exe. If you added FFmpeg to PATH, close all terminal windows and reopen PowerShell — PATH changes only take effect in new sessions. Run ffmpeg -version to confirm it's accessible.
Merge failed or output has no audio
Update both yt-dlp (yt-dlp -U) and FFmpeg to the latest version. Outdated FFmpeg builds sometimes fail to merge newer codec formats. Also check that your antivirus is not blocking ffmpeg.exe.
Antivirus flags ffmpeg.exe as a threat
False positive. FFmpeg is a widely used open-source tool. Download only from gyan.dev or BtbN (linked from the official ffmpeg.org page). Add an exception for the file in your antivirus settings if needed.
Do I need ffprobe.exe as well?
ffprobe is optional. yt-dlp can use it for more accurate format detection, but it is not required for basic merges or conversions. If you download the full FFmpeg build, ffprobe.exe is included — just place it next to ffmpeg.exe.
MP3 has no artwork even with FFmpeg installed
Make sure you include --embed-thumbnail --embed-metadata in the yt-dlp command. FFmpeg must be present for these flags to work. See the MP3 guide for the full command.