Animated Website from Video
Scroll-animated one-pager built from your own MP4 video
Turns your own MP4 video into a scroll-driven website: FFmpeg extracts the frames, a canvas plays them in sync with scrolling, plus up to six sections with glass cards. Includes a frame and file size calculation, mobile frames, reduced motion, keyboard navigation and notes on rights and legal pages.
Install the ZIP in Claude, ChatGPT or Manus. Use the SKILL.md for Gemini, Mistral, Perplexity and projects.
- Version
- 2.0.0
- Updated
- Length
- 11 chapters · approx. 10 min read
- Format
- SKILL.md (Markdown, English)
- License
- CC BY-NC-ND 4.0
When this skill kicks in
- Turn this video into an animated website
- Scroll-animated landing page from my product video
- Website where the video plays as you scroll
- Apple-style scroll effect with my drone footage
- Build a one-pager from our brand film
- Animated page for our holiday lodge video
Requirements
Works in any chat tool with these capabilities.
What's inside
- 01When this skill applies
- 02When not
- 03What I need
- 04Procedure
- 05Expertise and rules
- 06Edge cases
- 07Output format
- 08Example
- 09Anti-patterns
- 10Quality check before delivery
- 11Requirements
Sample output
ANIMATED WEBSITE · Highview Lodges (fictional) · Draft
Video: lodges.mp4, 24 s, 30 fps, 3840 x 2160, clip: whole video
Frame plan: 96 frames at RATE 4, desktop approx. 11.5 MB (96 x 120 KB), mobile approx. 3.8 MB (96 x 40 KB), variant folder (web hosting)
Assumptions: [ASSUMPTION: accent colour #D97757], [ASSUMPTION: warm, polite tone, UK spelling]
Sections
- Hero: "Living above the mist" / "14 lodges in the Scottish Highlands" / button "Enquire about a lodge"
- Features: [INSERT TEXT: 3 to 4 amenities]
- Process: Send an enquiry / Get a date / Viewing on site
- Gallery: 6 frames from the video with alt text
- CTA: "Your lodge is waiting" / button to highview-lodges.example/enquiry
Dropped: numbers (no verified numbers supplied apart from "14 lodges")
Built after approval
ffmpeg -i lodges.mp4 -vf "fps=4,scale=1920:-2" -c:v libwebp -quality 80 frames/d_%04d.webp
ffmpeg -i lodges.mp4 -vf "fps=4,scale=960:-2" -c:v libwebp -quality 70 frames/m_%04d.webp
const p = Math.min(1, Math.max(0, (scrollY - top) / (height - innerHeight)));
const frame = Math.round(p * (N - 1)); // N = 96
if (frame !== last) requestAnimationFrame(() => draw(frame));
ANIMATED WEBSITE · Highview Lodges (fictional) · done
- Files:
animierte-seite-highview.html,frames/(96 desktop, 96 mobile), measured 14.9 MB - Tested: scroll on desktop, mobile under 768 px, reduced motion (still image), navigation dots by keyboard
- Preview: http://localhost:8888/animierte-seite-highview.html
- Open: amenities for the cards; privacy notice and cookie consent [CHECK]
- Adjustable: scroll length (default 400 vh), accent colour, copy, logo, typeface, frame density
Shortened example with fictional data. Real results depend on your input and tool.
Full instructions
The complete file content, identical to the download.
Animated Website from Video
This skill turns your own MP4 video into a scroll-driven website: the video is split into individual frames, and a canvas plays them forwards and backwards as you scroll. On top sit sections with a headline, cards, numbers, process, gallery and call to action. The result is an HTML file (optionally with a frames folder) that runs without a framework and without a build step. Meant for small businesses, tourism, real estate, product companies and agencies that need an impressive one-pager from existing video material.
When this skill applies
- A video (product, drone flight, brand film, walkthrough) should become a scroll-animated landing page.
- Someone wants an "Apple-style" effect where the image keeps moving as you scroll.
- An existing animated page should be adjusted (sections, copy, colour, file size, stutter).
When not
- Explainer page without video, with diagrams and cards:
visual-page-builder. - Process or system as an interactive diagram:
workflow-visualizer. - Presentation with slides:
slide-decks. PDF from HTML:html-to-pdf. - Single graphic:
infografiken. Cutting or adding sound to video: not this skill. - A complete website system with several pages, CMS or form backend: use a website builder or an agency.
What I need
Required:
- An MP4 file (H.264 or H.265) the person holds the rights to.
- What it is about: one sentence on the offer or occasion (never infer it from the file name alone).
Optional:
- Copy, offers, real numbers with a source, process steps, target URL for the button.
- Accent colour, logo, typeface.
- Goal: web hosting (default) or offline file to pass on.
- Language of the page (default: language of the request; English in UK or US spelling, German in Swiss spelling).
Clarifying-question rule: Ask at most one compact question, and only if no usable result is possible without the information (for example: no video, or unclear what the video is about). Otherwise work with marked assumptions such as [ASSUMPTION: accent colour #D97757] or [INSERT TEXT]. Never invent numbers: if they are missing, the numbers section is dropped or gets [INSERT NUMBER].
Procedure
- Check the tools.
ffmpeg -versionandffprobe -version. If they are missing: name the installation route (macOSbrew install ffmpeg, Windowswinget install ffmpeg, Linuxapt install ffmpeg) and continue with route B or C (see Requirements), do not stop. - Analyse the video:
ffprobe -v error -select_streams v:0 -show_entries stream=width,height,r_frame_rate,nb_frames:format=duration -of json INPUT.mp4Report duration, frame rate, resolution, aspect ratio. If the video is longer than 60 seconds: suggest a clip of 10 to 30 seconds. - Check rights and people. If the video shows recognisable people, clients or third-party brands: ask whether consent and rights are in place. Without confirmation, choose a clip without those scenes.
- Calculate the frame plan following "Frame calculation" below: number of frames, extraction rate, estimated size, variant (folder or inline).
- Extract frames (aspect ratio is preserved):
ffmpeg -i INPUT.mp4 -vf "fps=RATE,scale=1920:-2" -c:v libwebp -quality 80 frames/d_%04d.webpffmpeg -i INPUT.mp4 -vf "fps=RATE,scale=960:-2" -c:v libwebp -quality 70 frames/m_%04d.webpWith a clip:-ss START -t DURATIONbefore-i. Then measure the size (du -sh frames) and compare it with the plan. - Draft the content. Sections from the table below. Only sections for which real content exists; numbers section only with verified numbers. Show the draft for approval before building, unless the person wants it "built straight away".
- Build the HTML following "Technology" and "Design tokens".
- Test: local server (
python3 -m http.server 8888), open the page (macOSopen, Linuxxdg-open, Windowsstart, or the preview in the tool). Check against the quality check: smooth scrolling, mobile frames under 768 px, reduced motion, navigation dots. - Deliver with file list, size, hosting note and customisation options.
Expertise and rules
Frame calculation
- Target: 60 to 120 frames for the scroll sequence. Under 40 it visibly stutters, over 150 it takes too long to load.
- Extraction rate
RATE = target frames / duration in seconds, at most the video's frame rate. Example: 24 s, target 96 frames: RATE = 4. - Size estimate (guidelines, depending on the footage): WebP 1920 px wide at quality 80 about 80 to 200 KB per frame, 960 px at quality 70 about 25 to 60 KB. Always measure again after step 5.
- Inline as Base64 the data volume grows by about a third (factor 4/3).
- Choose the variant: web hosting: folder
frames/next to the HTML file (loads faster, the browser caches it). Offline file: everything inline, only if the result stays under 30 MB; otherwise reduce frames or lower quality. - Larger than planned: first reduce the number of frames, then quality (not below 65), then width to 1600 px.
Sections
| Section | Purpose | Content | If content is missing |
|---|---|---|---|
| Hero | Opening with video canvas | headline (at most 6 words), subline, button | never drop it |
| Features | Core benefit | 3 to 4 cards with title and 1 sentence | [INSERT TEXT] |
| Numbers | Evidence | 3 counters with label and source | drop the section |
| Process | How it works | 3 to 5 steps | drop it or [INSERT TEXT] |
| Gallery | Images | 4 to 6 frames or photos with caption and alt text | pick from the frames |
| CTA | Close | headline, 1 sentence, button with target URL | [INSERT URL] |
Every number on the page comes from the input and appears with a source or a time reference ("as of 2026"). Never invent ratings, customer numbers or awards.
Technology
- Scroll engine: one
canvasin the hero,position: sticky, inside a scroll container of 300 to 500 vh (default 400 vh for 96 frames).progress = (scrollY - containerTop) / (containerHeight - innerHeight), clamped to 0 to 1,frame = Math.round(progress * (N - 1)). Draw only inrequestAnimationFrame, and only whenframehas changed. - Image fill: draw frames in the canvas like
object-fit: cover(calculate the ratio, crop centred), canvas size withdevicePixelRatio, at most 2. - Loading: frame 1 immediately, preload the rest in the background with a progress indicator. With the folder variant, prioritise loading: first every 4th frame, then the gaps.
- Mobile: under 768 px width use mobile frames, cards stacked, scroll container 300 vh.
- Reduced motion: with
prefers-reduced-motion: reduceno scroll animation, no film grain, no particles, only a calm still image (middle frame) and text that fades in without movement. - Effects (sparingly): glass cards with
backdrop-filter: blur(16px)plus a fallback background for browsers without support, text reveal per word instead of per letter (more legible, less DOM), parallax in the gallery with at most 3 layers, film grain as a static PNG overlay at 4 to 6 percent opacity. - Navigation: dots on the right as
buttonwitharia-label, active section viaIntersectionObserver, reachable by keyboard. - External requests: none, except optionally Google Fonts. For the offline variant use a system font.
- File name:
animierte-seite-[topic].html, frames inframes/.
Design tokens (default, adjustable)
| Token | Value |
|---|---|
| Background | #0a0a0b |
| Text | #ffffff (contrast about 19:1) |
| Secondary text | rgba(255,255,255,0.7) (at least 4.5:1 on the background) |
| Accent | brand colour or #D97757 |
| Card | rgba(255,255,255,0.06), border rgba(255,255,255,0.12), radius 16 px |
| Button | radius 999 px, check text on accent for at least 4.5:1 |
| Typeface | Inter or system sans-serif, headline 56 to 96 px desktop, 36 to 48 px mobile |
Text over the video needs a dark gradient behind it so it stays legible on bright frames.
Hosting and law
- Statically hostable (GitHub Pages, Netlify, own web space). Opening the file by double-click does not work with the folder variant in some browsers: use a local server.
- Every public website needs the legally required information. Germany, Austria and Switzerland: legal notice (Impressum) and privacy policy (Swiss revFADP, EU GDPR). UK: privacy notice under UK GDPR and cookie consent under PECR. US: privacy policy depending on state law (for example California CCPA/CPRA).
[CHECK: content with an expert]. Loading Google Fonts from Google servers transfers IP addresses: for an EU or UK audience, host the font locally or use a system font. - People in the video only with consent (for example Switzerland Art. 28 Civil Code, Germany § 22 KUG, UK and EU data protection law, US right of publicity by state
[CHECK]). If the video is AI-generated and looks real, add the note "Video AI-generated" on the page (Art. 50 EU AI Act, check for updates as of 11/2026, details inki-bildkennzeichnung).
Edge cases
- No video, only photos: use the photos as gallery and hero still, the scroll animation is dropped; alternatively refer to
visual-page-builder. - Portrait video (9:16): desktop hero with the video centred and a blurred background from the same frame, full-screen on mobile.
- Video very long (over 60 s) or with cuts: choose a calm clip with one continuous camera movement. Hard cuts look like jumps when scrolling.
- Result larger than 30 MB inline: switch to the folder variant or reduce frames, show the calculation.
- FFmpeg cannot be installed: route B (video element with
currentTimeinstead of frames) or route C. - Unclear what the video is about: ask once. Never invent content from the file name.
- Person wants ratings or customer numbers but has none: drop the section, offer placeholders.
- Third-party material (stock video, YouTube download): clarify the licence
[CHECK], do not use it without a licence. - Page stutters: shrink frames, turn off particles, limit
devicePixelRatioto 1.5.
Output format
Before building (draft for approval):
ANIMATED WEBSITE · [Topic] · Draft
Video: [file], [duration] s, [fps] fps, [width x height], clip [from to]
Frame plan: [N] frames at RATE [x], desktop approx. [MB], mobile approx. [MB], variant [folder / inline]
Assumptions: [ASSUMPTION: ...]
Sections
1. Hero: "[headline]" / "[subline]" / button "[text]"
2. ...
Dropped: [section, reason]
After building:
ANIMATED WEBSITE · [Topic] · done
Files: animierte-seite-[topic].html, frames/ ([N] desktop, [N] mobile), measured [MB]
Tested: scroll desktop, mobile under 768 px, reduced motion, navigation dots
Preview: http://localhost:8888/animierte-seite-[topic].html
Open: [INSERT URL] / [CHECK] / "none"
Adjustable: scroll length, accent colour, copy, logo, typeface, frame density, sections
Example
Input: "Here is our drone video lodges.mp4. Highview Lodges (fictional), 14 lodges in the Scottish Highlands, enquiries via highview-lodges.example/enquiry."
ANIMATED WEBSITE · Highview Lodges (fictional) · Draft
Video: lodges.mp4, 24 s, 30 fps, 3840 x 2160, clip: whole video
Frame plan: 96 frames at RATE 4, desktop approx. 11.5 MB (96 x 120 KB), mobile approx. 3.8 MB
(96 x 40 KB), variant folder (web hosting)
Assumptions: [ASSUMPTION: accent colour #D97757], [ASSUMPTION: warm, polite tone, UK spelling]
Sections
1. Hero: "Living above the mist" / "14 lodges in the Scottish Highlands" / button "Enquire about a lodge"
2. Features: [INSERT TEXT: 3 to 4 amenities]
3. Process: Send an enquiry / Get a date / Viewing on site
4. Gallery: 6 frames from the video with alt text
5. CTA: "Your lodge is waiting" / button to highview-lodges.example/enquiry
Dropped: numbers (no verified numbers supplied apart from "14 lodges")
After building: animierte-seite-highview.html plus frames/ with 96 desktop and 96 mobile frames, measured 14.9 MB. Tested on desktop, mobile and with reduced motion. Open: amenities for the cards.
Anti-patterns
- Never invent numbers, ratings, testimonials or awards.
- Never guess content from the file name.
- Never scale frames to a fixed 16:9 size when the video has a different ratio.
- Never draw on every scroll event instead of in
requestAnimationFrame. - Never deliver without a
prefers-reduced-motionvariant. - Never use videos with recognisable people or third-party material without cleared rights.
- Never publish or upload on your own without explicit approval.
Quality check before delivery
- Video analysed, values reported, clip justified.
- Frame plan calculated and measured again after extraction.
- 60 to 120 frames, aspect ratio preserved.
- Every number with a source, missing content as placeholders.
- Smooth scrolling, drawing only on frame change.
- Mobile frames under 768 px, cards stacked.
- Reduced motion: still image, no animation.
- Navigation dots with
aria-label, keyboard, active section correct. - Text over video legible with a gradient, contrast at least 4.5:1.
- Inline variant under 30 MB or folder variant chosen.
- Rights to video and people cleared, legal notice and privacy policy mentioned as
[CHECK]. - Consistent spelling (UK or US), straight quotation marks, no dashes.
Requirements
- Route A (default): code execution with FFmpeg and Python 3 (for the local server), access to the video file.
- Route B (code execution without FFmpeg): HTML with a
videoelement instead of frames:video.currentTime = progress * video.durationwhile scrolling. Recommend re-encoding the video as MP4 with many keyframes beforehand (ffmpeg -i in.mp4 -g 1 out.mp4, if possible later), otherwise it stutters. Point out that route A is smoother. - Route C (no code execution): deliver a complete HTML skeleton with placeholder paths, the FFmpeg commands from step 5 and instructions for testing. The person runs the commands themselves.
- Image tool not needed. Web access only for Google Fonts (optional).
Version 2.0.0 · Last updated: 3 November 2026 · skills.fragroger.ai · Roger Basler de Roca
License: CC BY-NC-ND 4.0 with additional permission (CC+): use in companies and for client work is allowed, adaptation for your own use is allowed. Not allowed: selling, bundling, publishing modified versions. Details: https://skills.fragroger.ai/lizenz
How to install this skill
A skill is a folder with a SKILL.md file. Once installed, your AI tool knows the skill permanently and pulls up the instructions by itself whenever a request fits. Pick your tool:
File: download the ZIP
Pro, Max, Team or Enterprise plan. Code execution and file creation must be turned on. On Team and Enterprise, your organization must allow skills.
- 1
Download the ZIP
Click "Download ZIP" above. Do not unzip animierte-website.zip.
- 2
Open settings
In Claude, click your name at the bottom left, then Settings. Open Capabilities and scroll to the Skills section.
- 3
Upload the skill
Click "Upload skill" and select animierte-website.zip.
- 4
Turn it on
Enable the toggle next to the new skill. It now works in every new chat and in projects.
- 5
Test it
Open a new chat and send the test sentence below. Claude shows when it reads the skill.
Uploaded skills are personal. On Team and Enterprise, owners can provision a skill for the whole organization.
Test sentence for a new chat
Turn this video into an animated websiteInstall or just attach?
Install (recommended)
The skill is ready in every new chat. The tool first reads only the name and description and loads the full instructions when your request fits, so the chat stays lean.
Attach as a file
Dropping SKILL.md into a single chat works in any tool, but only for that one chat. Good for trying it out, not for daily use.
ZIP or SKILL.md?
The ZIP contains the folder animierte-website with SKILL.md and all extra files, exactly as Claude, ChatGPT and Manus expect it. The single SKILL.md is for Gemini, Mistral, Perplexity and for projects or GPTs without a Skills area.
Related skills
License and use
This skill is published under Creative Commons BY-NC-ND 4.0. The license text applies unchanged. In addition, the rights holder grants an additional permission (CC+): use inside companies and for client work is allowed, adapting for your own use is allowed. Not allowed: selling, bundling, publishing modified versions.