Skip to content

Commit 5acb705

Browse files
Switch LTXVPreprocess to libx264 (Comfy-Org#7776)
1 parent 5c80da3 commit 5acb705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comfy_extras/nodes_lt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ def encode_single_frame(output_file, image_array: np.ndarray, crf):
385385
container = av.open(output_file, "w", format="mp4")
386386
try:
387387
stream = container.add_stream(
388-
"h264", rate=1, options={"crf": str(crf), "preset": "veryfast"}
388+
"libx264", rate=1, options={"crf": str(crf), "preset": "veryfast"}
389389
)
390390
stream.height = image_array.shape[0]
391391
stream.width = image_array.shape[1]

0 commit comments

Comments
 (0)