video-download
ما الذي تفعله
هذه المهارة تستخدم أداة yt-dlp لحفظ الفيديوهات أو الصوت أو التسميات من روابط الويب. وهي موجهة لمن يريد نسخة محلية من فيديو عام للمونتاج أو المرجع.
متى تستخدمها
- ✓عندما يكون لديك رابط YouTube وتريد حفظ الفيديو كملف MP4.
- ✓عندما تحتاج إلى الصوت فقط من فيديو كملف MP3.
- ✓عندما تريد الترجمات أو التسميات من فيديو دون تنزيل الفيديو نفسه.
رابط المهارة
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/video-download/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“نزّل هذا الفيديو من YouTube بدقة 720p، واحفظ الترجمات أيضًا.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يشغّل الوكيل أمر yt-dlp مع الرابط والجودة أو الصيغة أو خيارات الترجمة التي تختارها، بعد تثبيت yt-dlp وffmpeg.
المحتوى التقني (ملف 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-dlporpip install yt-dlp - ffmpeg:
brew install ffmpegorapt 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 mp4to avoid ending up with.webmor.mkvfiles. - Use
--no-downloadwith--dump-jsonfor 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-jsonoutput includestitle,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 -Uto 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
- آخر تحديث
- 28/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
3d-asset-generation
75kيساعد وكيلك على اختيار طريقة إنشاء أجسام ثلاثية الأبعاد لمشهد، عبر الكتالوجات وأدوات التحويل من نص أو صورة، وBlender للتجميع.
acestep
75kيساعد وكيلك على إنشاء موسيقى خلفية وأغانٍ ومقطوعات تعريفية ومقاطع منفصلة لفيديو، باستخدام مولّد الموسيقى المفتوح ACE-Step.
agents
75kيساعد وكيلك على بناء مساعدين صوتيين بالذكاء الاصطناعي باستخدام ElevenLabs، مثل روبوتات خدمة العملاء والشخصيات الصوتية التفاعلية.
ai-video-gen
75kيساعد وكيلك على إنشاء مقاطع فيديو بالذكاء الاصطناعي من وصف نصي أو صورة مرجعية، مع اختيار من بين عدة خدمات لتوليد الفيديو.
مهارات مشابهة
taste-application
280kيساعد وكيلك على إنشاء فيديوهات بأسلوب محدد. يمكنه نسخ إيقاع المونتاج من فيديو مرجعي، وإنشاء مشاهد جديدة، وضبط الألوان، ومونتاج كل شيء مع لقطات أخرى.
taste-distillation
280kيتيح لوكيلك تحليل الفيديوهات لإنشاء حزمة أسلوب. تتضمن الألوان وإيقاع القطع والعناصر البصرية التي يمكن إعادة استخدامها لإنشاء فيديوهات جديدة بالمظهر نفسه.
ui-demo
280kيجعل وكيلك يسجل فيديوهات عرض احترافية لواجهات المستخدم. مفيد لإنشاء الشروحات أو إظهار طريقة عمل تطبيق ويب.