Skip to content
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

[bug] SAVE GIF #60

Closed
bytecann opened this issue Aug 10, 2023 · 3 comments
Closed

[bug] SAVE GIF #60

bytecann opened this issue Aug 10, 2023 · 3 comments
Labels
status: 🧹 needs triage This issue needs to triage, applied to new issues type: 🐛 bug Something isn't working

Comments

@bytecann
Copy link

Describe the bug

MTB-Deforum-test
At the end of running the 04-animation_builder-deforum.jsom example, I get this error message

Reproduction

No response

Expected behavior

I expected a GIF file to be saved in the output folder

Platform and versions

Windows 10

Console output

!!! Exception during processing !!!
Traceback (most recent call last):
  File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
  File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data
    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
  File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list
    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
  File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy_mtb\nodes\io.py", line 155, in save_gif
    process = subprocess.Popen(command, stdin=subprocess.PIPE)
  File "subprocess.py", line 971, in __init__
  File "subprocess.py", line 1440, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified

Prompt executed in 1.39 seconds

Additional context

No response

@bytecann bytecann added status: 🧹 needs triage This issue needs to triage, applied to new issues type: 🐛 bug Something isn't working labels Aug 10, 2023
@melMass
Copy link
Owner

melMass commented Aug 10, 2023

The version currently in main uses FFMPEG, so it's expected to be available on path. That said I'm switching method in #50 to avoid the need for ffmpeg!
It should be in the release tonight

@bytecann
Copy link
Author

Thank you… I fixed the issue by making sure FFmpeg was in the system path. It now works perfect.

@melMass
Copy link
Owner

melMass commented Aug 10, 2023

Nice, the reason for the switch from ffmpeg is mostly size and quality, results look better using PIL only

@melMass melMass closed this as completed Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: 🧹 needs triage This issue needs to triage, applied to new issues type: 🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants