yt-dlp Troubleshooting (Windows)
Fix common issues on Windows: FFmpeg merges, parsing errors, login/cookies, slow speeds, SSL, SmartScreen, PATH, and more. Start with Update & Verify below.
1) Update & verify
- ‘Unable to extract …’ usually means you need the latest extractors. Run
yt-dlp -Uand retry. - List formats to check availability: yt-dlp -F "URL"
2) FFmpeg & merge errors
- ffmpeg not found / no merge: Place ffmpeg.exe next to yt-dlp.exe or add FFmpeg to PATH.
- Use separate streams: -f "bestvideo+bestaudio/best"
- Test merge: ffmpeg -version
Guide: FFmpeg setup for Windows
3) Format & compatibility
- Prefer MP4/H.264: -f "bestvideo[ext=mp4][vcodec*=h264]+bestaudio[ext=m4a]/best[ext=mp4]"
- Cap at 1080p: -f "bestvideo[height<=1080]+bestaudio/best"
4) Auth & restricted videos
- Login required: --cookies-from-browser chrome (or edge/firefox)
- Use only for content you are allowed to access.
5) Slow or unstable speed
- Concurrency: -N 4 (try 4–8)
- Stabilize: --limit-rate 5M
- Retry: --retries 10 --fragment-retries 10
6) Windows-specific issues
- ‘yt-dlp’ not recognized: Run from its folder or add to PATH.
- SmartScreen: More info → Run anyway (official GitHub release linked).
- Access denied / blocked: File properties → Unblock; check antivirus.
7) SSL & certificate errors
- Update Windows certificates and try again.
- As a last resort: --nocheck-certificate (not recommended long‑term).
Advanced diagnostics
Check logs for exact error messages. Update yt-dlp and verify FFmpeg before deeper debugging.
FAQ
403/410 after many attempts?
Wait and try later, avoid aggressive retries, and consider using your own connection without proxies/VPNs that might be throttled.
‘Unsupported URL’?
The site may not be supported or requires update. Run yt-dlp -U and check -F for formats.
Audio only but no video?
Use bestvideo+bestaudio and ensure FFmpeg is present for merging.
Legal & safety
yt-dlp is open source and safe. Only download content you have rights to and follow each website's Terms of Service. We link to the official GitHub release.
Next steps: Commands cheatsheet • FFmpeg setup • 4K/8K guide