Nodes/RyanOnTheInside/Flex Video Direction βš‘πŸ…‘πŸ…žπŸ…£πŸ…˜
ComfyUI Node

Flex Video Direction βš‘πŸ…‘πŸ…žπŸ…£πŸ…˜

Let a reactive signal decide when a clip plays forward or backward

By ryanontheinsideΒ·Created 2 years agoΒ·Updated 5 months agoΒ· 852
Flex Video Direction βš‘πŸ…‘πŸ…žπŸ…£πŸ…˜
  • images
  • opt_feature
  • IMAGE
β—„strength1.00β–Ί
β—„feature_threshold0.00β–Ί
β—„feature_paramβ–Ύβ–Ί
β—„feature_moderelativeβ–Ί

Most of this pack's video nodes give you a manual control and let a FEATURE nudge it on top. Flex Video Direction is different, and worth knowing before you drop it in a graph: its feature_param has exactly one option, direction, with no None to fall back on. That means, unlike almost every other Flex node in this pack, connecting opt_feature isn't optional polish here - it's the entire mechanism. There's no static forward/backward toggle in the required inputs at all.

How it works

Feed it your images sequence and a FEATURE signal, and the feature's value at each frame determines whether playback runs forward or backward at that point - high values one direction, low values the other, is the natural reading of a signal driving a binary-ish "direction" parameter. strength scales how dramatic the effect is, and feature_threshold sets the minimum feature value before direction-flipping kicks in at all, so a quiet section of your driving signal can leave playback running forward undisturbed. If you want a video that plays backward on the loud parts of a track and forward everywhere else - a genuinely "reactive scrubbing" effect rather than a plain reverse - this is the node built for exactly that, and it needs the feature input to do anything.

Inputs and outputs that matter

  • images (required, IMAGE) - your video frames.
  • strength (default 1, 0–1 per the widget, tooltip notes up to 2.0 for the effect) - overall intensity.
  • feature_threshold (default 0, 0–1) - minimum feature value before direction-switching applies.
  • opt_feature (required in practice, FEATURE) - the signal that actually determines direction; without it, there's no static equivalent exposed on this node.
  • Output - a single IMAGE batch.

Installing it

Via ComfyUI Manager: search "RyanOnTheInside," install, restart. Manually:

cd ComfyUI/custom_nodes
git clone https://github.com/ryanontheinside/ComfyUI_RyanOnTheInside.git
cd ComfyUI_RyanOnTheInside
pip install -r requirements.txt

then restart. No model weights - it's frame reordering driven by your feature curve.

Common issues & troubleshooting

Nothing happens without a feature connected. That matches the schema - this isn't a bug, it's the node's whole design. If you want a plain, unconditional reverse instead of reactive direction-switching, use FlexVideoSeek's reverse toggle instead; that one has an explicit static control this node doesn't.

Direction flips feel erratic. A noisy, unsmoothed feature will produce jumpy, rapid direction switches that read as glitchy rather than intentional. Smooth the driving feature upstream, or raise feature_threshold, if you want fewer, more deliberate flips instead of constant back-and-forth.

Quiet sections of the source signal don't trigger a reverse. That's feature_threshold doing its job - it's a gate, not just a sensitivity dial. Lower it if you want subtler signal changes to still flip direction.

CategoryRyanOnTheInside/FlexFeatures/Targets/Video

Inputs (6)

NameTypeDefaultDescription
strengthFLOAT1.000–1Overall strength of the effect (0.0 to 2.0)
feature_thresholdFLOAT0.000–1Minimum feature value to apply the effect (0.0 to 1.0)
feature_paramCOMBOParameter to be modulated by the feature
feature_modeCOMBOrelativeHow the feature modulates the parameter ('relative' or 'absolute')
imagesIMAGEInput video frames (IMAGE type)
opt_featureoptFEATUREOptional feature input for modulation Connect any feature node here to control the effect. Features can come from audio, motion, color, or other sources.

Outputs (1)

NameTypeDescription
IMAGEIMAGEβ€”