Back to Blog
Tutorials

How To Fix Video Compression Artifacts With AI

Fix video compression artifacts with AI. Remove macroblocking, banding, and ringing from low-bitrate video footage with the LTX-2.5 Decompression IC-LoRA.

LTX Team
Tutorials
How To Fix Video Compression Artifacts With AI
Key Takeaways
  • Route macroblocking, chroma bleed, ringing, and banding to the LTX-2.5 Decompression IC-LoRA
  • Run near the 960×544, 121-frame bucket with the ENHANCE QUALITY prompt and stage-1-only recipe
  • Send damaged archive footage to Restore, then Refine Details, and QC the full clip

Video compression artifacts are fixable with a generative video-to-video pass: LTX-2.5 ships a dedicated Decompression IC-LoRA that conditions on a low-bitrate clip and regenerates it without macroblocking, chroma bleed, ringing, or banding, while keeping subject, framing, and geometry intact.

The hard part is choosing the right tool. LTX publishes several restoration adapters, and only one of them targets compression damage. This guide shows which to run, in what order, and where each one stops working.

What Are Video Compression Artifacts?

Video compression artifacts are the visible errors a lossy codec leaves behind when it throws away too much data. Low bitrate and repeated re-encoding are the usual causes. The LTX-2.5 Decompression model card lists the four symptoms the adapter was trained to remove:

• Macroblocking: square blocks across flat areas and moving edges

• Chroma bleed: color smearing past object boundaries

• Ringing: halos and mosquito noise around high-contrast edges

• Banding: stepped gradients in skies and walls

Diagnosis matters because blur, sensor noise, and low resolution look similar at a glance but need different adapters. A quick test: pause on a frame with motion and zoom to 200%. Hard-edged squares, color that leaks past an edge, or halos that crawl around text point to compression. A uniformly soft image with no block structure points to defocus, and fine random speckle points to noise. The Decompression model card lists defocus blur, motion blur, noise and grain, upscaling, and colorization as out of scope, so a misdiagnosed clip will come back looking almost unchanged.

Which LTX-2.5 Adapter Fixes What?

Four of the documented LTX-2.5 IC-LoRA adapters cover the common restoration cases. The video restoration path you pick depends on the damage, not on how bad the clip looks overall.

• Low-bitrate macroblocking, chroma bleed, ringing, banding: Decompression IC-LoRA, scoped to compression-artifact removal only

• Damaged archive transfers, tape, compressed broadcast, black-and-white scans: Restore IC-LoRA, for cleanup, reconstruction, and inferred color

• Soft footage with usable color and structure: Refine Details IC-LoRA, which rebuilds texture, edges, and grain but guarantees no artifact removal

• Out-of-focus footage: Deblurring IC-LoRA, which restores sharpness to out-of-focus video

Two routing mistakes show up often. The Pixel Spatial Upscaler is a generative upscaler, and the LTX IC-LoRA Adapters documentation states it is not suited to compression-artifact removal. Refine Details accepts soft or compressed footage that still has usable color and structure, but the Refine & Restore guide states it does not guarantee artifact removal, so heavy macroblocking belongs on Decompression.

What You Need Before You Start

LTX-2.5 restoration runs on the open-source stack, either in ComfyUI or through the ltx_pipelines.ic_lora Python pipeline. The hosted LTX API is the lower-barrier option for text-, image-, and audio-to-video generation plus retake and extend, but these IC-LoRA adapters run locally or on your own GPU servers.

Prerequisites:

• GPU: NVIDIA with 32GB+ VRAM minimum; an A100 80GB or H100 is recommended

• CUDA: 12.7 or higher per the LTX system requirements (the LTX Trainer docs recommend CUDA 13+ for training)

• System: 32GB RAM, 100GB free storage, Python 3.12+

• Models: the LTX-2.5 distilled transformer, the Gemma 4 text encoder, and the video and audio VAEs

• Adapter: ltx-2.5-22b-ic-lora-decompression-0.9.safetensors in ComfyUI/models/loras/

Frame counts must satisfy (F-1) % 8 == 0, so lengths such as 97 or 121 frames are valid, while 100 or 120 are not. Width and height must be multiples of 32.

Fix Artifacts With Decompression

Decompression takes the compressed clip directly as its reference. No preprocessing, mask, or extracted control signal is needed. This IC-LoRA processes the reference at the same resolution as the output (downscale factor 1), and the output matches the reference frame count, frame rate, resolution, and aspect ratio.

Step 1: Load the IC-LoRA workflow

Decompression runs in an LTX-2.5 video-to-video IC-LoRA workflow from the ComfyUI-LTXVideo repository, such as LTX-2.5_V2V_ICLoRA_Single_Stage_Distilled.json, which already wires the reference-video nodes. Load the adapter and connect the compressed clip as the reference video. Start at strength 1.0, the value used for the published samples.

Step 2: Stay near the training bucket

The Decompression adapter was trained at 960×544 (and 544×960 portrait), 121 frames at 24 fps. The model card warns that generating far above that bucket can weaken artifact removal on high-frequency detail. Start there and scale up only after the artifacts are gone.

Step 3: Write the ENHANCE QUALITY prompt

The ENHANCE QUALITY trigger anchors a two-part prompt that describes the same scene twice:

Reference shows a city street at dusk with neon signs and wet pavement, heavily compressed with visible macroblocking, chroma bleed, and ringing artifacts. Edited shows the same scene restored to high quality with sharp detail, clean edges, and no compression artifacts. ENHANCE QUALITY a city street at dusk with neon signs and wet pavement. Subject identity, framing, and background geometry are identical to the reference; only compression artifacts and image quality differ between reference and edited.

Keep the identity and framing sentence intact. It tells the model that only artifacts should change.

Step 4: Use the stage-1-only recipe for identity-critical clips

The Decompression production recipe skips stage 2 so the reference stays attached for the entire denoise:

uv run python -m ltx_pipelines.ic_lora \
    --transformer-path models/ltx-2.5/diffusion_models/ltx-2.5-22b-distilled-transformer-bf16.safetensors \
    --text-encoder-path models/ltx-2.5/text_encoders/gemma4-12b-with-proj-ltx-2.5-bf16.safetensors \
    --video-vae-path models/ltx-2.5/vae/ltx-2.5-video-vae-bf16.safetensors \
    --audio-vae-path models/ltx-2.5/vae/ltx-2.5-audio-vae-bf16.safetensors \
    --spatial-upsampler-path models/ltx-2.5/latent_upscale_models/ltx-2.5-latent-spatial-upscaler-x2-bf16-1.0.safetensors \
    --lora models/ltx-2.5-22b-ic-lora-decompression-0.9.safetensors 1.0 \
    --video-conditioning compressed_clip.mp4 1.0 \
    --skip-stage-2 --tile-reference-encode \
    --prompt "Reference shows ... ENHANCE QUALITY ..."

The distilled checkpoint uses fixed sigmas, so this path has no CFG scale and no negative prompt. Use it for any clip where identity drift would be unacceptable.

Restoring Damaged Archive Footage

Archive footage with compression damage plus tape wear, low resolution, or missing color belongs on the Restore path from the same Refine & Restore guide. Restore runs inside the LTX-2.5_V2V_TiledFusion_Upscale.json workflow in ComfyUI.

• Do not pre-clean: skip denoise and sharpen filters before Restore

• Keep aspect ratio: never stretch 4:3 to 16:9

• Canvas: 1440×1056 or 1440×1088 for 4:3, 1920×1088 for 16:9, with a 960×544 sampling tile

• Prompt: describe period, place, lighting, and materials; put logos, lettering, and modern objects in the negative prompt

Order matters. For 4K-class delivery, run Refine Details second with a 1024×576 tile. The guide states that refining first can sharpen the damage and reduce color. The same logic suggests running Decompression before any detail pass on low-bitrate footage, although that pairing is not a documented recipe, so test it on your own clips.

Can AI Remove All Compression Damage?

AI decompression regenerates plausible detail. It does not recover the original pixels. The LTX Refine & Restore documentation states that its generative tools synthesize detail rather than recovering the source pixel-for-pixel, and Decompression is a generative IC-LoRA as well, so rebuilt faces, lettering, and fine texture are interpretations.

Three failure modes cover most bad results:

• Residual blocks at high resolution: lower the generation size toward 960×544

• No improvement at all: the clip is probably blurred, noisy, or low resolution rather than compressed; Decompression only targets compression artifacts

• Identity drift: return to the stage-1-only recipe; the two-stage path has no reference anchor in stage 2

Footage with almost no surviving information will be reconstructed from the prompt. Treat those regions as generated content in any delivery that depends on accuracy.

Quality Control Before Delivery

LTX-2.5 restoration output needs a full-clip review, not a single-frame check. Scrub the entire shot and inspect the areas generative repair handles worst:

• Faces and hands across motion

• Text, signage, and logos

• Structured edges such as windows and railings

• Tile boundaries when using Tiled Fusion

• Color consistency between the first and last frames

Compare the result against the source at the same resolution. If a region looks cleaner but wrong, the reference carried too little information there, and no setting will fix it. For long clips, trim the test to one 121-frame segment that contains the worst blocking, settle the prompt and strength on that segment, and only then batch the rest of the shot with identical settings. Changing the prompt between segments of one shot can introduce visible shifts at the cut points.

Summary

Video compression artifacts such as macroblocking, chroma bleed, ringing, and banding are the documented target of the LTX-2.5 Decompression IC-LoRA. The adapter works best near its 960×544, 121-frame training bucket at strength 1.0 with the two-part ENHANCE QUALITY prompt. Identity-critical clips should use the stage-1-only recipe. Damaged archive footage belongs on the Restore path, with Refine Details run second. All of these tools regenerate plausible detail rather than recovering original pixels.

Ready to clean up your footage? Download the Decompression adapter from Hugging Face, load the LTX-2.5 IC-LoRA workflow, and run your worst clip at the training bucket first.

Table of Contents: