Comfy-Org/ComfyUI · error · ValueError

Reference video {i} is {ref_fps:.2f} FPS. Supported range is

Error message

Reference video {i} is {ref_fps:.2f} FPS. Supported range is 23.976-60 FPS.

What it means

Error "Reference video {i} is {ref_fps:.2f} FPS. Supported range is 23.976-60 FPS." thrown in Comfy-Org/ComfyUI.

Source

Thrown at comfy_api_nodes/nodes_minimax.py:1413

        total_video_duration = 0.0
        for i, ref_video in enumerate(reference_videos.values(), 1):
            try:
                ref_fps = float(ref_video.get_frame_rate())
            except Exception:
                ref_fps = 0.0
            if ref_fps and not (23.9 <= ref_fps <= 60.5):
                raise ValueError(f"Reference video {i} is {ref_fps:.2f} FPS. Supported range is 23.976-60 FPS.")
            try:
                dur = ref_video.get_duration()
            except Exception:

View on GitHub (pinned to 1c6d8d45b3)

Solutions

  1. Use a reference video with a frame rate between 23.976 and 60 FPS.

When it happens

Trigger: Thrown at comfy_api_nodes/nodes_minimax.py:1413 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of Comfy-Org/ComfyUI@1c6d8d45b3 (2026-08-14). Data as JSON: /api/errors/d0e516943f6c8323. Report an issue: GitHub.