본문으로 건너뛰기
Skillpedia
영상 편집75k · #2696

video-download

하는 일

이 스킬은 yt-dlp 도구로 웹 링크에서 영상, 오디오, 캡션을 저장합니다. 편집이나 참고를 위해 공개 영상의 로컬 사본을 원하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓YouTube 링크가 있고, 영상을 MP4 파일로 저장하고 싶을 때.
  • ✓영상에서 오디오만 필요해서 MP3 파일로 받고 싶을 때.
  • ✓영상 자체는 받지 않고 자막이나 캡션만 얻고 싶을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/video-download/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 YouTube 영상을 720p로 내려받고, 자막도 함께 저장해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 yt-dlp와 ffmpeg가 설치되면, 링크와 선택한 화질, 형식, 자막 옵션을 넣어 yt-dlp 명령을 실행합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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.
자주 묻는 질문

계정이나 API 키가 필요한가요?

아니요. 스킬에 따르면 API 키는 필요 없지만, 도구는 먼저 설치되어 있어야 합니다.

다른 무엇을 설치해야 하나요?

yt-dlp와 ffmpeg를 설치해야 하며, ffmpeg는 영상과 오디오 스트림을 합치는 데 쓰입니다.

다운로드하지 않고 영상 정보를 확인할 수 있나요?

네. 파일을 저장하지 않고 영상 정보를 보여 주는 명령이 있습니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
75k
순위
#2696
라이선스
AGPL-3.0
업데이트
2026. 10. 28.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬