-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RuntimeError: Unsupported file type: FLAC #46
Comments
可能你的ffmpeg的版本不同,没有flac的,不过不应该啊,应该都有的 |
非常恐怖,我单独跑Echomimic没问题,在comfyui里跑就有这个问题。 |
这是comfyUI标准的音频保存代码,你试试标准的音频保存节点能不能跑通 |
comfyUI自带了audio保存节点,你加载一个,然后用自带的连接上,看能不能保存 |
哦明白了,只放置这两个节点连起来,跑一下。我刚才做了,直接报错,还是这个问题: !!! Exception during processing!!! Unsupported file type: FLAC Traceback (most recent call last): |
你把那行代码里的 format="FLAC" 去掉试试,或者升级ffmgpeg 我没有测试Linux的系统。 |
我去了,报错说缺少参数format。然后我把FLAC小写,报了新错误: |
新的错误不是声音了,你用的什么硬件? |
|
Traceback (most recent call last):
File "/home/wanghao/work/数字人/ComfyUI/execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/home/wanghao/work/数字人/ComfyUI/execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/home/wanghao/work/数字人/ComfyUI/execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/home/wanghao/work/数字人/ComfyUI/custom_nodes/ComfyUI_EchoMimic/EchoMimic_node.py", line 675, in em_main
torchaudio.save(buff, audio["waveform"].squeeze(0), audio["sample_rate"], format="FLAC")
File "/home/wanghao/anaconda3/envs/test/lib/python3.10/site-packages/torchaudio/backend/sox_io_backend.py", line 417, in save
torchaudio.lib._torchaudio_sox.save_audio_fileobj(
RuntimeError: Unsupported file type: FLAC
这个问题是啥阿?怎么解决呢?
The text was updated successfully, but these errors were encountered: