Skip to content

xxx.mp4 could not be loaded with cv #73

@BookMaker123

Description

@BookMaker123

ComfyUI Error Report

Error Details

  • Node ID: 20
  • Node Type: DeepFuzeFaceSwap
  • Exception Type: ValueError
  • Exception Message: /app/ComfyUI/output/deepfuze/faceswap_17480787880635686.mp4 could not be loaded with cv.

Stack Trace

  File "/app/ComfyUI/execution.py", line 349, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/ComfyUI/execution.py", line 224, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/ComfyUI/execution.py", line 196, in _map_node_over_list
    process_inputs(input_dict, i)

  File "/app/ComfyUI/execution.py", line 185, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/ComfyUI/custom_nodes/ComfyUI-DeepFuze/nodes.py", line 928, in faceswampgenerate
    return load_video_cv(faceswap_filename,0,'Disabled',512,512,0,0,1)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/ComfyUI/custom_nodes/ComfyUI-DeepFuze/nodes.py", line 446, in load_video_cv
    (width, height, fps, duration, total_frames, target_frame_time) = next(gen)
                                                                      ^^^^^^^^^

  File "/app/ComfyUI/custom_nodes/ComfyUI-DeepFuze/nodes.py", line 365, in cv_frame_generator
    raise ValueError(f"{video} could not be loaded with cv.")

System Information

  • ComfyUI Version: 0.3.34
  • Arguments: main.py --disable-metadata --listen 0.0.0.0 --port 8188
  • OS: posix
  • Python Version: 3.11.12 | packaged by conda-forge | (main, Apr 10 2025, 22:23:25) [GCC 13.3.0]
  • Embedded Python: false
  • PyTorch Version: 2.7.0+cu128

Devices

How to solve this problem in Linux system?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions