Loading...
Loading...
Download video and audio from YouTube and 1000+ sites using yt-dlp. No API keys needed. Use when: (1) Downloading a video from YouTube or other sites, (2) Extracting audio from a video URL, (3) Downloading subtitles/captions from a video, (4) Getting video metadata without downloading.
npx skill4agent add heygen-com/skills video-downloadbrew install yt-dlppip install yt-dlpbrew install ffmpegapt install ffmpegyt-dlp -Upip install -U yt-dlpyt-dlp "URL" -o "%(title)s.%(ext)s" --merge-output-format mp4# 720p
yt-dlp "URL" -f "bestvideo[height<=720]+bestaudio/best[height<=720]" --merge-output-format mp4
# 1080p
yt-dlp "URL" -f "bestvideo[height<=1080]+bestaudio/best[height<=1080]" --merge-output-format mp4yt-dlp "URL" -x --audio-format mp3 --audio-quality 0# Download video with English subtitles
yt-dlp "URL" --write-subs --sub-langs en --merge-output-format mp4
# Download video with multiple subtitle languages
yt-dlp "URL" --write-subs --sub-langs "en,es,fr" --merge-output-format mp4
# Download only subtitles (no video)
yt-dlp "URL" --write-subs --sub-langs en --skip-downloadyt-dlp "URL" --dump-json --no-downloadyt-dlp "URL" -Fyt-dlp "URL" -o "./downloads/%(title)s.%(ext)s" --merge-output-format mp4| Quality | Format flag |
|---|---|
| Best | |
| 1080p | |
| 720p | |
| 480p | |
| Worst | |
-o| Variable | Description |
|---|---|
| Video title |
| File extension |
| Video ID |
| Channel/uploader name |
| Upload date (YYYYMMDD) |
| Duration in seconds |
| Video resolution |
--merge-output-format mp4.webm.mkv--no-download--dump-jsonyt-dlp -U-f "bestvideo[height<=720]+bestaudio"--dump-jsontitledurationuploaderview_countdescriptionformatssubtitlespip install yt-dlpyt-dlp -U