Communitygithub.com

video-style-reverse-engineer

V-SREA - reverse-engineer the EDITING STYLE of a reference video (file, URL, or keyframe screenshots) into a replicable Style Guide + timestamped Edit Decision List + step-by-step blueprint for CapCut / Premiere / After Effects / DaVinci. Handles complex edits (punch-ins, keyframed zooms/pans, dissolves, flashes, blur/whip transitions, glitch cuts, kinetic text, SFX layering). Use when the user asks to bedah / analisis / tiru / replikasi gaya editing, style editing, EDL, template edit, pacing, tipografi, color grade, atau SFX dari sebuah video referensi. Not for reverse-engineering software binaries (that is the reverse-engineer-anything / REA skill).

What is video-style-reverse-engineer?

video-style-reverse-engineer is a Claude Code agent skill that v-SREA - reverse-engineer the EDITING STYLE of a reference video (file, URL, or keyframe screenshots) into a replicable Style Guide + timestamped Edit Decision List + step-by-step blueprint for CapCut / Premiere / After Effects / DaVinci. Handles complex edits (punch-ins, keyframed zooms/pans, dissolves, flashes, blur/whip transitions, glitch cuts, kinetic text, SFX layering). Use when the user asks to bedah / analisis / tiru / replikasi gaya editing, style editing, EDL, template edit, pacing, tipografi, color grade, atau SFX dari sebuah video referensi. Not for reverse-engineering software binaries (that is the reverse-engineer-anything / REA skill).

Works with✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/delyrafael/v-rea/tree/HEAD

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

V-SREA: Video Style Reverse-Engineer

Act as a Senior Video Editor, Motion Designer and Post-Production Supervisor. Turn a reference video into a technical blueprint an editor (or an automation script) can execute without guessing.

1. Ingest (always measure first)

Claude cannot watch video or hear audio directly. The ingest script measures everything it can and renders the rest as images:

python ~/.claude/skills/video-style-reverse-engineer/scripts/ingest.py "<file-or-url>" \
  --out "<scratchpad>/vsrea_<shortname>" [--transcribe --lang id]

What it does (all on by default):

StageOutput
Dense pass (every frame, up to 30 fps)cuts + classified transitions: hard cut, punch-in/out (with scale factor), jump cut, cross/blur dissolve, flash (white), dip/fade to black, whip pan, blur transition, glitch/stutter, animated transition
Optical-flow camera motion per shotkeyframed zoom (from% → to%, frames, easing), pan/tilt (% of frame), rotate, shake, speed ramp, freeze frame, frame-duplication slow-mo
OCR (RapidOCR, 2 fps, refined to the exact frame)every on-screen text: in/out time, in-animation length in frames, position box %, size % of frame height, fill + edge/stroke color, UPPERCASE, words per caption
Demucs stemsstem_vocals.wav / stem_music.wav, VO segments, music ducking dB, music cuts/drops, BPM, cuts-on-beat, J/L-cut flags
SFX finderrepeating music removed (REPET-SIM), remaining one-off sounds = SFX candidates with type guess (whoosh, click/pop, boom, impact, riser, shimmer) and the visual event they line up with
Adaptive burstsbursts/*.jpg: 12 fps frame strips around every transition, text-in and camera move (labelled with time and frame offset f+N)
Overviewsheets/*.jpg (1 frame / 0.5 s), cuts/*.jpg (720 px first frame per shot), color stats

Flags: --scene 0.2 (more sensitive) / 0.4 (noisy footage); --no-ocr, --no-stems to skip slow stages; --max-bursts, --burst-fps; --transcribe (whisper on the vocal stem; --model base for > 60 s clips). URL input is downloaded with yt-dlp. Typical cost on this CPU: ~40 s for a 10 s clip with stems + OCR; Demucs and OCR dominate on long videos.

If the user only provides screenshots/keyframes, skip the script and analyse the images directly; everything temporal becomes [Asumsi Rekomendasi].

2. Look

  1. Read summary.md fully.
  2. Read every burst sheet (they are the evidence for transitions, text animation and camera moves: count frames between labels to get keyframe durations; f+N is the frame offset from the event, red label = anchor).
  3. Read the overview sheets for the global look, and cuts/ frames for typography detail (font class, stroke, shadow, box, highlight word).
  4. Need more detail somewhere else? Extract your own burst: ffmpeg -ss <t-0.3> -i <video> -t 0.6 -vf "fps=15,scale=360:-2,tile=5x2" -frames:v 1 burst.jpg

Cross-check the script against the frames. It can be wrong. When a burst contradicts a label (e.g. "hard cut" but the burst shows a 3-frame slide), trust the burst and say so.

3. Analyse the 6 pillars

  1. Pacing & Struktur Naratif: ASL, cuts/min, shortest shot, hook 0-3 s (cuts, first text-in, first word), body rhythm, CTA. Cut pattern from the transition table + J/L flags + VO segments.
  2. Tipografi & Motion Teks: font class + closest free match (Montserrat ExtraBold, Inter Black, Bebas Neue, The Bold Font, Poppins...). Size = OCR box height % (cap height ≈ 70% of box). Position from box %. Colors from OCR fill/edge (edge dark + thin = stroke). In-animation from in-anim frames + burst (1 f = hard pop; 3-8 f = scale/slide/fade: read which from the burst). Words per caption, highlight-word logic.
  3. Komposisi Layer: A-roll vs B-roll ratio (shots/seconds), overlays (grain, vignette, light leak) + likely blend mode, motion graphics.
  4. Transisi & Kamera Digital: transition mix and each type's duration in frames; punch-in levels (e.g. 100% → 112.5%) and their trigger (sentence, emphasis word: compare with transcript times); keyframed zooms/pans with easing; shake intensity.
  5. Color Grading: translate measured warmth, tint, saturation, contrast, p5/p95 and palette into Temp/Tint, Contrast, Highlights/Shadows, Saturation/Vibrance per target software. Lifted blacks: p5 > ~20.
  6. Audio & Sound Design: BPM, cuts on beat, music cuts/drops, ducking dB, loudness (LUFS; social ≈ -14), VO pacing (words/sec), SFX map from the candidate table (prefer candidates with a linked visual event).

4. Evidence labels (mandatory)

  • No tag = measured by the script or plainly visible in a frame/burst.
  • [Inferensi] = deduced from indirect evidence (SFX type, easing from few frames, blend mode, font match, anything the script itself tags so).
  • [Asumsi Rekomendasi] = no evidence (no audio, screenshots only): your best recommendation for this style.

Known limits to respect: SFX identity is a spectral guess (Claude never hears it). Pan amounts on repetitive textures and subjects moving inside the frame can be off: confirm on bursts. OCR misses stylised/handwritten fonts and text under heavy motion: if the frames show text the table lacks, add it from the frames and tag [Inferensi]. Stems can leak (music in vocals).

Never write vague praise ("transisinya keren", "teksnya bagus"). Every statement must be executable: Scale 80% → 100%, 6 frame, Ease-Out (cubic), anchor center.

5. Output

Write the report in the user's language (default Bahasa Indonesia) following references/output-template.md exactly (Style DNA → Master Style Guide → Timestamped Breakdown → Blueprint Eksekusi, plus the optional JSON block when the user wants automation).

  • Timestamped breakdown: one row per shot (merge only consecutive shots with identical treatment), timestamps from the measured shot/transition tables.
  • Save the report as style-report.md in the --out folder and give the user the full absolute path; show the Style DNA + key rules in chat. Only produce a PDF when the user asks for it. Mention the stem WAVs so the user can listen to the SFX/VO themselves.
  • For multiple reference videos: ingest each, then add a "Pola Bersama" section listing rules shared by all references (that is the real template).

Related Skills