Datamoshing guide

What is datamoshing?

TL;DR

Datamoshing is a video glitch technique. You deliberately damage or remove parts of a compressed video’s data so the codec stops drawing clean frames and instead smears motion from one shot into the next. The result is the melting, blooming, pixel-dragging look common in music videos and glitch art. You can do it by hand in tools like Avidemux or ffmpeg, inside After Effects with a plugin, or with a purpose-built app like MOSH_UNIT that bends the compressed byte stream directly. No AI is involved: every pixel comes from your own footage.

Last updated: July 2026

How does datamoshing work?

Modern video codecs do not store every frame in full. They store a few complete pictures and describe everything in between as motion. Datamoshing hijacks that shortcut. When the complete pictures are missing or the motion instructions are repeated, the decoder keeps applying old movement to new footage, and the image tears, melts and blooms.

To see why, it helps to know the three frame types a compressed clip is built from:

FrameWhat it storesRole in datamoshing
I-frame (keyframe)A full, standalone pictureRemove it and the decoder never refreshes, so motion from the previous shot bleeds in
P-frameOnly the change from the previous frameDuplicate it and that slice of motion smears and blooms across the picture
B-frameChange based on past and future framesLess common in moshing, but the same idea

What are the main datamoshing techniques?

  • I-frame removal (the melt): strip the keyframes so a new scene is painted with the motion of the old one. This is the classic transition where one shot dissolves into another.
  • P-frame duplication (the bloom): repeat frames that only hold motion, so a single movement pumps and blooms outward.
  • AVI byte manipulation: edit the bytes of the compressed AVI stream directly instead of re-cutting frames in an editor. It reaches the same visual space and is how MOSH_UNIT works under the hood.

All three keep your original footage. Nothing is generated: the glitch is your own pixels, moved where the codec no longer knows how to draw them.

What does datamoshing look like?

  • Bloom: motion piles up and explodes into flowing digital trails.
  • Melt: one shot dissolves into the next with no hard cut.
  • Pixel drag: blocks of the image smear in the direction things were moving.

What do you need to datamosh?

Two things: a compressed clip with real motion in it, and a tool that can reach the compression data. Footage that moves (a pan, a person, a busy background) moshes far better than a static shot. Common source formats like MP4, MOV and AVI all work, because the tool re-encodes to a moshable form first.

Which tools can datamosh?

There is no single "datamosh button" in most editors, so people reach for one of these:

For a side-by-side on price, platform and ease, see the tools comparison. For a walkthrough, see the step-by-step guide.

Questions

Is AVI byte manipulation real datamoshing?
Yes. Classic datamoshing removes or duplicates frames so motion bleeds across cuts. Editing the AVI byte stream directly reaches the same result: the compressed data is altered so the decoder smears motion instead of drawing clean frames. It is a legitimate datamoshing method, and it is how MOSH_UNIT works.
Do I need After Effects to datamosh?
No. After Effects is one route, but it needs a subscription and usually a plugin or manual keyframe work. Free tools like Avidemux and ffmpeg, and purpose-built apps like MOSH_UNIT, datamosh with no After Effects at all.
Does datamoshing use AI?
No. Datamoshing is a compression trick, not a generative model. Every frame in the output comes from your own footage, rearranged by the codec. MOSH_UNIT in particular uses no AI.
Is datamoshing the same as glitch art?
Datamoshing is one kind of glitch art, specific to video and to compression. Glitch art is the broader family that also includes image databending, pixel sorting and signal errors.