The DjzDatamoshV4 node is an advanced image effects node that performs motion vector-based style transfer between images. It can extract motion vectors from a source sequence of images and apply them to a target sequence, creating unique datamoshing effects. This node is particularly useful for creating artistic glitch effects and style transfers between different image sequences.
-
target_images (IMAGE)
- The sequence of images that will receive the motion vector effects
- These are the base images that will be modified
-
source_images (IMAGE)
- The sequence of images to extract motion vectors from
- These images define the movement patterns that will be applied
-
mode (Dropdown)
- Options:
extract_and_transfer
: Extract vectors from source and apply to targetextract_only
: Only extract vectors from source imagestransfer_only
: Only apply previously saved vectors to target images
- Controls the operation mode of the node
- Options:
-
vector_file (STRING)
- Default: "vectors.json"
- The filename to save or load motion vectors
- Used for storing extracted vectors or loading previously saved ones
-
method (Dropdown)
- Options:
add
: Add the motion vectors to existing motionreplace
: Replace existing motion with new vectors
- Determines how motion vectors are applied to the target images
- Options:
-
gop_period (INTEGER)
- Default: 1000
- Range: 1-10000
- Step: 1
- Controls the Group of Pictures (GOP) period for MPEG encoding
- Higher values create longer segments of related frames
- Returns a modified IMAGE sequence with the applied motion vector effects
- Connect a sequence of source images (for motion vector extraction)
- Connect a sequence of target images (to receive the effects)
- Choose the desired operation mode
- Set the vector file name if you want to save/load vectors
- Select the application method (add/replace)
- Adjust the GOP period if needed
- Extracts motion vectors from source images and immediately applies them to target images
- Best for direct style transfer between two image sequences
- Only extracts and saves motion vectors from source images
- Useful when you want to save motion patterns for later use
- Applies previously saved motion vectors to target images
- Requires an existing vector file from a previous extraction
- The node requires external tools (ffgac and ffedit) for motion vector processing
- Vector files are saved in the 'custom_nodes/motion_vectors' directory
- Processing may take some time depending on the number and size of images
- If processing fails, the node returns the unmodified target images