Skip to content

An error occurred in the "Video Combine 馃帴馃叆馃厳馃參" node. While loading images individually was successful, attempting to load audio failed.#601

Description

@3272118850

Audio embedding for subject 0 not long enough: 2717, need 2745, padding...
Padding length: 31
Sampling audio indices 2664-2745: 100%|鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 2/2 [00:23<00:00, 11.89s/it]
Allocated memory: memory=1.173 GB
Max allocated memory: max_memory=24.165 GB
Max reserved memory: max_reserved=26.250 GB
end_vram - start_vram: 1259731024 - 18224128 = 1241506896
#954 [WanVideoSampler]: 1067.40s - vram 1241506896b
end_vram - start_vram: 59511808 - 59511808 = 0
#150 [WanVideoDecode]: 14.95s - vram 0b
end_vram - start_vram: 59511808 - 59511808 = 0
#979 [ImageFromBatch]: 20.23s - vram 0b
!!! Exception during processing !!! An error occured in the ffmpeg subprocess:
[aac @ 000001ac9b3afa80] Input contains (near) NaN/+-Inf
[aost#0:1/aac @ 000001ac9b3af300] [enc:aac @ 000001ac9b2cc740] Error submitting audio frame to the encoder
[aost#0:1/aac @ 000001ac9b3af300] [enc:aac @ 000001ac9b2cc740] Error encoding a frame: Invalid argument
[aost#0:1/aac @ 000001ac9b3af300] Task finished with error code: -22 (Invalid argument)
[aost#0:1/aac @ 000001ac9b3af300] Terminating thread with return code -22 (Invalid argument)

Traceback (most recent call last):
File "D:\ComfyUI\zuixin\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite\videohelpersuite\nodes.py", line 597, in combine_video
res = subprocess.run(mux_args, input=audio_data,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI\zuixin\python\Lib\subprocess.py", line 573, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\ffmpeg\bin\ffmpeg.EXE', '-v', 'error', '-n', '-i', 'D:\ComfyUI\zuixin\ComfyUI\temp\AnimateDiff_00001.mp4', '-ar', '24000', '-ac', '1', '-f', 'f32le', '-i', '-', '-c:v', 'copy', '-c:a', 'aac', '-af', 'apad=whole_dur=110.0', '-shortest', 'D:\ComfyUI\zuixin\ComfyUI\temp\AnimateDiff_00001-audio.mp4']' returned non-zero exit status 4294967274.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\ComfyUI\zuixin\ComfyUI\execution.py", line 510, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI\zuixin\ComfyUI\execution.py", line 324, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI\zuixin\ComfyUI\execution.py", line 298, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "D:\ComfyUI\zuixin\ComfyUI\execution.py", line 286, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "D:\ComfyUI\zuixin\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite\videohelpersuite\nodes.py", line 600, in combine_video
raise Exception("An error occured in the ffmpeg subprocess:\n"
Exception: An error occured in the ffmpeg subprocess:
[aac @ 000001ac9b3afa80] Input contains (near) NaN/+-Inf
[aost#0:1/aac @ 000001ac9b3af300] [enc:aac @ 000001ac9b2cc740] Error submitting audio frame to the encoder
[aost#0:1/aac @ 000001ac9b3af300] [enc:aac @ 000001ac9b2cc740] Error encoding a frame: Invalid argument
[aost#0:1/aac @ 000001ac9b3af300] Task finished with error code: -22 (Invalid argument)
[aost#0:1/aac @ 000001ac9b3af300] Terminating thread with return code -22 (Invalid argument)

end_vram - start_vram: 59511808 - 59511808 = 0
#1049 [VHS_VideoCombine]: 37.40s - vram 0b
Prompt executed in 00:20:07

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