sd-webui-deoldify icon indicating copy to clipboard operation
sd-webui-deoldify copied to clipboard

FileNotFoundError: [WinError 2] The system cannot find the file specified

Open ell28 opened this issue 2 years ago • 4 comments

Got this error line on video deoldifying

HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 500 Internal Server Error" HTTP Request: POST http://127.0.0.1:7860/reset "HTTP/1.1 200 OK" 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:\Machine Learning\sd.webui\webui\extensions\sd-webui-deoldify\deoldify\visualize.py", line 251, in _extract_raw_frames process.run() File "D:\Machine Learning\sd.webui\system\python\lib\site-packages\ffmpeg_run.py", line 313, in run process = run_async( File "D:\Machine Learning\sd.webui\system\python\lib\site-packages\ffmpeg_run.py", line 284, in run_async return subprocess.Popen( File "subprocess.py", line 969, in init File "subprocess.py", line 1438, in _execute_child FileNotFoundError: [WinError 2] The system cannot find the file specified image image

ell28 avatar Oct 22 '23 08:10 ell28

Where do i should put the source video?

ell28 avatar Oct 22 '23 09:10 ell28

The problem is not the source video, but the fact that is unable to find "ffmpeg.exe" in your path. Put for example a copy of ffmpeg.exe in "sd.webui\system\python".

dan64 avatar Nov 10 '23 23:11 dan64

The problem is not the source video, but the fact that is unable to find "ffmpeg.exe" in your path. Put for example a copy of ffmpeg.exe in "sd.webui\system\python".

Thank you!!! In my case it worked after I copy all 3 files do python folder: ffmpeg.exe, ffplay.exe and ffprobe.exe.

mehmeow12 avatar Apr 17 '24 17:04 mehmeow12

ffmpeg is in my path, anyways, can't seem to find "sd.webui\system\python". Where is it? It doesn't seem to be in my file system

mojontwins avatar Aug 13 '24 05:08 mojontwins