← Back to blog

What Is Datamoshing? A Complete Guide

Learn what datamoshing is and how artists break video compression by removing keyframes. Explore the technique, its history, and how codec glitches became an art form.

Datamoshed video frame with pixel smearing and motion artifacts from broken codec data

Datamoshing is the art of breaking video compression by removing key frames. The result is a grotesque, surreal distortion where video frames smear and blend in impossible ways. It's grotesque because it's broken, and it's beautiful for exactly that reason.

How Video Compression Works

Most video codecs (H.264, VP9, etc.) use a clever trick to reduce file size: they don't store every frame completely. Instead, they store:

  • I-frames (keyframes): Complete frames with all pixel information. Expensive to store.
  • P-frames (predicted frames): Cheap! Only store the differences from the previous frame. To decode a P-frame, you need its reference frame.

This is why video codecs work: most consecutive frames are very similar. Store the differences, not the whole frame, and you save 80-90% of the data.

Breaking the Codec: Datamoshing

Datamoshing works by removing I-frames (keyframes) from the video stream. Without a keyframe, P-frames have no reference. The decoder has to use the last available reference, which might be from many frames ago.

The result? Pixels from earlier frames ghost over later frames. Motion vectors get applied to wrong pixels. The video smears, trails, and distorts in impossible ways.

Takeshi Murata and the Birth of Datamoshing as Art

Artist Takeshi Murata created "Monster Movie" (2005) using this technique. The short film showed recognizable video - a monster movie, traditional film footage - but distorted beyond recognition by aggressive datamoshing. It was shocking, beautiful, and deeply confusing to watch.

Before Murata, datamoshing was an artifact of broken compression. After Murata, it was an art medium. The technique became associated with glitch art and digital culture.

Visual Effects of Datamoshing

  • Motion blur: Pixels from different frames blend together creating strange streaks
  • Face distortion: Facial features warp and stretch
  • Temporal ghosting: Multiple frames' data visible simultaneously
  • Color separation: Different color channels offset from each other
  • Liquification: Objects seem to melt and flow

How to Datamosh

Traditional datamoshing requires:

  1. Encode video in H.264 or similar codec (creating I and P frames)
  2. Extract the raw bitstream
  3. Remove I-frames or corrupt the data manually
  4. Re-encode the damaged video

Modern tools have made this easier, but the core technique remains: create a video codec mismatch and let the confusion create art.

Datamoshing Today

Datamoshing appears in:

  • Music videos: Especially in experimental and electronic music
  • Glitch art communities: Online galleries dedicated to codec breakage
  • Film editing: Professional editors sometimes use datamosh-like effects
  • VFX: Motion graphics studios use it for stylized distortion

The Philosophy of Datamoshing

Datamoshing is a form of medium-specific art. It's only possible in the digital video age. The technique is tied to how algorithms work, how data is encoded, how information flows. In a sense, it's art made from the guts of computation itself.

Ready to try it? Open GlitchArt Studio and experiment with this effect.

Try this effect in GlitchArt Studio 85+ effects, real-time preview, free to use
Open Editor