captions-overlay
ما الذي تفعله
تضع هذه المهارة قواعد الترجمات في فيديوهات HyperFrames. وهي مناسبة لصناع الفيديو الذين يريدون ترجمات نظيفة لا تشوّش على الصورة.
متى تستخدمها
- ✓عندما تضيف ترجمات إلى فيديو يتحدث فيه شخص أمام الكاميرا أو فيديو إطلاق.
- ✓عندما تحتاج إلى قرار هل تُحذف عبارة منطوقة أم تبقى على الشاشة.
- ✓عندما تريد ترجمات فوق الفيديو دون أن تزيح الصورة.
رابط المهارة
https://github.com/heygen-com/hyperframes/blob/main/.agents/skills/captions-overlay/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أضف ترجمات إلى فيديو الإطلاق لديّ، لكن أبقِ الصورة في المنتصف واحذف كلمات الحشو.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تصنّف المهارة كل عبارة منطوقة في إحدى ثلاث مجموعات: تُحذف، أو تُعرض على شريط ترجمة، أو تُدمج كإبراز نادر. وتوضع الترجمات فوق الفيديو، فيبقى الإطار كاملًا.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Captions Overlay Doctrine
Overlay doctrine — supplements the upstream
/hyperframesskill'sreferences/captions.md. Applies ON TOP of it; do not expect it folded into the upstream skill.
Two ideas combine here. First, the caption model — every spoken phrase is drop,
rail, or embed, and embed is the scarce earned peak, not the default. Second, the
overlay law — a caption line is composited ON TOP of the film as an overlay; it is
NOT a reserved zone, so you never shift content up or leave a dead band to "make room"
for it. The two reinforce each other: because captions ride as an overlay (the verbatim
rail in front, the occasional embed behind the subject), the composition keeps its full
frame and centers on the true vertical center.
The caption model — drop / rail / embed
Every spoken phrase is one of three things:
| What | How it's shown | |
|---|---|---|
| drop | filler — um/uh, stutters, self-corrections | not shown |
| rail | the default — ordinary spoken content (verbatim) | clean lower-third subtitle, in front, readable. A punch word can get an inline emphasis highlight (accent colour / active-word pop) — it stays on the rail. |
| embed | a promoted peak — the headline beat | one big word composited behind the subject (matte occlusion), designed entrance + exit |
The rail carries most of the text; embed is the scarce, earned peak — ≤1 per beat, never two adjacent/co-visible, spaced ≥ a beat apart. A short clip → usually one embed; a long explainer → ~one per section. Embedding every word is the common mistake.
This is the default shape (rail = the verbatim lower-third; embed = the climax composited behind the subject). A pure-cinematic treatment drops the rail and makes everything embed-style — use it only for pure-cinematic asks, never for explainer / voiceover where the words must read.
Rail-first, embed-scarce (the load-bearing rules)
- Rail-first for talking-head / explainer. Don't embed the whole transcript — most text is the rail; embed only peaks. Embedding everything is the default mistake.
- Embed is scarce + spaced. ≤1 embed per sentence/beat, never two adjacent or
co-visible, ≥ a beat apart, at most one
apex. climax = per-beat peak, not "the single payoff of the entire clip."
The overlay law — captions are NOT a reserved band
In a composed video with captions enabled, the caption line is a small, minimal word-by-word line composited as an overlay layer ON TOP of the whole film (a single text line, bottom-centered, roughly the bottom ~5-8% of canvas height). It is an overlay, not a reserved zone:
- Center the composition on the TRUE vertical center — y = H / 2 (landscape 540, portrait 960). Do not shift content up to "make room" for captions; a composition centered at 0.42 × H with a dead lower band is the bug, not the fix.
- Content may extend to the canvas bottom. Full-bleed subjects, rails, and backgrounds all welcome.
- One soft courtesy rule: avoid parking critical small readable text (a URL line, a legal line, a sub-caption) exactly in the bottom ~80px center span where the caption line sits — the overlay would fight it. Large imagery / cards / ambient content under the captions is fine; the caption skin is designed to read over content.
- There is no machine keep-out gate (the old
captions.mjs keepoutcheck is retired). Snapshot review judges caption-over-content legibility visually.
When captions are disabled: identical positioning freedom — the overlay simply doesn't exist.
Why these two rules are one doctrine
The model says the rail rides in front and an embed is a rare word composited behind the subject — both are layers added to footage that ships untouched. The overlay law says the caption line is a laye
الأسئلة الشائعة
ماذا تعني الحذف والشريط والتضمين؟
الحذف يزيل كلمات الحشو. والشريط يعرض الكلمات في سطر ثابت. والتضمين إبراز نادر يوضع خلف الموضوع.
هل تحرّك الصورة للأعلى لإفساح مكان للترجمات؟
لا. الترجمات طبقة فوق الفيديو، فيحتفظ الفيديو بإطاره الكامل.
هل تعمل مع HyperFrames؟
نعم. تضيف إلى دليل ترجمات HyperFrames وتُطبَّق فوقه.
التفاصيل
الوصف الأصلي من المؤلف
Overlay doctrine for captions in HyperFrames videos — the caption MODEL (drop / rail / embed) and the rule that captions are an OVERLAY composited on top of the film, never a reserved bottom band you shift content up to avoid. Load when adding captions/subtitles to a talking-head or launch video, when deciding whether a phrase should be dropped, ride the verbatim rail, or be promoted to a scarce embedded climax, when laying out a composition that will carry captions (do NOT reserve a keep-out band), or when centering a composition on the true frame center under captions. Applies ON TOP of the
repo: heygen-com/hyperframes
الشعبية
- نجوم GitHub
- 78k
- الترتيب
- #1727
- الترخيص
- Apache-2.0
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
cut-the-curve
78kيعلّم وكيلك الانتقالات المستخدمة في فيديوهات HyperFrames، مثل القطع السلس بين المشاهد، والتكبير المتتابع، وظهور النصوص المتدرج.
motion-doctrine
78kيمنح وكيلك القواعد الأساسية لجعل الفيديو متعدد المشاهد يبدو كحركة كاميرا متصلة، لا كشرائح منفصلة.
oversized-cursor
78kيعلّم وكيلك إضافة مؤشر كبير ومتحرك إلى الفيديو يوجّه عين المشاهد، ويجعل النقرات تبدو كأنها تسبب الإجراء التالي.
seam-craft
78kيشرح كيف تُنجز الانتقالات بين المشاهد في فيديو HyperFrames بشكل نظيف، دون ومضات بيضاء أو تلاشٍ شفاف عند القطع.
مهارات مشابهة
taste-application
280kيساعد وكيلك على إنشاء فيديوهات بأسلوب محدد. يمكنه نسخ إيقاع المونتاج من فيديو مرجعي، وإنشاء مشاهد جديدة، وضبط الألوان، ومونتاج كل شيء مع لقطات أخرى.
taste-distillation
280kيتيح لوكيلك تحليل الفيديوهات لإنشاء حزمة أسلوب. تتضمن الألوان وإيقاع القطع والعناصر البصرية التي يمكن إعادة استخدامها لإنشاء فيديوهات جديدة بالمظهر نفسه.
ui-demo
280kيجعل وكيلك يسجل فيديوهات عرض احترافية لواجهات المستخدم. مفيد لإنشاء الشروحات أو إظهار طريقة عمل تطبيق ويب.