Video Glitch Datamosh

Imitates the datamosh of a compressed video stripped of its key frames: the motion of blocks between consecutive input frames moves the previous output instead of showing the new frame, so the old picture drifts with the new motion. refresh brings a clean frame back, hold freezes the content and bloom repeats the last motion endlessly.

Example: 1 s after a cut from a train clip to a snowboard clip, then a train smeared along its motion.

The effect shows best on a cut: refresh on a first clip, then switch to a second one, whose motion drags the first picture. heal mixes a small share of the input in at every frame, so the picture comes back after a few seconds. The first frame, a change of size or analysis, the patch switched on and the first frame after a bypass give a key frame: the input itself. A frame costs about 7 ms at 1920 x 1080 and 36 ms at 3840 x 2160 with the defaults: feed it 1920 x 1080 (a Video Geometric Resize first) for live use.

Settings

bypass

Bypasses the module processing when activated (ON).

  • OFF (0): Module processes normally
  • ON (1): Input passes directly to output without processing

video in

Video input flow(s).

video out

Video output flow(s).

process time

Total time used for the calculation of the module.

refresh

The next frame is the input itself (a key frame) and the motion is forgotten. With bloom ON, the frozen motion is kept: the clean frame flows on along it.

auto refresh

A key frame every N input frames, from 0 to 600 (default 0: never). 1 gives the input at every frame.

hold

When ON, freezes the content: residual and heal are ignored and only the motion moves the picture, so no new color enters it.

bloom

When ON, freezes the motion: the last motion field is applied again at every frame and the motion of the input is ignored, so the picture keeps flowing in the same direction, even on a still input (the repeated P-frame of datamoshing).

residual

Share of the change of the input added along the motion, from 0 to 1 (default 0). 0 moves the old pixels only; 1 adds the change as a video codec does, so the new details leak into the old picture.

heal

Share of the input mixed in at every frame, from 0 to 1 (default 0.008), so that the picture slowly comes back: 0 never heals, 1 gives the input. It is used in steps of 1/256 (0.008 is 2/256, values below 0.002 act as 0), and each level moves at least one step per frame toward the input, so any value above 0 heals the picture completely. At the default, on a clip of 60 frames per second, the picture is strongly moshed 1 s after a cut and mostly healed after 3 s. The blocks at the edges cannot move content in from outside the frame: on a pan, the content entering the frame comes only through heal.

motion scale

Multiplies the motion vectors, from 0 to 4 (default 1): above 1 the picture flows faster than the input moves, 0 stops the motion.

block size

Side of the motion blocks, in pixels of the frame (16 by default).

  • 8: blocks of 8 x 8 pixels, the finest motion.
  • 16: blocks of 16 x 16 pixels.
  • 32: blocks of 32 x 32 pixels, the coarsest and blockiest motion.

search range

Largest motion searched between two frames, from 4 to 64 pixels of the frame (default 16): a larger range follows faster motions.

analysis

Resolution of the motion search (half by default). A change restarts the effect with a key frame. On a small frame, the search falls back to a finer resolution while the reduced frame would be under 16 pixels on a side.

  • full: the frame itself: the most precise and the slowest (about 11 ms at 1920 x 1080).
  • half: half the width and the height.
  • quarter: a quarter of the width and the height: the fastest.
Common Settings

info

show manual

Button. Opens the manual page of the selected object (or of its parent module for a control) in the web browser. If no page exists for this object, an error is traced in the trace panel.

For more details about information/help creation, see create-help-file.

description

Free multi-line text attached to the module, saved with the patch. When it is not empty, it is shown as the hint of the module (mouse over the module header in the patch) in place of the default module hint, even when the module hints are disabled.

ID's

visible only in god mode, see setup-panel-tab-expert.

unique ID

Read-only, not saved. Current private numeric ID of the object, used internally to identify it (for example as the target of a bind ID).

preset ID

Read-only, not saved. Private ID used to store and recall the values of this control in presets.

recreate ID

Button. Generates a new unique ID, original ID and preset ID for the object. Use it if you experience difficulties in Polyphonic mode or if two objects share the same ID. Preset values and binds referring to the old IDs are lost.

Object Remote Address

absolute

Read-only, not saved. Absolute address of the object in the Usine objects tree, built from the workspace root. This is the address to use to reach the object from scripts, the objects panel or remote messages. Only shown for objects that are registered in the objects list. See objects-address.

local

Read-only, not saved. Address of the object relative to the current patch, valid inside that patch only. See objects-address.

user addr

Free user-defined address for the object (empty by default). When set, the object is also registered in the objects tree under this name, so it can be reached independently of its position in the workspace (the value is also reported in the mouse-over and mouse-down chunks). Changing it rebuilds the objects list. Only available on objects that support a user address. See objects-address.

See also

version 7.0.250921

Edit All Pages