OpenTalker / SadTalker

[CVPR 2023] SadTalker:Learning Realistic 3D Motion Coefficients for Stylized Audio-Driven Single Image Talking Face Animation
https://sadtalker.github.io/
Other
11.67k stars 2.17k forks source link

Help. i tried installing ffmpeg now my stable diffusion wont work #243

Open stts111 opened 1 year ago

stts111 commented 1 year ago

i tried installing ffmpeg and it said i had to change my path to setx /m PATH "C:\Users/user_name/ffmpeg\bin;%PATH%"

now when i launch stable diffusion i get this error

venv "C:\ai\stable-diffusion-webui\venv\Scripts\Python.exe" Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] Commit hash: Traceback (most recent call last): File "C:\ai\stable-diffusion-webui\launch.py", line 360, in prepare_environment() File "C:\ai\stable-diffusion-webui\launch.py", line 300, in prepare_environment git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash) File "C:\ai\stable-diffusion-webui\launch.py", line 151, in git_clone current_hash = run(f'"{git}" -C "{dir}" rev-parse HEAD', None, f"Couldn't determine {name}'s hash: {commithash}").strip() File "C:\ai\stable-diffusion-webui\launch.py", line 105, in run raise RuntimeError(message) RuntimeError: Couldn't determine Stable Diffusion's hash: 47b6b607fdd31875c9279cd2f4f16b92e4ea958e. Command: "git" -C "repositories\stable-diffusion-stability-ai" rev-parse HEAD Error code: 1 stdout: stderr: '"git"' is not recognized as an internal or external command, operable program or batch file.

Press any key to continue . . .

vinthony commented 1 year ago

I guess you have deleted the PATH by mistake.

try to reinstall the git https://git-scm.com/download/win

vinthony commented 1 year ago

It seems ffmpeg can be easily installed via scoop install ffmpeg, you may try it on Windows(https://scoop.sh/).

AndyCyberSec commented 11 months ago

I have the same issue, env variable is not deleted. I think it's more like once automatic1111 is started in python virtual environment it discards some Windows env var. In fact, if I stop automatic1111 and run ffmpeg command, the command is not found anymore.

Edit: Removed workaround instructions since they refer to another extension