SpenserCai / sd-webui-deoldify

DeOldify for Stable Diffusion WebUI:This is an extension for StableDiffusion's AUTOMATIC1111 web-ui that allows colorize of old photos and old video. It is based on deoldify.
GNU Affero General Public License v3.0
628 stars 29 forks source link

cant run it, gives this error #57

Open revolverocelot1 opened 6 months ago

revolverocelot1 commented 6 months ago

ERROR:root:Errror while extracting raw frames from source video. Details: [WinError 2] The system cannot find the file specified Traceback (most recent call last): File "D:\New folder\sd\stable-diffusion-webui\extensions\sd-webui-deoldify\deoldify\visualize.py", line 251, in _extract_raw_frames process.run() File "D:\New folder\sd\stable-diffusion-webui\venv\lib\site-packages\ffmpeg_run.py", line 313, in run process = run_async( File "D:\New folder\sd\stable-diffusion-webui\venv\lib\site-packages\ffmpeg_run.py", line 284, in run_async return subprocess.Popen( File "C:\Users\ASUS TUF GAMING\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 969, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\ASUS TUF GAMING\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1438, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified Errror while extracting raw frames from source video. Details: [WinError 2] The system cannot find the file specified Traceback (most recent call last): File "D:\New folder\sd\stable-diffusion-webui\extensions\sd-webui-deoldify\deoldify\visualize.py", line 251, in _extract_raw_frames process.run() File "D:\New folder\sd\stable-diffusion-webui\venv\lib\site-packages\ffmpeg_run.py", line 313, in run process = run_async( File "D:\New folder\sd\stable-diffusion-webui\venv\lib\site-packages\ffmpeg_run.py", line 284, in run_async return subprocess.Popen( File "C:\Users\ASUS TUF GAMING\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 969, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\ASUS TUF GAMING\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1438, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified Traceback (most recent call last): File "D:\New folder\sd\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict output = await app.get_blocks().process_api( File "D:\New folder\sd\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1431, in process_api result = await self.call_function( File "D:\New folder\sd\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1103, in call_function prediction = await anyio.to_thread.run_sync( File "D:\New folder\sd\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "D:\New folder\sd\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "D:\New folder\sd\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 807, in run result = context.run(func, args) File "D:\New folder\sd\stable-diffusion-webui\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper response = f(args, **kwargs) File "D:\New folder\sd\stable-diffusion-webui\extensions\sd-webui-deoldify\scripts\ui_deoldify.py", line 28, in process_image out_video = colorizer.colorize_from_file_name(video_name, render_factor=render_factor,g_process_bar=process) File "D:\New folder\sd\stable-diffusion-webui\extensions\sd-webui-deoldify\deoldify\visualize.py", line 372, in colorize_from_file_name return self._colorize_from_path( File "D:\New folder\sd\stable-diffusion-webui\extensions\sd-webui-deoldify\deoldify\visualize.py", line 384, in _colorize_from_path self._extract_raw_frames(source_path) File "D:\New folder\sd\stable-diffusion-webui\extensions\sd-webui-deoldify\deoldify\visualize.py", line 259, in _extract_raw_frames raise e File "D:\New folder\sd\stable-diffusion-webui\extensions\sd-webui-deoldify\deoldify\visualize.py", line 251, in _extract_raw_frames process.run() File "D:\New folder\sd\stable-diffusion-webui\venv\lib\site-packages\ffmpeg_run.py", line 313, in run process = run_async( File "D:\New folder\sd\stable-diffusion-webui\venv\lib\site-packages\ffmpeg_run.py", line 284, in run_async return subprocess.Popen( File "C:\Users\ASUS TUF GAMING\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 969, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\ASUS TUF GAMING\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1438, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified

mehmeow12 commented 4 months ago

Maybe you can try this solution: https://github.com/SpenserCai/sd-webui-deoldify/issues/41#issuecomment-2061842770