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
652 stars 32 forks source link

video colorization not working #32

Closed TechHalloman closed 1 year ago

TechHalloman commented 1 year ago

File "C:\PORTABLE\sd.webui\system\python\lib\site-packages\ffmpeg_run.py", line 313, in run process = run_async( File "C:\PORTABLE\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 INFO:httpx: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/api/predict "HTTP/1.1 500 Internal Server Error" INFO:httpx:HTTP Request: POST http://127.0.0.1:7860/reset "HTTP/1.1 200 OK" HTTP Request: POST http://127.0.0.1:7860/reset "HTTP/1.1 200 OK"

SpenserCai commented 1 year ago

you need install ffmpeg and set to PATH,if you use conda you need install it in conda

TechHalloman commented 1 year ago

ffmpeg installed with path and latest anaconda installed . i used windows 11

photo colorizatin done . but video colorization not working

self._extract_raw_frames(source_path)

File "C:\PORTABLE\sd.webui\webui\extensions\sd-webui-deoldify\deoldify\visualize.py", line 259, in _extract_raw_frames raise e File "C:\PORTABLE\sd.webui\webui\extensions\sd-webui-deoldify\deoldify\visualize.py", line 251, in _extract_raw_frames process.run() File "C:\PORTABLE\sd.webui\system\python\lib\site-packages\ffmpeg_run.py", line 313, in run process = run_async( File "C:\PORTABLE\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 INFO:httpx: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/api/predict "HTTP/1.1 500 Internal Server Error" INFO:httpx:HTTP Request: POST http://127.0.0.1:7860/reset "HTTP/1.1 200 OK" HTTP Request: POST http://127.0.0.1:7860/reset "HTTP/1.1 200 OK"

SpenserCai commented 1 year ago

If you use conda, make sure that ffmpeg is installed in conda, you can enter the command ffmpeg -h after switching to conda in the command interface to see if it takes effect in conda.

TechHalloman commented 1 year ago

ok reinstalled conda . working. GPU used but very slow working

SpenserCai commented 1 year ago

If you install the latest version of sd-webui-deoldify, then this speed is normal. I remember that it takes 1.5-2 hours to colour the 30-minute old video.