sdbds / magic-animate-for-windows

MagicAnimate: Temporally Consistent Human Image Animation using Diffusion Model
https://showlab.github.io/magicanimate/
BSD 3-Clause "New" or "Revised" License
320 stars 27 forks source link

尝试使用run_VidControlnetAux_gui和本体的时候都出现了同样的报错,秒错。无法使用 #7

Closed YikaPanic closed 11 months ago

YikaPanic commented 11 months ago

This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run gradio deploy from Terminal to deploy to Spaces (https://huggingface.co/spaces) Traceback (most recent call last): File "E:\Stable-Diffusion\animation\magic-animate-for-windows\venv\Lib\site-packages\gradio\queueing.py", line 456, in call_prediction output = await route_utils.call_process_api( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\Stable-Diffusion\animation\magic-animate-for-windows\venv\Lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\Stable-Diffusion\animation\magic-animate-for-windows\venv\Lib\site-packages\gradio\blocks.py", line 1520, in process_api inputs = self.preprocess_data(fn_index, inputs, state) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\Stable-Diffusion\animation\magic-animate-for-windows\venv\Lib\site-packages\gradio\blocks.py", line 1303, in preprocess_data processed_input.append(block.preprocess(inputs_cached)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\Stable-Diffusion\animation\magic-animate-for-windows\venv\Lib\site-packages\gradio\components\video.py", line 168, in preprocess duration = processing_utils.get_video_length(file_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\Stable-Diffusion\animation\magic-animate-for-windows\venv\Lib\site-packages\gradio\processing_utils.py", line 725, in get_video_length duration = subprocess.check_output( ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\subprocess.py", line 466, in check_output return run(popenargs, stdout=PIPE, timeout=timeout, check=True, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\subprocess.py", line 548, in run with Popen(popenargs, kwargs) as process: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\subprocess.py", line 1026, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Python311\Lib\subprocess.py", line 1538, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [WinError 2] 系统找不到指定的文件。 Traceback (most recent call last): File "E:\Stable-Diffusion\animation\magic-animate-for-windows\venv\Lib\site-packages\gradio\queueing.py", line 456, in call_prediction output = await route_utils.call_process_api( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\Stable-Diffusion\animation\magic-animate-for-windows\venv\Lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\Stable-Diffusion\animation\magic-animate-for-windows\venv\Lib\site-packages\gradio\blocks.py", line 1520, in process_api inputs = self.preprocess_data(fn_index, inputs, state) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\Stable-Diffusion\animation\magic-animate-for-windows\venv\Lib\site-packages\gradio\blocks.py", line 1303, in preprocess_data processed_input.append(block.preprocess(inputs_cached)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\Stable-Diffusion\animation\magic-animate-for-windows\venv\Lib\site-packages\gradio\components\video.py", line 168, in preprocess duration = processing_utils.get_video_length(file_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\Stable-Diffusion\animation\magic-animate-for-windows\venv\Lib\site-packages\gradio\processing_utils.py", line 725, in get_video_length duration = subprocess.check_output( ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\subprocess.py", line 466, in check_output return run(popenargs, stdout=PIPE, timeout=timeout, check=True, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\subprocess.py", line 548, in run with Popen(popenargs, kwargs) as process: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\subprocess.py", line 1026, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Python311\Lib\subprocess.py", line 1538, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [WinError 2] 系统找不到指定的文件。

YikaPanic commented 11 months ago

问题解决了,是因为没有安装ffmpeg