How to Fix Pixelated Video: Compression Blocks vs Low Resolution

Pixelated video has two causes: compression blocks and low resolution. Learn to tell them apart, then fix each with a better source, deblocking, or AI.

Key takeaways

To fix a pixelated video, first work out which kind of pixelation you have. Compression blocks come from too little bitrate, so the fix is a better source, a deblocking filter, or AI repair that removes compression damage. Low-resolution pixelation comes from enlarging a small video, so the fix is upscaling, ideally with AI that rebuilds edges.

Then export with enough bitrate so the problem doesn't come back. Blocks are one of several quality problems; how to improve video quality shows how to tell them apart and in what order to fix them.

  • "Pixelated" usually means one of two problems: compression blocks (the bitrate was too low for the content) or a low-resolution source shown too large.
  • If blocks show up during motion, in dark scenes, and in gradients, then shrink when the picture holds still, that's compression. If the picture is soft and jagged even when paused, that's low resolution.
  • The simplest fix is a better source: the original file, or a fresh export at a higher bitrate.
  • For files you're stuck with, deblocking and AI repair reduce compression blocks, and AI upscaling helps low-resolution footage.
  • Pixelation added on purpose to hide faces, license plates, or text can't be undone. Anything that claims to reveal it is inventing detail.

What causes pixelated video?

Compression blocks. Video codecs split each frame into blocks and spend a limited number of bits describing them. When the bitrate is too low for what's on screen, the codec can't describe each block in detail, and the block edges become visible as squares. It's worst where a frame is hard to compress: fast motion, dark scenes, gradients, water, smoke, confetti, and foliage.

Low resolution. A small video shown on a big screen gets enlarged. If the player uses simple scaling, edges turn into stair steps and individual pixels become visible. The file isn't damaged. It just doesn't have enough pixels for the display.

Repeated re-encoding. Every lossy re-encode throws away some detail. A clip that's been downloaded, edited, re-uploaded, and screen-recorded a few times carries the damage from every step. That's why forwarded videos get worse each time they're shared.

Streaming at low bandwidth. Players lower the quality when the connection is slow. That's a playback problem, not a file problem, and it goes away on a better connection.

How to tell which problem you have

What you seeProbablyHow to check
Squares that appear in motion and shrink when the picture is stillCompression (bitrate too low)Check the bitrate in the file's media information
Steps in skies and dark areasCompression, sometimes bandingLook at a slow pan across a gradient
Soft, jagged edges even on a paused frameLow resolutionCheck the resolution; compare it with your screen
Fine in the original, blocky after uploadThe platform re-encoded itCompare the original file with the uploaded copy
Only while streamingNetworkPlay the downloaded file, or try a faster connection

Many videos have both problems. A 480p clip that's been re-shared a few times is low resolution and full of blocks, and it needs repair before it's worth upscaling. If the picture is smeared rather than blocky, it's a blur problem. See how to fix blurry video.

Two numbers settle most cases: resolution and bitrate. KwaFlux lists both in its Media Info panel when you import a clip, and importing and quality detection need no account. Quality detection makes the split for you, too. Compression blocks, noise, and grain lower the Cleanliness score. Blur and softness lower Clarity.

A small frame caps the Overall grade, and the card tells you when resolution is what's holding it back. For a 720p clip, the suggestion then reads Smart Repair and upscale to 1080P, even if the picture is otherwise clean.

Without KwaFlux, ffprobe from FFmpeg prints the same numbers:

ffprobe -v error -select_streams v:0 -show_entries stream=width,height,avg_frame_rate,bit_rate:format=bit_rate -of default=noprint_wrappers=1 input.mp4

Bitrates come out in bits per second, so 2100000 means 2.1 Mbps. MKV files often show N/A for the video stream. The last line is the bitrate of the whole file, audio included, and it's close enough for this check.

To judge whether a bitrate is low, divide it by width × height × frame rate. That's bits per pixel for each frame. YouTube's recommended upload rates work out to roughly 0.13 to 0.2 at 30 fps. For 1080p, 8 Mbps ÷ (1920 × 1080 × 30) is about 0.13. A 1080p file at 30 fps and 2 Mbps gets about 0.03, a quarter of that, so blocks in motion are no surprise. H.265 and AV1 need fewer bits than H.264 for the same look, so treat this as a rough check, not a pass mark.

Fix 1. Get a better source

Before you process anything, look for a better copy. It beats every fix below.

  • Go back to the original. The file from the camera or phone is usually far cleaner than any copy that went through a chat app, an editor, or a platform.
  • Re-export from your project at a higher bitrate if you made the video yourself.
  • Ask the sender for the file itself instead of a forwarded copy. Sending it as a document or through a file-sharing link can avoid the extra compression some chat apps apply to videos.

Fix 2. Repair compression damage with AI (KwaFlux)

When the blocky file is the only copy you have, AI repair can reduce compression blocks, noise, and softness in one go.

  1. Open Smart Repair. In the sidebar, go to Quality Enhancement and open the Smart Repair card. It reads each clip's quality detection result. Then it combines whatever the clip needs: denoising, sharpening, color and brightness correction, upscaling, and face and fine-detail restoration.
  2. Import the clip and let quality detection finish.
  3. Preview the worst shot. Render Preview 1s, 3s, or 5s on the most blocked part, usually fast motion or a dark scene, and compare before and after at 100% zoom.
  4. Decide on the size. Output Resolution starts at Recommended. It takes a clip under 1080p up to 1080P and a 1080p clip up to 4K, and it leaves 4K footage at its own size. If the clip is already the size you need, choose Original.
  5. Export with enough bitrate. A repaired picture needs bits to stay clean. For H.264 at 1080p, KwaFlux offers 3 to 15 Mbps, with 5 Mbps as the default. YouTube recommends 8 Mbps for 1080p at 24 to 30 fps.
Quality Repair in KwaFlux: Smart Repair on a harbor clip, with the before/after slider in the preview
Screenshot from KwaFlux. The preview is a free 1-second render of a sample clip, split by the before/after slider.

Sidenote: For grain and sensor noise rather than blocks, see how to denoise video with AI. The two often appear together in low-light phone footage.

Fix 3. Deblock with HandBrake or FFmpeg (free)

Deblocking filters smooth the edges between compression blocks. They don't restore detail, and strong settings soften the picture, but they can make mild blocking much less distracting.

HandBrake. On the Filters tab, turn on Deblock, which HandBrake's documentation describes as reducing blocky artifacts caused by low-quality compression. Start with the lightest setting, preview, and only raise it if the blocks are still obvious.

FFmpeg. The deblock filter defaults to the strong filter type and an 8-pixel block grid:

ffmpeg -i input.mp4 -vf "deblock=filter=weak:block=8" -c:v libx264 -crf 18 -c:a copy deblocked.mp4

Try filter=weak first, then filter=strong if blocks remain. The filter works on a fixed block size. That suits older formats with a regular grid, like DVD-era MPEG-2 and early MPEG-4. Modern H.264 and H.265 files vary their block sizes across the frame, so it fits them less well.

Fix 4. Upscale low-resolution video

If the video is clean but small, the pixelation comes from enlargement. Upscale it ahead of time with a better scaler than your player's, and the edges come out smoother:

  • A traditional scaler (Lanczos in FFmpeg or HandBrake) gives clean, smooth edges but no new detail.
  • An AI upscaler reconstructs plausible edges and textures, and usually looks much closer to native resolution on clean sources.

For step-by-step settings, see how to upscale 720p to 1080p.

How to keep exports from getting pixelated

  • Use a bitrate that fits the resolution and motion. YouTube's recommended SDR upload bitrates make a good floor. At 24 to 30 fps, that's 5 Mbps for 720p, 8 Mbps for 1080p, and 35 to 45 Mbps for 4K. At 48 to 60 fps, plan on roughly 1.5 times that.
  • Prefer constant quality over a fixed small file size. HandBrake's documentation notes that drastically lower quality settings show significant loss of detail. Constant quality spends bits where the content needs them.
  • Choose a modern codec when your players support it. H.265 and AV1 generally hold up better than H.264 at the same bitrate.
  • Don't re-encode the same file repeatedly. Edit from the original and export once. If you need an intermediate file between apps, use an editing format such as ProRes, which KwaFlux's Converter can produce.
ResolutionBitrate (YouTube, 24–30 fps)HandBrake RF, x264 or x265HandBrake RF, SVT-AV1
480p (SD)2.5 Mbps18–2222–32
720p (HD)5 Mbps19–2325–35
1080p (Full HD)8 Mbps20–2425–35
2160p (4K UHD)35–45 Mbps22–2825–40
Starting points for an export that holds up

The RF ranges come from HandBrake's quality guide. For these three encoders, a lower RF means higher quality and a bigger file. Apple VideoToolbox works the other way round. RF values also don't carry over between encoders: RF 22 in x265 is not the same quality as RF 22 in x264. In KwaFlux's AI export, the bitrate menu has Auto (recommended). It encodes at constant quality, so the file size follows the content.

What can't be fixed

  • Deliberate pixelation. Mosaic or blur added to hide faces, license plates, or text removed that information. A tool that shows a "clear" face behind it is generating a new one, not revealing the original.
  • Detail lost to extreme compression. Very low-bitrate video can lose whole textures. Repair makes it cleaner and more watchable, not original.
  • Tiny sources on huge screens. A 240p clip won't hold up on a 65-inch TV, however it's processed.

Final thoughts

In most cases, pixelation comes down to bitrate or resolution. Find a better source if you can, repair compression damage before you upscale, and export with enough bitrate that the next viewer sees the clean version.

KwaFlux runs Quality Repair on your own GPU. AI processing runs locally on your GPU. Media files are not uploaded for processing. It runs on Windows 10 (64-bit, version 1809 or later), Windows 11, and macOS 12 or newer on Apple Silicon. Previews need no account: render a 1-, 3-, or 5-second preview on any clip. Signing in with an active paid plan is required only to export, convert, repair a file, or download a file from a link.

Try It on Your Own Footage

Download KwaFlux and preview effects on your own footage for free before you pay. No account needed. Your media is processed on your GPU, not uploaded for processing. Video previews run 1, 3, or 5 seconds; stabilization previews run 5, 15, or 30 seconds.

Frequently asked questions

Why is my video pixelated?

Usually because the bitrate was too low for the content (compression blocks) or because a low-resolution video is being shown on a large screen. Check the file's resolution and bitrate to see which.

Can you unpixelate a video?

Partly. You can reduce compression blocks and improve low-resolution footage. But pixelation added on purpose to hide something can't be reversed. The original detail isn't in the file anymore.

Does increasing the resolution fix pixelation?

Only for low-resolution pixelation, and only with a good scaler or AI upscaling. It doesn't fix compression blocks. Scaling them up just makes them bigger, so repair the blocks first.

Why does my video look pixelated after I upload it?

Platforms re-encode every upload, often at a lower bitrate than your file. Upload the cleanest export you can, inside the platform's documented limits.

Is pixelated the same as blurry?

No. Pixelation is squares or stair steps. Blur is smeared detail. They need different fixes, though compressed low-resolution video often has both.

Sources

  1. FFmpeg Filters Documentation (deblock filter and its defaults) (accessed 2026-10-11)
  2. HandBrake Documentation, "Summary of Filters" (Deblock) (accessed 2026-10-11)
  3. HandBrake Documentation, "Adjusting quality" (recommended RF ranges, lower quality settings and loss of detail) (accessed 2026-11-07)
  4. YouTube Help, "YouTube recommended upload encoding settings" (accessed 2026-11-07)
  • pixelated video
  • video quality
  • AI video enhancement
  • tutorial

Related articles

KwaFlux writer and editor. Articles are reviewed by the KwaFlux editorial team and based on our product research notes and published specifications.