Style from one video
Input: one video file whose look you want. Output: a new, original animation on a different topic that matches that look, plus a score that says how close it is.
Hard rules
- Copy the style only. Never reuse the reference's characters, mascots, logos, footage, artwork, layouts or music. Every shape is your own SVG/React.
- Analyse only videos you are allowed to analyse. Keep the reference file and its frames out of anything you publish.
- Keep facts accurate. Check every number in the script before it goes on screen.
- Never print or commit API keys.
Workflow
Paths to tools/ and templates/ below are relative to this skill's folder.
1. Measure the reference
python3 tools/style_from_video.py reference.mp4 style/
This cuts the video into at least 8 segments (intro and outro trimmed), measures each one and writes:
style/STYLE_numbers.md: the numbers to hit (mean ± spread per metric, palettes per segment);style/profile.json: the same numbers for the scorer;style/self_check.json: how the original scores against itself. That median is your ceiling;style/sheets/*.jpgandstyle/stills/*.jpg: time-stamped frames.
A short clip still works, but under about two minutes the target gets noisy. Say so in your notes.
2. Look, then write STYLE.md
Open every sheet and still. The numbers say how much; only the frames say what. Write STYLE.md: paste STYLE_numbers.md, then describe what you see under these headings, concretely enough that someone who never saw the video could draw in the style:
- Shapes and construction: geometric or organic, corner radius, how objects are built from parts.
- Outlines: none, thin, thick; colour; where they appear.
- Colour and light: background colours, accent colours, gradients, glows, shadows, grain or texture.
- Backgrounds and depth: layers, parallax, particles, how empty or full the frame is.
- Figures: how people, animals or objects with faces are built, in general terms only.
- Type and labels: typeface feel, weight, case, colour, placement, how numbers are shown.
- Composition and shot sizes: where the subject sits, margins, and how often the frame is a wide shot, a medium shot or a close-up. Note what the main subject usually is (people, objects, maps, diagrams, text) and keep the same mix in your video.
- Motion: what the camera does, how things enter and leave, easing, transitions between shots.
- Pacing: events per minute, cuts per minute, shot length, from the numbers.
- Do not copy: the characters, mascots, logos and specific artwork you saw.
3. Plan the new video
Pick the topic (or take the one you were given). Write a shot list sized to the pacing numbers: shots per minute from cuts_per_min, something new on screen at the rate of events_per_min. Decide the palette from the measured palettes, not from memory of the channel.
4. Build in Remotion
- Blank Remotion 4 project, 1920×1080, 30 fps, output
out/final.mp4. Copytemplates/remotion.config.tsif you are on macOS (installed Chrome, one render tab). - Draw everything yourself in SVG/React. Aim at the measured means on purpose:
flatnessandedge_densitytell you how much gradient, glow, texture and fine detail to add. Code-drawn scenes come out too flat and too clean unless you add them;cam_movingandcam_speedtell you how often and how fast the whole frame should drift;activityandchange_areatell you how much of the picture should be changing at any moment;near_black,luma_mean,sat_meanand the palettes tell you the colours. Dark does not have to mean black;- an
activitybelow about 0.9 means the reference has real rests. Build holds where nothing moves for half a second or more: constant particles and drift make every frame "active".
- Before each full render, check single frames:
npx remotion still <CompositionId> out/stills/f0450.png --frame=450at 6–10 points of the video. Open them next to the reference stills and fix what differs. Stills are cheap; full renders are the expensive step. - Voice-over is optional. If you add one, write it first and time every cut and label to the words.
5. Render, score, fix
npx remotion render <CompositionId> out/final.mp4
python3 tools/render_glitches.py out/final.mp4 # expect: glitch frames: []
python3 tools/score_render.py out/final.mp4 style/ --out out/score.json
score_render.py cuts your render into segments of the same length as the reference segments, so score_median is directly comparable with original_against_itself. Read parts (lowest first) and measured_vs_target, fix the two or three weakest metrics, render again. Stop after three rounds or when you are within about 5 points of the original's own median.
Then compare by eye: run python3 tools/style_from_video.py out/final.mp4 out/check --trim-start 0 --trim-end 0 --sheet-frames 9 and put your sheet next to the reference sheets. Name three visible differences and fix them. The score measures statistics, not craft.
6. Notes
Write NOTES.md: what you made, the shot list, the three scores (first render, final render, the original against itself), what you could not match and why.
Files
tools/style_from_video.py: one video → numbers, profile, self-check, sheets, stills.tools/score_render.py: score a render againststyle/.tools/style_metrics.py,tools/similarity.py: the measurements and the scoring formula.tools/render_glitches.py: finds broken frames in a render.tools/tts.sh,tools/alignment_to_words.py: optional ElevenLabs voice-over with word timings.LESSONS.md: what the test runs learned (scores, what worked, what didn't).