Langsung ke konten
Skillpedia
Edit video75k · #2696

video-download

Fungsinya

Skill ini memakai alat yt-dlp untuk menyimpan video, audio, atau caption dari tautan web. Cocok untuk orang yang menginginkan salinan lokal dari video publik untuk disunting atau dijadikan referensi.

Kapan dipakai

  • ✓Saat Anda punya tautan YouTube dan ingin videonya disimpan sebagai file MP4.
  • ✓Saat Anda hanya membutuhkan audio dari sebuah video sebagai file MP3.
  • ✓Saat Anda ingin subtitle atau caption dari sebuah video tanpa mengunduh videonya.

Link skill

https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/video-download/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/video-download/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Unduh video YouTube ini dalam 720p dan simpan juga subtitlenya.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent menjalankan perintah yt-dlp dengan tautan dan pilihan kualitas, format, atau subtitle yang Anda inginkan, setelah yt-dlp dan ffmpeg terpasang.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

video-download

Download video and audio from URLs using yt-dlp directly. No wrapper scripts needed.

Prerequisites

  • yt-dlp: brew install yt-dlp or pip install yt-dlp
  • ffmpeg: brew install ffmpeg or apt install ffmpeg (required for merging video+audio streams)

Update yt-dlp periodically to keep up with site changes: yt-dlp -U or pip install -U yt-dlp.

Commands

Download best quality

yt-dlp "URL" -o "%(title)s.%(ext)s" --merge-output-format mp4

Download specific resolution

# 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 mp4

Audio only

yt-dlp "URL" -x --audio-format mp3 --audio-quality 0

Download subtitles

# 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-download

Get metadata (no download)

yt-dlp "URL" --dump-json --no-download

List available formats

yt-dlp "URL" -F

Specify output directory

yt-dlp "URL" -o "./downloads/%(title)s.%(ext)s" --merge-output-format mp4

Quality Presets

Quality Format flag
Best -f "bestvideo+bestaudio/best" (default)
1080p -f "bestvideo[height<=1080]+bestaudio/best[height<=1080]"
720p -f "bestvideo[height<=720]+bestaudio/best[height<=720]"
480p -f "bestvideo[height<=480]+bestaudio/best[height<=480]"
Worst -f "worstvideo+worstaudio/worst"

Output Template Variables

Common variables for -o templates:

Variable Description
%(title)s Video title
%(ext)s File extension
%(id)s Video ID
%(uploader)s Channel/uploader name
%(upload_date)s Upload date (YYYYMMDD)
%(duration)s Duration in seconds
%(resolution)s Video resolution

Tips

  • Always use --merge-output-format mp4 to avoid ending up with .webm or .mkv files.
  • Use --no-download with --dump-json for metadata-only queries -- no files written to disk.
  • If a download fails with HTTP errors, update yt-dlp first (yt-dlp -U).
  • Use -f "bestvideo[height<=720]+bestaudio" to save bandwidth when full resolution is not needed.
  • yt-dlp automatically handles rate limiting and retries.
  • The --dump-json output includes title, duration, uploader, view_count, description, formats, subtitles, and much more.

Troubleshooting

  • "yt-dlp: command not found": Install it (pip install yt-dlp) and ensure your PATH includes pip's bin directory.
  • "ffmpeg: command not found": Install ffmpeg. Without it, downloads fail when video and audio are separate streams (common on YouTube for HD).
  • Downloads fail or return errors: Run yt-dlp -U to update. Sites change frequently and yt-dlp ships fixes regularly.
Pertanyaan umum

Apakah saya perlu akun atau kunci API?

Tidak. Skill menyatakan tidak memerlukan kunci API, meskipun alatnya harus dipasang terlebih dahulu.

Apa lagi yang perlu saya pasang?

Skill mencantumkan yt-dlp dan ffmpeg, dengan ffmpeg dipakai untuk menggabungkan aliran video dan audio.

Bisakah saya memeriksa detail video tanpa mengunduhnya?

Bisa. Skill mencantumkan perintah yang menampilkan informasi video tanpa menyimpan file.

Detail

Deskripsi asli dari pembuat

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.

repo: calesthio/OpenMontage

Popularitas

Bintang GitHub
75k
Peringkat
#2696
Lisensi
AGPL-3.0
Diperbarui
28/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa