첫번째
ffmpeg-8.0.1-full_build-shared.zip 파일을 다운로드 해서 > 내부의 bin 폴더의 내용물을 모두 > pythonEmbedded 폴더의 phyton.exe파일이 있는 위치에 복사해서 넣기.
오류 내용
ZonosGenerate
Failed to save audio to <_io.BytesIO object at 0x000001A2255B6340>: Couldn't allocate AVFormatContext. The destination file is <_io.BytesIO object at 0x000001A2255B6340>, check the desired extension? Invalid argument
두번째
ComfyUI\custom_nodes\ComfyUI-Zonos > Zonos.py 의 내용을 아래와 같이 수정.
370 line - 379 line (원본)
for (batch_number, waveform) in enumerate(sample_audio["waveform"].cpu()):
# Compute hash of audio content
audio_hash = self.hash_audio(waveform, sample_audio["sample_rate"])
buff = io.BytesIO()
torchaudio.save(buff, waveform, sample_audio["sample_rate"], format="WAV")
with open(wave_file_name, 'wb') as f:
f.write(buff.getbuffer())
hasAudio = True
break
아래 내용으로 완전히 교체
for (batch_number, waveform) in enumerate(sample_audio["waveform"].cpu()):
# Compute hash of audio content
audio_hash = self.hash_audio(waveform, sample_audio["sample_rate"])
torchaudio.save(wave_file_name, waveform, sample_audio["sample_rate"])
hasAudio = True
break
'3Dsoftware > Ai' 카테고리의 다른 글
| Griptape Run: Audio Transcription - 오류 해결 (0) | 2026.01.10 |
|---|---|
| Zonos Generate 오류 (0) | 2026.01.10 |
| Rtx 5090 - TRELLIS.2 설치 (0) | 2026.01.03 |
| Python 가상환경 세가지 방식 (venv vs embedded vs env) (0) | 2025.12.17 |
| RTX 5090 - Pytorch - Tensorflow (0) | 2025.12.17 |