ffmpeg已经重装过了 文件位置也没问题 [WinError 2] 系统找不到指定的文件。
aigcchumen opened this issue · 8 comments
error occurred when executing Echo_Sampler:
[WinError 2] 系统找不到指定的文件。
File "F:\ComfyUI\ComfyUI-aki-v1.3\ComfyUI-aki-EchoMimic\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "F:\ComfyUI\ComfyUI-aki-v1.3\ComfyUI-aki-EchoMimic\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "F:\ComfyUI\ComfyUI-aki-v1.3\ComfyUI-aki-EchoMimic\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "F:\ComfyUI\ComfyUI-aki-v1.3\ComfyUI-aki-EchoMimic\custom_nodes\ComfyUI_EchoMimic\EchoMimic_node.py", line 463, in em_main
output_video = process_video(image, audio_file, width, height, length, seeds, facemask_ratio,
File "F:\ComfyUI\ComfyUI-aki-v1.3\ComfyUI-aki-EchoMimic\custom_nodes\ComfyUI_EchoMimic\EchoMimic_node.py", line 163, in process_video
video = pipe(
File "F:\ComfyUI\ComfyUI-aki-v1.3\ComfyUI-aki-EchoMimic\python\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "F:\ComfyUI\ComfyUI-aki-v1.3\ComfyUI-aki-EchoMimic\custom_nodes\ComfyUI_EchoMimic\src\pipelines\pipeline_echo_mimic_pose.py", line 434, in call
whisper_feature = self.audio_guider.audio2feat(audio_path)
File "F:\ComfyUI\ComfyUI-aki-v1.3\ComfyUI-aki-EchoMimic\custom_nodes\ComfyUI_EchoMimic\src\models\whisper\audio2feature.py", line 100, in audio2feat
result = self.model.transcribe(audio_path)
File "F:\ComfyUI\ComfyUI-aki-v1.3\ComfyUI-aki-EchoMimic\custom_nodes\ComfyUI_EchoMimic\src\models\whisper\whisper\transcribe.py", line 85, in transcribe
mel = log_mel_spectrogram(audio)
File "F:\ComfyUI\ComfyUI-aki-v1.3\ComfyUI-aki-EchoMimic\custom_nodes\ComfyUI_EchoMimic\src\models\whisper\whisper\audio.py", line 111, in log_mel_spectrogram
audio = load_audio(audio)
File "F:\ComfyUI\ComfyUI-aki-v1.3\ComfyUI-aki-EchoMimic\custom_nodes\ComfyUI_EchoMimic\src\models\whisper\whisper\audio.py", line 42, in load_audio
ffmpeg.input(file, threads=0)
File "F:\ComfyUI\ComfyUI-aki-v1.3\ComfyUI-aki-EchoMimic\python\lib\site-packages\ffmpeg_run.py", line 313, in run
process = run_async(
File "F:\ComfyUI\ComfyUI-aki-v1.3\ComfyUI-aki-EchoMimic\python\lib\site-packages\ffmpeg_run.py", line 284, in run_async
return subprocess.Popen(
File "", line 217, in sentry_patched_popen_init
File "F:\ComfyUI\ComfyUI-aki-v1.3\ComfyUI-aki-EchoMimic\python\lib\subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "F:\ComfyUI\ComfyUI-aki-v1.3\ComfyUI-aki-EchoMimic\python\lib\subprocess.py", line 1456, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
我说明文件说得很清楚了,VH的音频转换有ffmpeg冲突,无法使用VH的音频合成,建议使用内置的音频合成就好,用VH就是为了看个图方便而已。
除了这个ffmpeg-python ,你还有没有装exe版本的ffmpeg?因为要进系统路径,至于ffmpeg的系统路径如何加入,你可以看我其他的报错信息,有类似的解决办法。
same issue here
最新版本,同样的问题,试过所有issues内的方法未解决
出现这个问题的基本上都是秋叶包,如果是其他能自己pip装库的comfyUI,如果用不了基本上可以按以下流程安装:
先
pip uninstall torchaudio torchvision torch xformers ffmpeg
再
pip install torch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 --index-url https://download.pytorch.org/whl/cu121
pip install xformers==0.0.24
pip install facenet_pytorch ffmpeg-python moviepy av
xformers0.024太难装了。