-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error occurred when executing VHS_VideoCombine: An error occured in the ffmpeg subprocess #267
Comments
Most likely related a result of an old system version of ffmpeg installed. Will likely be fixed by
The whole_dur option was added about 2 months ago as a workaround to a bug in ffmpeg 7.0. While this bug appears to be fixed in the newest versions of ffmpeg, I'm reluctant to remove this workaround as I expect people will have the bugged version of ffmpeg installed. |
My ffmpeg is already up to date, but I am still encountering errors. The workflow runs successfully, and the output video files do appear in the output folder. However, they cannot be previewed in the ComfyUI interface. Additionally, there are three output files: one PNG image and two MP4 files. One of the MP4 files, which contains audio, is empty, while the other MP4 file without audio is intact. I suspect that the error originates from the audio file output. |
Of the two images uploaded, I am only able to view the first which shows an ffmpeg version of 3.4. FFmepg 3.4 was released 7 years ago. The oldeest version of ffmpeg which is actively tested against is version 4.2.2, which was released 5 years ago. |
I am now very sure that it is an audio problem, as an error message appears when I connect the audio. |
got prompt Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Error occurred when executing VHS_VideoCombine:
An error occured in the ffmpeg subprocess:
[Parsed_apad_0 @ 0x55637e7820a0] Option 'whole_dur' not found
[AVFilterGraph @ 0x55637e77d2c0] Error initializing filter 'apad' with args 'whole_dur=6.875'
Error reinitializing filters!
Failed to inject frame into filter network: Option not found
Error while processing the decoded data for stream #1:0
File "/comfyui/execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/comfyui/execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/comfyui/execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/comfyui/custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/nodes.py", line 546, in combine_video
raise Exception("An error occured in the ffmpeg subprocess:\n" \
The text was updated successfully, but these errors were encountered: