S_PixelMoshProvides a more controllable and broadly applicable simulation of datamoshing techniques, historically used to generate strange visual results by intentionally damaging mpeg encoded files. Includes simulation of I-frame removal (Flow) and P-frame replacement (Pulse). NOTE: This effect is random by design. As such, please be aware that slight pixel differences between CPU and GPU renders may be noticeable. For the best results when applying S_PixelMosh to clips, please utilize a professional codec and file format, such as a ProRes QuickTime movie, as opposed to a web video codec that employs inter-frame compression, such as H.264 in an MP4 file format.In the Sapphire Stylize effects submenu.
Inputs:
|
|
Parameters:
-
Load Preset:
Push-button
.
Brings up the Preset Browser to browse all available presets for this effect.
-
Save Preset:
Push-button
.
Brings up the Preset Save dialog to save a preset for this effect.
-
Vary Hold Frame:
Popup menu, Default: Automatic
.
Selects between Automatic and Manual animation of Flow and Pulse.
-
Automatic:
Interval parameters control the animation of Flow and Pulse.
- Manual: Frame parameters may be keyframed to control the animation of Flow and Pulse.
- Manual: Frame parameters may be keyframed to control the animation of Flow and Pulse.
-
Automatic:
Interval parameters control the animation of Flow and Pulse.
-
Mocha Project:
Default:
0,
Range:
0 or greater.
Brings up the Mocha window for tracking footage and generating masks.
-
Blur Mocha:
Default:
0,
Range:
0 or greater.
Blurs the Mocha Mask by this amount before using. This can be used to soften the edges or quantization artifacts of the mask, and smooth out the time displacements.
-
Mocha Opacity:
Default:
1,
Range:
0 to 1.
Controls the strength of the Mocha mask. Lower values reduce the intensity of the effect.
-
Invert Mocha:
Check-box, Default:
off.
If enabled, the black and white of the Mocha Mask are inverted before applying the effect.
-
Resize Mocha:
Default:
1,
Range:
0 to 2.
Scales the Mocha Mask. 1.0 is the original size.
-
Resize Rel X:
Default:
1,
Range:
0 to 2.
The relative horizontal size of the Mocha Mask.
-
Resize Rel Y:
Default:
1,
Range:
0 to 2.
The relative vertical size of the Mocha Mask.
-
Shift Mocha:
X & Y, Default:
[0 0],
Range:
any.
Offsets the position of the Mocha Mask.
-
Bypass Mocha:
Check-box, Default:
off.
Ignore the Mocha Mask and apply the effect to the entire source clip.
-
Show Mocha Only:
Check-box, Default:
off.
Bypass the effect and show the Mocha Mask itself.
-
Combine Masks:
Popup menu, Default: Union
.
Determines how to combine the Mocha Mask and Input Mask when both are supplied to the effect.
-
Union:
Uses the area covered by both masks together.
- Intersect: Uses the area that overlaps between the two masks.
- Mocha Only: Ignore the Input Mask and only use the Mocha Mask.
- Intersect: Uses the area that overlaps between the two masks.
-
Union:
Uses the area covered by both masks together.
-
AltFlowData Scale:
Default:
1,
Range:
0 or greater.
Scales the intensity of any supplied alternative optical flow map.
-
Use Flow Warp:
Check-box, Default:
on.
Enables Flow.
-
Frame Interval:
Default:
15,
Range:
0 or greater.
Time delay (in frames) between automatic Flow warp starts.
-
Vary Frame Interval:
Default:
0.7,
Range:
0 to 1.
How much to randomly vary repeating Flow intervals.
-
Flow Warp Hold Frame:
Default:
0,
Range:
0 or greater.
Which frame to manually start Flow warping.
-
Block Size X:
Integer, Default:
32,
Range:
0 or greater.
Horizontal size (in pixels) of simulated macroblocks.
-
Block Size Y:
Integer, Default:
32,
Range:
0 or greater.
Vertical size (in pixels) of simulated macroblocks.
-
Flow Warp Scale:
Default:
1,
Range:
any.
Scales the amount of warp distortion.
-
Blur Flow:
Default:
0,
Range:
0 or greater.
Amount to blur the source frame before calculating optical flow.
-
Flow Field Smoothness:
Default:
0.8,
Range:
0 or greater.
Optical flow parameter: The relative importance of adhering to the image data relative to the importance of keeping a smooth flow field. The higher this value, the more relative importance is assigned to the flow field smoothness.
-
Emphasize Edges:
Default:
0,
Range:
0 or greater.
Optical flow parameter: Specify the degree of structure/texture decomposition to apply to the input clip prior to solving for the motion vector field. This can be useful to reduce problems due to lighting changes and may give better localised flows and other improvements. It is not recommended when there is fast motion in the input clip. However, in some cases, it can be very helpful in getting acceptable results. Suggested usage is to first try a value of 0.0 (which turns off structure/texture decomposition). If the result is unsatisfactory, try 0.4. Finally, try 1.0.
-
Flow View Scale:
Default:
0.9,
Range:
0 or greater.
When outputting a representation of the motion vectors, this increases the saturation of the color corresponding to a unit length motion. This makes the representation more sensitive to show shorter vectors more clearly.
-
Add Pulse Frame:
Check-box, Default:
off.
Enables Pulse.
-
Pulse Before Flow:
Check-box, Default:
on.
Perform Pulse (if enabled) before Flow.
-
Pulse Interval:
Default:
10,
Range:
0 or greater.
Time delay (in frames) between automatic Pulse starts.
-
Vary Pulse Interval:
Default:
0,
Range:
0 to 1.
How much to randomly vary repeating Pulse intervals.
-
Pulse Hold Frame:
Default:
10,
Range:
0 or greater.
Which frame to manually start Pulse.
-
Pulse Intensity:
Default:
1,
Range:
0 or greater.
Scales the intensity of Pulse.
-
Pulse Threshold:
Default:
0,
Range:
0 or greater.
Limits the extent of Pulse.
-
Pulse Block Size X:
Integer, Default:
10,
Range:
0 or greater.
Horizontal size (in pixels) of Pulse elements.
-
Pulse Block Size Y:
Integer, Default:
10,
Range:
0 or greater.
Vertical size (in pixels) of Pulse elements.
-
Pulse Combine:
Popup menu, Default: Add
.
Determines how to combine the Pulse with the background.
-
Add:
Causes the Pulse to be added to the background.
- Screen: Causes the Pulse to be combined with the background using a screen operation.
- Comp: Causes the Pulse to be composited over the background.
- Overlay: Causes the Pulse to be combined with the background using an overlay function.
- Ave: Causes the Pulse to be averaged with the background.
- Min: Causes the Pulse to be combined with the background using a minimum function.
- Max: Causes the Pulse to be combined with the background using a maximum function.
- PulseOnly: Gives the Pulse alone with no background.
- Screen: Causes the Pulse to be combined with the background using a screen operation.
-
Add:
Causes the Pulse to be added to the background.
-
Pulse Bg Brightness:
Default:
1,
Range:
0 or greater.
Scales the brightness of the background relative to the Pulse
-
Seed:
Default:
0.123,
Range:
0 or greater.
Used to initialize the random number generator. The actual seed value is not significant, but different seeds give different results and the same value should give a repeatable result.
-
Show:
Popup menu, Default: Result
.
Selects the output option.
-
Result:
Shows the result of the Flow and Pulse.
- Source: Shows the input image being used as the source.
- Flow: Shows the optical flow map.
- Flow Vectors: Shows a representation of the motion vectors. The direction of the vector at a pixel is shown as a color, and the length of the vector as the saturation of that color.
- Flow Blocky: Shows the flow map after it has been pixelated according to block size
- Flow Coords: Shows the Flow warping coordinates.
- Flow Warped: Shows the result of the Flow.
- Hole Mask: Shows an automatically generated mask of any holes in the image created by Flow warping.
- Source: Shows the input image being used as the source.
-
Result:
Shows the result of the Flow and Pulse.
-
Mask Use:
Popup menu, Default: Flow
.
Determines how the Mask input channels are used to make a monochrome mask.
-
Luma:
The luminance of the RGB channels is used to mask the entire effect.
- Alpha: Only the Alpha channel is used to mask the entire effect.
- Flow: Only the Alpha channel is used to mask the optical flow map.
- Alpha: Only the Alpha channel is used to mask the entire effect.
-
Luma:
The luminance of the RGB channels is used to mask the entire effect.
-
Blur Mask:
Default:
0.05,
Range:
0 or greater.
Blurs the Mask input by this amount before using. This can be used to soften the edges of the mask and provide a smoother transition between the masked and unmasked areas.
-
Invert Mask:
Check-box, Default:
off.
If enabled, inverts the mask input so the effect is applied to areas where the Mask is black instead of white.
-
Opacity:
Popup menu, Default: Normal
.
Determines the method used for dealing with opacity/transparency.
-
All Opaque:
Use this option to render slightly faster when the input image is fully opaque with no transparency (alpha=1).
- Normal: Process opacity normally.
- As Premult: Process as if the image is already in premultiplied form (colors have been scaled by opacity). This option also renders slightly faster than Normal mode, but the results will also be in premultiplied form, which is sometimes less correct.
- Normal: Process opacity normally.
-
All Opaque:
Use this option to render slightly faster when the input image is fully opaque with no transparency (alpha=1).