ComfyUI-LTXVideo
ComfyUI-LTXVideo copied to clipboard
LTXVPreprocess libx264
Every LTX workflow I have tried ends up with the same error.
!!! Exception during processing !!! libx264
Traceback (most recent call last):
File "/workspace/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 "/workspace/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 "/workspace/ComfyUI/execution.py", line 196, in _map_node_over_list
process_inputs(input_dict, i)
File "/workspace/ComfyUI/execution.py", line 185, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/ComfyUI/comfy_extras/nodes_lt.py", line 461, in preprocess
output_images.append(preprocess(image[i], img_compression))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/ComfyUI/comfy_extras/nodes_lt.py", line 427, in preprocess
encode_single_frame(output_file, image_array, crf)
File "/workspace/ComfyUI/comfy_extras/nodes_lt.py", line 397, in encode_single_frame
stream = container.add_stream(
^^^^^^^^^^^^^^^^^^^^^
File "av/container/output.pyx", line 61, in av.container.output.OutputContainer.add_stream
File "av/codec/codec.pyx", line 102, in av.codec.codec.Codec.__cinit__
File "av/codec/codec.pyx", line 110, in av.codec.codec.Codec._init
av.codec.codec.UnknownCodecError: libx264
I have tried the 0.9.7 models, both base and quantized. I have the Q8 kernel module installed. I am not sure where I got my text encoders from, but I have placed two different ones in an LTX subdirectory. They have their native names, so I do not know if it is a t5xx encoder or not. From the OS side, I have ffmpeg and libx264-dev packages installed. From the Python side, I have av installed. So I am not totally sure what is causing the error. If there is something I should look at, please let me know.
switched ninja version