Langsung ke konten
Skillpedia
Motion & animasi78k ยท #1731

seam-craft

Fungsinya

Skill ini menetapkan aturan teknis yang menjaga transisi video tampak benar. Skill ini untuk pembuat video yang melihat kilatan atau glitch saat perpindahan adegan.

Kapan dipakai

  • โœ“Saat Anda menyatukan adegan-adegan video menjadi satu timeline utama.
  • โœ“Saat muncul kilatan putih di potongan atau fade antara dua adegan, terutama pada video gelap.
  • โœ“Saat Anda ingin memastikan transisi dirender dengan benar sebelum menyelesaikan video.

Link skill

https://github.com/heygen-com/hyperframes/blob/main/.agents/skills/seam-craft/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/heygen-com/hyperframes/blob/main/.agents/skills/seam-craft/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

โ€œAda kilatan putih di setiap potongan dalam video gelap saya. Perbaiki transisinya.โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill menjelaskan bahwa latar belakang di balik dua adegan harus padat, supaya fade tidak memperlihatkan halaman putih bawaan lewat celah itu. Skill juga mencantumkan pemeriksaan yang dijalankan sebelum merender.

Konten teknis (SKILL.md asli)

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

Seam Craft โ€” render prerequisites for scene-to-scene transitions

This is the render-correctness doctrine for PLV scene-to-scene seams: the prerequisites and master-timeline mechanics that make any transition composite correctly, independent of which specific transition is chosen. The per-transition catalog (crossfade, push-slide, zoom-through, cut-the-curve, โ€ฆ) lives in the transition registry โ€” this page is the doctrine that sits underneath all of them.

The transitions this doctrine governs are Tier-B-ready: pure transform / opacity / filter on the two scene clip wrappers (#el-<sid>), no injected overlay DOM, no per-scene cooperation. Overlay families (staggered blocks, blinds, light leak, grid dissolve, page burn) and shader transitions are deferred to later phases.

Stage ground prerequisite (white-flash guard)

Several templates open a window where the two wrappers' summed opacity < 1 (the cut-the-curve mid-window cut, zoom-through's 0.15 floor, plain crossfade's power-curve dip). Whatever is BEHIND the wrappers shows through during that window. If the assembled index.html #root has no opaque background, the renderer composites the dip over its default white page โ†’ a white flash at every seam, glaring on dark films (observed on two Spotify runs before the fix). The assembler must paint the stage: #root { background: var(--canvas-deep, var(--canvas, #000)) } โ€” assemble-index.mjs now emits this; any other consumer of these templates owns the same guarantee.

How the injector applies a transition

At a break boundary between scene i (from) and scene i+1 (to), the injector:

  1. Extends #el-<from> wrapper data-duration by duration_s (holds its final frame โ€” verified: core/src/runtime/init.ts:1393-1410 external-slot branch).
  2. Pulls #el-<to> wrapper data-start earlier by duration_s (creates the overlap window).
  3. Reassigns all clip data-track-index as a 0/1 ping-pong so the two overlapping wrappers never share a track (same-track overlap is illegal โ€” core/src/lint/rules/composition.ts). Higher track composites on top.
  4. Stamps the gsap_template into window.__timelines["main"] at T = overlap-start.

Verified by prototype render (2026-05-31): the master-timeline wrapper tween is seeked and rendered (no double-seek with the sub-comp's own paused timeline โ€” the runtime drives them independently), the extended wrapper holds scene i's final frame, and the higher-track incoming wrapper composites over + blends with the outgoing one.

Template placeholders

The injector substitutes these tokens in each gsap_template line:

Token Meaning
__OLD__ "#el-<from>" โ€” outgoing clip wrapper selector (quoted)
__NEW__ "#el-<to>" โ€” incoming clip wrapper selector (quoted)
__T__ overlap-start time in seconds (master clock)
__DUR__ duration_s for this boundary
__DX__ horizontal travel for directional types: -1920 (LEFT) / 1920 (RIGHT)
__DY__ vertical travel: -1080 (UP) / 1080 (DOWN)
__ORIGIN_OUT__ / __ORIGIN_IN__ transformOrigin pair for squeeze

filter / scaleX / transformOrigin are lint-clean on the master timeline (verified: core/src/lint/rules/gsap.ts has no per-property whitelist and scopes its checks to data-composition-id ranges; the x/y/scale/rotation/opacity whitelist is a scene-worker prompt rule only โ€” it does not bind index.html).

Pertanyaan umum

Mengapa kilatan putih terjadi?

Saat transisi, kedua adegan bisa sebagian transparan. Jika latar belakang tidak diatur, renderer menampilkan warna putih di celah itu.

Apa perbaikannya?

Halaman yang disusun sebaiknya melukis latar belakang padat di belakang adegan, sehingga celah terisi warna video.

Apakah ini mencakup jenis transisi tertentu?

Tidak. Skill mencakup dasar-dasar yang membuat transisi apa pun dirender dengan benar, bukan gaya transisi tertentu.

Detail

Deskripsi asli dari pembuat

Render-correctness doctrine for scene-to-scene seams in HyperFrames launch videos โ€” the prerequisites that make transitions composite correctly on the master timeline. Load when assembling the master timeline / index.html, when a white flash appears at a cut or crossfade seam (especially on dark films), when reasoning about why a transition opacity dip shows through, or when verifying the render-side mechanics of how overlapping scene wrappers blend. Covers the opaque stage-ground (#root background) white-flash guard and how the injector overlaps wrappers, holds final frames, ping-pongs tracks

repo: heygen-com/hyperframes

Popularitas

Bintang GitHub
78k
Peringkat
#1731
Lisensi
Apache-2.0
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa