Skip to content
StoryboardBy 9 min read

A scroll video, frame by frame

Twelve of the 192 frames of one 8 second video of a test page, cut at fixed times. Drag the slider to read what each frame shows, where the page moved and what each frame cost in bytes.

Frame 24, header shrunk: the test page at 132 px

Frame 24, header shrunk

Time
1.00 s
Frame
24 of 192
Scrolled
132 px
Header
52 px
Cost in the MP4
7,907 B

The sticky header has shrunk from 72 to 52 px and covers the headline. The hero stripes moved twice (page and parallax layer), so this frame is one of the most expensive.

StoryboardRecorded on 12 November 2026Chromium 153192 frames

Where the 192 frames go

A video is a list of scroll positions, one per frame. The renderer puts the page at each position, captures the window and hands the picture to ffmpeg. It plans the list with one function, and the chart is that function run for this page: it scrolls 5,020 px in 8 s at 24 frames per second.

  • 15 frames rest on the top, about 0.6 s, so a viewer sees where the page begins.
  • 158 frames move. The curve eases in and out and keeps one even speed between, so the biggest step between two frames is 35 px, under a twentieth of the 720 px window.
  • 19 frames rest on the bottom, so the last screen can be read.

Every frame was within 12 px of its plan in the lab, and 171 of 192 within 1 px on a quiet machine. The 12 px is the last stretch the test page could not scroll. The video docs list the options that change the plan: length, frame rate, easing and a way back to the top.

Scroll position of each frame, in px

5,0200frame 0frame 191

Amber: resting on the top. Green: resting on the bottom. Blue line: the scroll.

The twelve frames, read one by one

The same twelve as the slider, in a table. Time is the frame number divided by 24. Scroll and header height were read from the page just before each frame was captured.

FrameTimeScrolledHeaderMP4 bytesWhat to see
00.00 s0 px72 px40,820The page at rest on its top. This one frame is 40,820 bytes, a tenth of the whole MP4: the encoder stores it whole and everything after it as changes.
120.50 s0 px72 px111Nothing has moved. The frame costs 111 bytes: only the spinner in the corner turns.
150.63 s1 px72 px122The scroll starts at 0.6 s. The eased curve moves 1 px in its first frame, then 3, 6, 9.
241.00 s132 px52 px7,907The sticky header has shrunk from 72 to 52 px and covers the headline. The hero stripes moved twice (page and parallax layer), so this frame is one of the most expensive.
482.00 s949 px52 px2,298The three cards that fade in on scroll are fully drawn (their text is above the cut): the renderer's pre-scroll had used up the effect.
723.00 s1,775 px52 px965A side box with position: sticky holds its place while the page passes under it, and the counters read 12,480, 318 and 40: they counted up during the pre-scroll, so the video never shows them counting.
964.00 s2,601 px52 px450The sticky "Care guide" title has not reached the top yet. A frame with only text and one slow animation costs 450 bytes.
1205.00 s3,426 px52 px3,536The header and the stuck "Care guide" title cover 169 of the 720 px, 23% of the frame, while the paragraphs scroll in the gap.
1446.00 s4,252 px52 px387Four lazy pictures are there because the pre-scroll loaded them. Noise pictures like these are the most expensive thing on the page.
1687.00 s5,003 px52 px412The scroll slows into the footer, 17 px from the end of the page.
1807.50 s5,020 px52 px127The video rests on the last screen for the final 22 frames, about 0.9 s.
1917.96 s5,020 px52 px207Frame 191 of 192 shows the same screen. At 24 frames per second the video is 8.0 s long.

The scroll keeps video time, the page does not

CurlShot does not film in real time. For each frame it puts the page at that frame's scroll position and captures it, so a busy machine makes a video slower to produce, never jerky. A frame is never taken before its time in the video, but it can be taken later, and the page's own clock does not wait: timers, requestAnimationFrame and CSS transitions run at capture speed. The docs say a video takes about twice as long to make as it lasts.

The test page has a carousel that moves on every 2 s of page time. In an 8 s video it should move 4 times. It moved as often as the table says, and the machine load decided how often.

Two shorter effects show it frame by frame. The header shrinks over 0.3 s: the video caught it in 1 frame (70 px, between 72 and 52). A 0.6 s fade-in was caught in 2 to 4 frames, where 14 would show it in step.

Page clock against video clock, 8 s videos

  • GIF, 5 fps1.0 x

    40 frames, page clock 7.9 s, machine load 4.9, carousel moved 4 times

  • MP4, 10 fps1.2 x

    80 frames, page clock 9.9 s, machine load 7.6, carousel moved 5 times

  • MP4, 24 fps2.6 x

    192 frames, page clock 20.6 s, machine load 3.8, carousel moved 10 times

  • MP4, 24 fps, busy machine9.0 x

    192 frames, page clock 72.2 s, machine load 22.9, carousel moved 35 times

  • MP4, 30 fps3.2 x

    240 frames, page clock 25.9 s, machine load 4.1, carousel moved 13 times

1.0 x means the page ran at video speed. Load is the 1-minute load average on 6 cores.

Four places the frames glitch

Each one was found in the test page and then measured in a recording of its own.

1. Sticky bars sit in every frame

The page really scrolls, so a sticky header stays in every frame. On the test page the header and one sticky title covered 169 of the 720 px in frame 120, 23% of the picture. The header also shrinks on scroll, and the four frames below are the ones around that moment: 72 px, then 70 px in the one frame that caught the shrink, then 52 px twice.

Frame 21, header 72 px
Frame 21: header 72 px
Frame 22, header 70 px
Frame 22: header 70 px
Frame 23, header 52 px
Frame 23: header 52 px
Frame 24, header 52 px
Frame 24: header 52 px

If the bar hides content, hide it with hide_selectors. The customize page describes it.

2. Fade-ins and counters are used up before frame 0

Before a video, the renderer scrolls through the page once so pictures that load late are there. That scroll also fires every “animate when seen” effect that runs only once. Count the frames where a block was part-way through its fade, where a block had not appeared yet and where a counter was below its final number:

RecordingMid-fadeBlock not in yetCounter below finalWhat it means
Default: pre-scroll, then record001Every block is already in; no fade is ever filmed.
full_page_scroll off1310872Blocks fade in as the scroll reaches them, in 4 groups of 3 to 4 frames; counters read 0 for the first 72 frames, until the video reached them.
Blocks fade out when they leave221922The pre-scroll does not help: each block fades in again as the video reaches it, in 7 groups of 2 to 4 frames.

Out of 192 frames, so a video of this page shows no fade at all by default. That is right for a page you want to look finished. If the effect is the point, set full_page_scroll=false and accept that pictures which load late can be missing, as the lazy-image test showed.

3. Scroll snap turns a scroll into jumps

A page with scroll-snap-type: y mandatory means the window must come to rest on a snap position[1]. The renderer asks for one position per frame, and in the lab the page moved each one to a snap point. In an 80-frame recording at 10 frames per second the frames showed only 17 different positions, and the last was 4,300 px, 720 px above the bottom: the footer never appeared. The file was 218 KB, against 415 KB for the same recording of the page without the rule, because most frames are repeats.

Snap recording, frame 12, scrolled 0 px
Frame 12: 0 px
Snap recording, frame 13, scrolled 719 px
Frame 13: 719 px
Snap recording, frame 22, scrolled 1420 px
Frame 22: 1,420 px
Snap recording, frame 60, scrolled 4300 px
Frame 60: 4,300 px

Frame 12 is at 0 px and frame 13 at 719 px: the whole first screen was skipped in 0.1 s. The positions the page took were 0, 719, 702, 700, 1,420, 2,140, 2,860, 2,928, 3,011, 3,093, 3,176, 3,258, 3,341, 3,423, 3,506, 3,580, 4,300.

4. Smooth scrolling is not a problem

html { scroll-behavior: smooth } changed nothing: every frame was at its planned position, the last 12 px aside. The renderer scrolls with behavior: 'instant', a value MDN describes as a single jump[2], and the other choice, scroll-behavior: smooth, is the animated one[3]. The recording had 80 frames and 408 KB. It was a suspect that cleared, and the lab says so.

What each frame costs

An MP4 stores one whole frame and then only the changes. Here are all 192 frames of the base recording, one bar each, from the encoder's own packet sizes. The first bar, 40,820 bytes, is cut off at the top.

13,000 B0frame 0frame 191
Amber: the key frame. Green: resting frames. Blue: moving frames, median 1,446 bytes. The biggest, frame 27 at 227 px, is 12,187 bytes: the hero stripes moving in two directions. The next peak, frame 135, is the noise pictures entering.

The 14 resting frames after the first cost 7,460 bytes together and the 19 at the end 2,559, under 1% of the file. The 158 moving frames cost 349,453. So the size of a scroll video follows what is on screen while it moves, not how long it rests.

Frame counts and file sizes by format

The same 8 s of the test page, recorded at the sizes CurlShot gives each format by default: the window size for MP4 and WebM, 640 px wide for a GIF, which is limited to 15 frames per second.

FormatFrames per secondFrame sizeFramesFileBytes a frame
MP4 (H.264)101280 x 72080415 KB
5,183
MP4 (H.264)241280 x 720192403 KB
2,099
MP4 (H.264)301280 x 720240420 KB
1,749
WebM (VP9)101280 x 72080688 KB
8,601
WebM (VP9)241280 x 720192580 KB
3,020
WebM (VP9)301280 x 720240780 KB
3,252
GIF5640 x 36040834 KB
20,855
GIF10640 x 360801.48 MB
18,462
GIF15640 x 3601202.18 MB
18,141

The GIF is the one that follows the frame count. It stores every frame whole, about 18,141 bytes each, so 40 frames were 0.83 MB and 120 frames 2.18 MB.

MP4 and WebM do not. The MP4 was 415 KB at 10 frames per second and 403 KB at 24. Fewer frames mean bigger steps between them, and an encoder pays for change, not for count. WebM was 688 KB at 10, 580 KB at 24 and 780 KB at 30: it did not shrink with fewer frames either, and its three sizes were not in line with the frame count.

The same request is not the same file. Three MP4 recordings of the same page with the same options were 397,403, 403,062, 414,081 bytes, a spread of 4%, because the carousel and the spinner sit at different places in each. With CSS animations and transitions off, two recordings were 366,188 and 364,765 bytes, under 1% apart, and 9 to 12% smaller than the animated ones. The page still had one timer, so it was not fully still.

A length that follows the page. Without video_duration this page gave a 10.7 s video of 257 frames and 479 KB: three quarters of a screen a second, plus the rests.

What to change, and what it costs

What you seeChangeWhat it costs
Animations run faster than in the browserSwitch them off with a styles rule such as *, *::before, *::after { animation: none !important; transition: none !important }, or record at video_fps 10, where capture kept close to the video clock in the lab (1.0 to 1.4 times).The page loses its motion. At 10 fps the scroll is steppier: up to 83 px between frames instead of 35.
Header and sticky bars cover contentHide the bar with hide_selectors.The hidden bar is missing in every frame, so the video no longer shows the page as a visitor sees it.
Fade-ins and counters are already doneLeave full_page_scroll on for lazy pictures. Turn it off only when the effect is the point of the video, and expect pictures that load late to be missing.With it off, lazy pictures can be missing, as the lazy-image test showed.
The video jumps from section to sectionRemove scroll-snap with a styles rule such as html { scroll-snap-type: none !important }.The snap rule is the page's own design, and it is gone in the video.
The file is too largeLower video_fps for a GIF (its size follows the frame count), set image_width, or lower image_quality for MP4 and WebM.A smaller GIF is steppier. For MP4 and WebM, fewer frames did not make the file smaller in the lab.

A request that puts the page still and shortens the video, with the animation rule sent as styles (the value is URL-encoded):

curl "https://curlshot.com/screenshot?access_key=YOUR_ACCESS_KEY\
&url=https://example.com&format=mp4\
&video_duration=8&video_fps=10\
&styles=*%7Banimation%3Anone!important%3Btransition%3Anone!important%7D" \
  --output page.mp4

One video counts as one screenshot against your quota however long it is. The scrolling video tool records one from the browser, and pricing lists the plans. For which format to pick for a job, read MP4, WebM or GIF.

How it was run

On 12 November 2026. One local test page, 5,740 px tall in a 1280 x 720 window, was recorded by the video code of the renderer (the function that puts the page at each frame's scroll position, captures it and pipes it to ffmpeg 6.1.1), run unchanged in plain Playwright 1.63.0 with Chromium 153.0.8010.12. Before each recording the renderer's own pre-scroll was run on the page, as the renderer does before a video. The log of each frame (scroll position, header height, carousel slide, blocks mid-fade) was read from the page just before the frame was captured. Frames were pulled back out of the files with ffmpeg and per-frame bytes with ffprobe.

The host was shared with other jobs, so the machine load ran from 3.8 to 22.9 while recordings ran. Bytes and frame counts do not depend on it; seconds do, and the page-clock table says which load each row ran at.

The test page is made up: a sticky header that shrinks, a parallax hero, fade-in cards, a carousel that moves every 2 s, counters, a sticky title, lazy noise pictures, a fixed chat button and a spinner. It shows what the recorder does with each of those, not what it does with your page. Seventeen recordings were made (the first attempt of one failed with a page timeout under load and its retry finished).

No request was sent to the API of CurlShot, so the numbers describe the renderer's recording code, and the request in the last section was not run. See scrolling videos for the options.

Related reading

For why a capture can differ from your own browser, read why website screenshots look wrong.

Questions people ask

How many frames does a scrolling video of a website have?

Seconds times frames per second. In the test, 8 s at 24 fps gave 192 frames, 15 resting on the top, 158 scrolling and 19 resting on the bottom. A GIF from CurlShot is limited to 15 frames per second, so the same 8 s gave 120.

Why do animations in my scroll video look faster than on the site?

The page's clock runs while each frame is captured, and a capture takes longer than a frame lasts. In the test the page clock ran 2.6 times as fast as the video at 24 fps on a quiet machine, 9 times as fast on a busy one, and at about the speed of the video at 10 fps.

Does a sticky header show up in a scroll video?

Yes, in every frame: the page really scrolls. In the test the header and one sticky title covered 23% of a frame. Hide the bar with hide_selectors if it covers content.

Which video format is smallest for a page scroll?

MP4 was 403 KB, WebM 580 KB and GIF 2.18 MB for the same 8 s of the test page, at the sizes CurlShot gives each format by default (GIF 640 pixels wide).

Does a lower frame rate make an MP4 smaller?

Not in the test: the MP4 was 415 KB at 10 fps, 403 KB at 24 and 420 KB at 30. Fewer frames mean bigger steps between them, and a video encoder pays for change. A GIF does get smaller with fewer frames.

Sources

  1. [1]MDN Web Docs, scroll-snap-type. Checked .
  2. [2]MDN Web Docs, Element: scrollTo() method. Checked .
  3. [3]MDN Web Docs, scroll-behavior. Checked .

Screenshot any page in one step

Paste an address into CurlShot and download the screenshot. A free account gives you 50 screenshots every month. No card needed.