🎬 Advanced Video Load (OreX)
Get a video into ComfyUI with the audio you actually want
- new_audio
- video
If you've ever tried to feed a video into a ComfyUI video workflow - V2V, frame-by-frame processing, SCAIL-style motion driving - you know the loader situation is thin. Advanced Video Load (OreX) is the pack's entry for the "I have a real video file and I want it as a VIDEO tensor, with the right soundtrack" problem. It's aimed at the newer generation of ComfyUI video workflows that consume a VIDEO type, and it brings an ffmpeg-based audio toolchain along for the ride.
How it works
Give it video_path (an absolute path, or a relative path resolved against the input folder) and it locates the file, then uses ffmpeg to mux it into a temp file that ComfyUI wraps as a VIDEO object. The interesting part is audio_mode, which controls what happens to the soundtrack - and there are three real choices:
- Mute Original (Fast) - strips audio with a stream copy, no re-encode. Instant.
- Replace (Fast) - takes
new_audio(from an OreX Audio Load or any AUDIO node), writes it to a temp WAV, and muxes it over the original video stream. Video is stream-copied, so it's fast. - Mix Audio (Re-encode audio) - mixes the original track (at
orig_vol) with your new track (atnew_vol) through an ffmpeg amix filter. This is the slow one because the audio is re-encoded.
So the node doubles as a lightweight audio-replacement tool: load a video, load a music track, mix them, and feed the result into whatever video generation node comes next - all inside the graph, no external editor needed.
Inputs and outputs
video_path- the file. The pack also registers a chunked-upload endpoint, so the JS frontend can upload large files in pieces and drop the full path into the field.audio_mode- one of the three modes above.orig_vol/new_vol- volume for the original and replacement audio (0–2, defaults 1.0), used in Mix mode.new_audio(optional) - an AUDIO input for Replace/Mix.
Output: a single video output of type VIDEO, which feeds the video-native workflows in modern ComfyUI.
Install and real dependencies
Standard pack install (Manager, search "comfyui-OreX", or git clone https://github.com/orex2121/comfyui-OreX), but this node needs two things beyond the pack: an ffmpeg binary on your PATH (or it falls back to imageio_ffmpeg's bundled copy if that's installed), and soundfile, which the pack's requirements.txt does install. If it errors with an ffmpeg message, that's your missing link, not the node.
Where people get tripped up
The VIDEO output type only means something to ComfyUI versions and workflows that actually consume VIDEO - if your workflow expects a plain IMAGE batch of frames, this output won't connect. In that case you want a frame-extracting loader instead. And note Replace mode with no new_audio connected silently copies the original soundtrack, which is a reasonable default but easy to misread as "audio got dropped."
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| video_path | STRING | — | |
| audio_mode | COMBO | 3 options: Replace (Fast), Mute Original (Fast), Mix Audio (Re-encode audio) | |
| orig_vol | FLOAT | 1.00–2 | — |
| new_vol | FLOAT | 1.00–2 | — |
| new_audioopt | AUDIO | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| video | VIDEO | — |