🔥VideoFlip
Mirror a video in one click
- video_complete_path
VideoFlip mirrors a video - horizontal, vertical, or both. That's the entire job, and it's the thinnest node in the pack along with VideoPlayback. So why does it exist in a ComfyUI context? Because flipping is a surprisingly common need in AI video work: mirroring a clip to fix a left-facing character, flipping a generated video to reuse a camera move, or the classic "flip it so it doesn't look like the exact same render as everyone else's" trick. If you've ever stared at a Wan or AnimateDiff clip and thought "this would be perfect if it faced the other way," this is your node.
How it works
One FFmpeg call with a -vf filter, no re-encode tomfoolery: hflip for horizontal, vflip for vertical, and hflip,vflip for both (which is a 180° rotation). The result gets written to your output_path with a timestamp-based filename, so your original is never touched and consecutive runs stack up as separate files.
The inputs that matter
There are three, and you'll touch exactly two:
- video_path - the input clip.
- flip_type -
horizontal,vertical, orboth. Default horizontal. - output_path - pre-existing directory. Yes, you have to create it yourself; that's a pack-wide convention and the node will error with
output_path is not a directoryif you don't.
Outputs
A single video_complete_path string with the location of your flipped file. Nothing else - no preview node, no frame-rate passthrough info. It's a fire-and-forget utility.
Install
Identical to the rest of the pack, so let's make it quick: FFmpeg must be on your PATH (the whole pack is FFmpeg wrappers and its requirements.txt is one line - pathlib). Install through ComfyUI Manager by searching "ComfyUI-FFmpeg", or:
cd ComfyUI/custom_nodes
git clone https://github.com/MoonHugo/ComfyUI-FFmpeg
cd ComfyUI-FFmpeg
pip install -r requirements.txt
Restart ComfyUI and the node shows up under the 🔥FFmpeg category.
Gotchas
- This re-encodes the video (the flip filter forces it), so the output is a fresh encode, not a lossless copy of the original. Quality is fine at FFmpeg defaults, but don't expect a byte-identical stream.
- Flipping is not the same as rotating.
bothis a 180° rotation; it will not turn a landscape video into portrait. If you're trying to reorient 90°, this isn't the node. - Timestamped output names mean you can accumulate files fast if you're iterating. Cleanup is on you.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| video_path | STRING | C:/Users/Desktop/video.mp4 | — |
| output_path | STRING | C:/Users/Desktop/output | — |
| flip_type | COMBO | horizontal | 3 options: horizontal, vertical, both |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| video_complete_path | STRING | — |