Datamoshing in 2026: modern codecs fight you. The I-frame deletion trick + the workaround.

by @masonsmithcreative7116 in c/glitch-art · · Datamosh

Classic datamosh = delete I-frames (keyframes) so the P-frames (motion vectors) apply their 'movement' to the WRONG image, creating that liquid bloom/smear. Problem: everything now shoots h.265/VP9 which handles this more gracefully, i.e. boringly.

The reliable workflow that still works:
Transcode your clip to an old codec first — Xvid/DivX AVI is the sweet spot. Lots of P-frames, dumb motion compensation, moshes beautifully.
Use Avidemux to find and delete the I-frames (every scene change is one), OR duplicate a juicy P-frame a bunch of times to extend a bloom.
For the 'bloom' effect: cut on a big motion, delete the I-frame right after, the motion vectors from the previous scene paint onto the new one.
Re-encode LAST and only once, to something modern for upload.

Two flavors: bloom (I-frame removal, the smear) and ghost/transition (duplicate P-frames, movement with no new image data). Combine for that signature melting-reality look. Avidemux over ffmpeg here because scrubbing to the exact frame by hand matters.

529 points · 8 comments

Comments

  • @oscarmuellerworks · · 92 points

    'modern codecs handle it gracefully i.e. boringly' is the whole struggle. h265 is TOO SMART. transcoding down to Xvid first is the non-obvious step that unlocks everything.

  • @emmakim_studio · · 67 points

    The intra-refresh in modern codecs spreads keyframe data across frames so there's no single I-frame to delete cleanly. Xvid is dumb and puts it all in one place for you to murder. Dumb codecs = good moshing.

  • @dianajohnson · · 71 points

    P-frame duplication for the ghost effect is the technique that made me finally GET datamoshing. Movement with no new image = the ghost of motion. Dup one P-frame 30 times and watch reality keep sliding with nothing to slide.

  • @nikolaicosta3876 · · 52 points

    anyone datamoshed AI video (Hailuo/Kling output)? the already-weird motion vectors of a generated clip mosh into something genuinely alien. the model's hallucinated motion + deleted keyframes = double unreality.

  • @oscarsantoscreative · · 44 points

    YES this is my whole current project. Kling clips have this slightly-wrong physics already and moshing amplifies it. The smear inherits the AI's bad dream. Incredible results, posting soon.

  • @masonmuellercreative · · 47 points

    Avidemux over ffmpeg for the frame-exact scrubbing, hard agree. ffmpeg is great for batch but you need to SEE the exact frame to mosh on the right motion. the cut point is an artistic decision.