Flex Video Direction β‘π ‘π π £π
Let a reactive signal decide when a clip plays forward or backward
- images
- opt_feature
- IMAGE
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
IMAGEbatch.
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.
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| strength | FLOAT | 1.000β1 | Overall strength of the effect (0.0 to 2.0) |
| feature_threshold | FLOAT | 0.000β1 | Minimum feature value to apply the effect (0.0 to 1.0) |
| feature_param | COMBO | Parameter to be modulated by the feature | |
| feature_mode | COMBO | relative | How the feature modulates the parameter ('relative' or 'absolute') |
| images | IMAGE | Input video frames (IMAGE type) | |
| opt_featureopt | FEATURE | Optional 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)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | β |