All guides

Explainer

Why full-video upscaling in a browser is hard

A site called Video Upscaler that does not upscale whole videos owes you an explanation. Here it is, in numbers.

Count the frames

ClipFrames at 30 fpsFrames at 60 fps
15 seconds450900
1 minute1,8003,600
10 minutes18,00036,000

Each frame is a full image. If a laptop GPU needs, say, five seconds for one 720p frame at 2x, a one-minute clip at 30 fps needs 1,800 x 5 = 9,000 seconds: two and a half hours, with the tab kept open and the machine awake. Run the upscaler on one of your frames to see your own per-frame time, then multiply.

Then it has to become a video again

Upscaled frames are images. Turning them back into a video means encoding them, which in a browser means either the WebCodecs API (which can only use the encoders a given browser and device provide) or a WebAssembly build of an encoder, which is slow and memory hungry at 4K. Audio has to be carried over and kept in sync. None of that is impossible, but it would turn a quick tool into a fragile, hours-long job.

Frames are not independent

Image models treat each frame on its own. Invented texture can differ slightly from one frame to the next, which shows up as shimmer or crawling detail when played back. Dedicated video super-resolution models use neighbouring frames to stay consistent, and they are far heavier than the browser-sized models used here.

What we do instead

If you need a whole clip upscaled, use desktop software with a GPU and a video super-resolution model, and expect it to take a while even there.

Next: how to upscale a single frame from a video.

Memory is the other wall

A browser tab has a limited amount of memory and graphics memory to work with, and the limit varies by device. A single 4K frame held as floating-point numbers for the network takes about 100 MB (3840 x 2160 pixels x 3 colours x 4 bytes); the model's working buffers take more. Doing that for one frame is fine. Doing it continuously for thousands of frames, while also holding encoded video in memory, is where tabs crash, especially on phones.

What a whole-video tool would need

Each step exists in some form in browsers today, but chaining them reliably across devices is a large project, and the per-frame time above would still make long clips impractical on most machines.

When frame upscaling is the right tool

Frequently asked

Will whole-video upscaling come later?

Only if it can be done reliably in a browser tab on ordinary hardware. Until then we would rather offer one thing that works than a feature that stalls at frame 300. If that changes, this page will say so.

Is there a quick way to make a whole video look sharper?

Often the best gain comes from the source, not the upscaler: export again from the original project at a higher resolution, or use the camera original instead of a downloaded copy. Many video editors also include a sharpen filter, which is fast and adds no invented detail.

Why does a single frame take seconds when video plays at 30 frames a second?

Playing a video only decodes pixels that already exist. Upscaling runs a neural network with many layers over every pixel to compute new ones, which is far more arithmetic per frame. Video decoders also have dedicated hardware in most devices; the model runs on general-purpose graphics shaders.

What sizes of frame work best?

Small sources gain the most. A 480p or 720p frame upscaled 2x or 4x shows a clear improvement over simple resizing, while a frame that is already 1080p mainly benefits from a 2x pass for print or large displays. See 2x or 4x? for the numbers.

Try it on your own file. Free, in your browser.

Upscale an image