Kosinkadink / ComfyUI-VideoHelperSuite

Nodes related to video workflows
GNU General Public License v3.0
522 stars 92 forks source link

meta batch + video combine fails #276

Open dskill opened 3 weeks ago

dskill commented 3 weeks ago

I figured out how to use meta batch to load larger videos and process them in sections, which is great. However, when I use meta batch, the video combine node always generates videos of 0 bytes, and I get an error at the very end of my job (after all the meta batches have processed).

Right now I've added an additional Save Image node so that I can just manually stitch the final frames together as a workaround.

Here is the error:

!!! Exception during processing!!! 'gifs'
Traceback (most recent call last):
  File "c:\src\ComfyUI\execution.py", line 152, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\src\ComfyUI\execution.py", line 109, in get_output_data
    ui = {k: [y for x in uis for y in x[k]] for k in uis[0].keys()}
                                      ~^^^
KeyError: 'gifs'
rocky533 commented 3 weeks ago

Meta batch will generate nothing in video combine until the end of a run of all batches.

2nd. ummm gifs... i dont know the error TBH. But save a MP4. Not gif for batches it does not work with them. I dont think it works for any animated image format. Use MP4

dskill commented 3 weeks ago

Yeah i was actually using MP4 (h264) so i'm not sure why this message is complaining about gifs. Maybe if you use meta batch it ignores the settings you have in the video combine node or something like that?

On Tue, Aug 20, 2024 at 7:41 PM rocky533 @.***> wrote:

Meta batch will generate nothing in video combine until the end of a run of all batches.

2nd. ummm gifs... i dont know the error TBH. But save a MP4. Not gif for batches it does not work with them. I dont think it works for any animated image format. Use MP4

— Reply to this email directly, view it on GitHub https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite/issues/276#issuecomment-2300367720, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFLVAU3EFPMCPOAKO5QFU3ZSP45BAVCNFSM6AAAAABMVZCQMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBQGM3DONZSGA . You are receiving this because you authored the thread.Message ID: @.***>