Blotchy Gradients and Blocky Shadows: Fixing Compression Artifacts in Screen Recordings
Why gradients, shadows, and dark backgrounds turn into visible bands and blocks in exported screen recordings — and the settings that actually fix it.
Your recording looked immaculate in the editor. The background was a smooth purple-to-blue gradient, the window had a soft drop shadow, the app you were demoing was in dark mode. Then you exported it, played the file back, and the gradient had turned into a set of visible stripes. The shadow under the window became a staircase. The dark areas look like someone painted them with a wide brush in a handful of flat patches.
Nothing is wrong with your display and nothing is wrong with your recording. You are looking at compression artifacts — specifically banding in smooth gradients and blocking in dark, flat areas. They have a mechanical cause and a short list of fixes, almost all of which are decisions you make in the export panel and the background tab rather than things you fix afterwards.
Banding Is Not Blur
It is worth separating the two symptoms, because they have opposite causes and opposite fixes.
Blur is lost detail: text edges go soft, fine UI lines smear. It usually comes from exporting at a lower resolution than you captured, or from zooming past the source pixels. We cover that whole family of problems in why your screen recording looks blurry.
Banding is the opposite — detail that was never there in the first place. A gradient contains no edges, so there is nothing to sharpen or soften. What goes wrong is that a continuous ramp of hundreds of nearly identical tones gets collapsed into a dozen discrete steps, and your eye, which is extremely good at spotting edges in flat areas, picks out every boundary between them.
If your video is both soft and striped, treat them as two separate problems with two separate fixes.
Why Smooth Areas Compress Badly
Every MP4 export from Recorded is H.264 — the editor renders your frames and encodes them with the platform’s hardware encoder, targeting roughly 10 Mbps at 1080p and scaling that budget with pixel count. H.264 is excellent at what screen recordings mostly contain: static text, repeated UI, sharp edges, and regions that do not change between frames.
It is much weaker at the thing a modern, designed screen recording adds around the edges:
Smooth ramps have nowhere to hide errors. The encoder breaks each frame into blocks and quantizes them. In a detailed area, rounding errors get lost in the texture. In a gradient, every block becomes a slightly different flat shade than its neighbour, and the seams line up into contours.
Eight bits is not many in the dark. H.264 here is 8-bit, so each channel has 256 levels. A dark gradient running from #0c0c1e to #2d2d5a only has a few dozen distinct values to work with before compression even starts. Spread those across 1,000 pixels of background and the steps are already wide; quantize them and they become stripes. This is why banding is so much more visible in dark-mode recordings than in light ones.
Flat areas get starved of bits. Variable-bitrate encoding spends its budget where it detects detail. A large, calm background is cheap to encode, so it gets few bits — exactly the region where you will notice the shortfall.
Put those together and you can predict where artifacts will appear before you export: wide gradient backgrounds, heavily blurred wallpapers, long soft drop shadows, fades, and the near-black areas of a dark UI.
Fix 1: Stop Encoding the Same Video Twice
The single most common self-inflicted cause is a double encode.
Recorded’s export panel has an Optimize File Size option that produces an additional, smaller copy of your video. It does that by re-encoding the finished MP4 a second time with the system’s hardware H.264 encoder. That is genuinely useful when you need to attach something to a message or email and size matters more than perfection.
It is also a second lossy pass over material that already had its gradients quantized once. Banding introduced in pass one becomes a hard, baked-in edge in pass two, and the second encoder — now seeing those flat bands as real image content — happily preserves them.
If your video is gradient-heavy, export without the extra compressed copy and share the primary file. If you do want both, compare them before you send: the optimized file is written alongside the original, not instead of it, so you keep the choice.
The same logic applies to anything downstream. Uploading to a social platform or a video host adds another re-encode you do not control. Starting that chain from a clean, single-pass export is the only part of it you can influence.
Fix 2: Export at a Higher Resolution Than You Think You Need
This feels backwards when the goal is a clean picture at a modest size, but it works, for two reasons.
The export bitrate scales with pixel count, so a 1440p export of the same timeline carries meaningfully more data than a 1080p one — and the gradient, which occupies the same fraction of the frame either way, gets a proportionally larger share of bits.
More usefully, whatever downscaling happens later works in your favour. A player or platform shrinking a 1440p file to fit a 1080p window blends neighbouring pixels, and that blending softens band edges. Bands that survive a downscale were severe to begin with.
The export panel offers 480p, 720p, 1080p, 1440p, 4K, Original, and Retina. If you have the disk space and the patience for a longer render, stepping one notch above your delivery target is the cheapest quality win available. The trade-off, and the arithmetic behind it, is in our guide to reducing screen recording file size — read it in the other direction and it tells you what each extra step up actually costs.
Fix 3: Choose Backgrounds That Compress Well
The background is where most banding lives, and it is entirely your choice. Recorded’s background tab gives you a solid colour, a gradient preset, a wallpaper, or your own image, plus sliders for background blur and shadow intensity.
Ranked by how cleanly they survive H.264:
Solid colours are effectively immune. One flat value has no ramp to step through. If you are recording a dark-mode app and have had banding problems before, a solid near-black or mid-grey background is the safe answer — and because the video frame itself carries the visual interest, it rarely looks worse.
Photographic wallpapers and custom images band less than you would expect. Real photos contain fine grain and texture, which breaks up the block boundaries and gives the encoder something to latch onto. The exception is a photo you have pushed the blur slider far up on: heavy blur destroys exactly the texture that was protecting you and turns the image into a set of smooth ramps.
Gradients are the risky case — not a reason to avoid them, just a reason to check. Short-range gradients between similar tones band most visibly; the darker the pair, the fewer levels there are to work with. If a preset bands, try a lighter one, or reduce how much of it is visible.
Two more levers quietly reduce how much smooth area you ship. Padding controls how much background surrounds the video frame, so dialling it down shrinks the vulnerable region. And shadow intensity governs a long, soft falloff behind the frame — the textbook shape for contouring. Easing it back is often enough on its own. There is more on balancing all of these in backgrounds, padding, and rounded corners and on the backgrounds feature page.
Fix 4: Do Not Ask GIF to Draw a Gradient
If your banding is dramatic — coarse speckled patches rather than clean stripes — check whether you exported a GIF.
GIF stores at most 256 colours per image. Recorded builds a palette from your actual frames and then applies error-diffusion dithering, which is the best available approach and still cannot represent a smooth gradient. It approximates one by scattering pixels of two nearby colours, which reads as fine noise in motion and as mottling when paused.
For a UI walkthrough with flat colours, GIF holds up fine. For anything with a gradient background, a blurred wallpaper, or a soft shadow, the format is the artifact. Export MP4 instead — export options are MP4 (H.264) and GIF, with no middle ground, so this is a straight either/or. If you need a GIF regardless, switch to a solid background first and keep it short; our guide to creating GIFs covers the rest of the trade-offs.
Fix 5: Check Whether It Is Really Banding
Two things get mistaken for compression artifacts.
Banding that was already on your screen. Some application and website gradients band on your own display, before any recording happens. Scrub to a frame, look at the captured UI rather than the Recorded background around it, then look at the same screen live. If both show the same stripes, the capture is faithful and no export setting will help — the only fix is changing what is on screen.
Blocking during motion, not in flat areas. If the mush appears only while you scroll quickly or play video inside your recording, and the frame looks clean the moment it settles, that is the encoder running out of bits on a hard frame. It is a different problem with a different fix: record and export less area, or less motion, rather than changing the background.
A Five-Minute Triage
When an export comes back striped, work down this list:
- Pause on a bad frame and name the symptom. Stripes in a smooth area is banding. Coarse speckle is GIF. Mush only during motion is bitrate under load.
- Was it a GIF? Re-export as MP4 before changing anything else.
- Did you export the optimized copy? Try the single-pass file.
- Export one resolution step higher and compare the same frame.
- Simplify the background — solid colour, less blur, lower shadow, less padding — and re-export.
- Compare against the live screen to confirm the banding is not in the source.
Most gradient banding is solved by step 3 or 4. Most dramatic artifacts are solved by step 2.
Design for the Encoder, Not the Preview
The practical takeaway is that a frame which looks beautiful while you are editing is not automatically a frame that encodes well. Large smooth areas, deep dark ramps, and heavy blur are all cheap to draw on screen and expensive to compress.
You do not have to give any of it up. Just know which parts of your composition are fragile, keep single-pass exports for anything you care about, and give the encoder a little more room than you think the delivery target needs. Choose a solid background for your darkest recordings and the problem largely disappears before it starts.
If you have not set up a recording workflow yet, download Recorded and try a gradient background and a solid one on the same ten-second clip. Comparing the two exports side by side teaches this faster than any amount of theory.