The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Fix non-contiguous audio waveform crash in video save (#12550)
Arthur R Longbottomaeb5bdc8f65f
diff --git a/comfy_api/latest/_input_impl/video_types.py b/comfy_api/latest/_input_impl/video_types.pyindex 3463ed1c9..a3d48c87f 100644--- a/comfy_api/latest/_input_impl/video_types.py+++ b/comfy_api/latest/_input_impl/video_types.py@@ -444,7 +444,7 @@ class VideoFromComponents(VideoInput):output.mux(packet)if audio_stream and self.__components.audio:- frame = av.AudioFrame.from_ndarray(waveform.float().cpu().numpy(), format='fltp', layout=layout)+ frame = av.AudioFrame.from_ndarray(waveform.float().cpu().contiguous().numpy(), format='fltp', layout=layout)frame.sample_rate = audio_sample_rateframe.pts = 0output.mux(audio_stream.encode(frame))