Sapphire Plug-ins for Open Fx: PixelMosh

S_PixelMosh

Provides 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:

Source: The clip to be moshed.

Mask: Optional. If provided, the mask by default will loosely control the area affected by 'Flow', with blocks allowed to cross the edge of the mask. If 'Use Mask For' is changed to 'Alpha' or 'Luma', then the mask exactly defines the area affected by the entire effect.

AltFlowData: Optional. If supplied, contains an alternative optical flow map that will be used for flow warping.

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.

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.

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.

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.

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.

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.


See Also:

DissolvePixelMosh
DigitalDamage
Retime
Sapphire Plug-ins Introduction

List all effects with pictures

List all effects by name

List all effects with a brief summary

General User Info
What's New In This Version
Compatibility Notes
Loading a Plug-in
Color Management with OpenColorIO
Loading and Saving Presets
Designing Lens Flares and Glares
Using the Sapphire Effect Builder
Using Mocha in Sapphire
Resetting Parameters to Defaults
Online Documentation
About GPU Acceleration
About Motion Blur
About Matte Inputs
About Alpha Processing
About Angle Parameters
About Pixel Aspect Ratios
Customizing Plug-ins
Known Problems
3rd Party Licenses

Glow Effects
Glow
GlowAura
GlowDarks
GlowDist
GlowEdges
GlowNoise
GlowOrthicon
GlowRainbow
GlowRings
UltraGlow
ZGlow
Light Beams
Rays
EdgeRays
Streaks

LensFlares
LensFlare
LensFlareAutoTrack
LightLeak
Glints & Glares
Glint
GlintRainbow
Glare

Other Lighting
BokehLights
DropShadow
Flashbulbs
Light3D
SpotLight

AutoPaint & HalfTone
AutoPaint
Sketch
Etching
Brush:Oil
Brush:Chalk
Crosshatch
Cartoon
CartoonPaint
Posterize
HalfTone
HalfToneColor
HalfToneRings

Kaleidoscopes
Kaleido:Triangles
Kaleido:Squares
Kaleido:Diamonds
Kaleido:Oct
KaleidoPolar
KaleidoRadial
FlysEyeCircles
FlysEyeHex
FlysEyeRect
TileScramble
Film Effects & Grain
FilmEffect
FilmDamage
Vignette
BleachBypass
Grain
GrainStatic
UltraGrain
Diffuse
VintageColor2Strip
VintageColor3Strip

Edge Effects
EdgeDetect
EdgeDetectDouble
EdgesInDirection
EdgeColorize

Embossing
Emboss
EmbossShiny
EmbossDistort
EmbossGlass
Other Stylize
BandPass
ColorFuse
DogVision
DigitalDamage
JpegDamage
TVDamage
Grunge
Mosaic
PixelSort
PseudoColor
PsykoBlobs
PsykoStripes
PrismLens
RomanTile
ScanLines
ScanLinesMono
Solarize
StripSlide
Zebrafy
ZebrafyColor
ZFogExponential
ZFogLinear

Adjust
ChannelSwitcher
ClampChroma
DuoTone
Gamma
Hotspots
HueSatBright
Invert
Monochrome
OCIOTransform
QuadTone
Threshold
Tint
TriTone
ShowBadColors

Composite
EdgeFlash
Layer
MathOps
MatteOps
MatteOpsComp
ZComp
Blur+Sharpen
Beauty
Blur
BlurChannels
BlurChroma
BlurDirectional
BlurMoCurves
BlurMotion
DefocusPrism
Convolve
ConvolveComp
Deband
EdgeBlur
EdgeAwareBlur
FreeLens
GrainRemove
Median
RackDefocus
RackDfComp
Sharpen
SoftFocus
ZConvolve
ZDefocus
ZBlur

Distort Effects
Distort
DistortBlur
DistortChroma
DistortRGB
Warps & Shake
InfiniteZoom
ParallaxStrips
WarpBubble
WarpBubble2
WarpChroma
WarpCornerPin
WarpDrops
WarpFishEye
WarpMagnify
WarpPerspective
WarpPolar
WarpPuddle
WarpPuff
WarpRepeat
WarpTransform
WarpVortex
WarpWaves
WarpWaves2
Shake
StretchFrameEdges

Lightning Zaps
UltraZap
Zap
ZapTo
ZapFrom

Gradients, Grid & Shape
Gradient
GradientMulti
GradientRadial
Grid
Shape

Procedural Textures
Caustics
Sparkles
SparklesColor
TextureCells
TextureChromaSpiral
TextureFlux
TextureFolded
TextureLoops
TextureMicro
TextureMoire
TextureNeurons
TextureNoiseEmboss
TextureNoisePaint
TexturePlasma
TextureSpots
TextureTiles
TextureWeave

Fractal Clouds
Clouds
CloudsColorSmooth
CloudsMultColor
CloudsPerspective
CloudsPsyko
CloudsVortex
Other Render
Aurora
LaserBeam
Luna
MuzzleFlash
NightSky
Time Effects
CutToDissolve
Feedback
FeedbackBubble
FeedbackDistort
FieldRemove
FreezeFrame
GetFrame
JitterFrames
MotionDetect
NearestColor
RandomEdits
RepairFrames
Retime
ReverseClip
ReverseEdits
TimeAverage
TimeDisplace
TimeSlice
TimeWarpRGB
Trails
TrailsDiffuse

Flicker Tools
Flicker
FlickerMatch
FlickerMatchColor
FlickerMatchMatte
FlickerMchMatteColor
FlickerRemove
FlickerRemoveColor
FlickerRemoveMatte
FlickerRmMatteColor

Effect Builder
Effect
Transition
Dissolve Transitions
Dissolve
DissolveAutoPaint
DissolveBlur
DissolveBubble
DissolveDefocus
DissolveDiffuse
DissolveDigitalDamage
DissolveDistort
DissolveEdgeRays
DissolveFilm
DissolveFlashbulbs
DissolveGlare
DissolveGlint
DissolveGlintRainbow
DissolveGlow
DissolveLensFlare
DissolveLuma
DissolvePixelSort
DissolvePuddle
DissolveRays
DissolveShake
DissolveSpeckle
DissolveStatic
DissolveTiles
DissolveUltraGlow
DissolveVortex
DissolveWaves
DissolveZap

Wipe Transitions
WipeBlobs
WipeBubble
WipeCells
WipeChecker
WipeCircle
WipeClock
WipeClouds
WipeDiffuse
WipeDots
WipeDoubleWedge
WipeFlux
WipeFourWedges
WipeLine
WipePixelate
WipeRectangle
WipeRings
WipeStar
WipeStripes
WipeTiles
WipeWedge
WipePlasma
WipePointalize
WipeWeave
WipeMoire
SwishPan
Swish3D

Other Transitions
CardFlip
FilmRoll
FlutterCut
HyperPull
HyperPush
ParallaxStripsTransition
StripSlideTransition
SwishPan
Swish3D
TVChannelChange WhipLash