numz / sd-wav2lip-uhq

Wav2Lip UHQ extension for Automatic1111
Apache License 2.0
1.23k stars 163 forks source link

FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg ... #4

Closed RONNYKHALIL closed 1 year ago

RONNYKHALIL commented 1 year ago

HI. Thanks so much for implementing this in A1111.

I'm running in Paperspace and confirmed FFmpeg -version: "ffmpeg version 4.2.7-0ubuntu0.1"

However I keep getting this error: FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg -y -i /tmp/gradio/5aeb60fa9989b9e4f701c6358b152a2d62947b62/21028_Infiniti_WildWorld-AIRedux_071823_RK.wav -i /notebooks/sd/stable-diffusion-webui/extensions/sd-wav2lip-uhq/scripts/wav2lip/temp/result.avi -strict -2 -q:v 1 /notebooks/sd/stable-diffusion-webui/extensions/sd-wav2lip-uhq/scripts/wav2lip/results/result_voice.mp4'

Any idea if its an FFmpeg issue or something else?

Thanks

numz commented 1 year ago

Hi, Thank you for your report, I will check what's happening and come back very soon.

numz commented 1 year ago

Ok, I make an update, update the extension and tell me please :) regards

RONNYKHALIL commented 1 year ago

thanks for the quick tweak. after update and restart, now getting the following error:

FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.9/dist-packages/imageio_ffmpeg/binaries/ffmpeg-linux64-v4.2.2 -y -i /tmp/gradio/2771514770b74d94923f5b4fa778799e52122785/21028_Infiniti_WildWorld-AIRedux_071823_RK_1.wav -i /notebooks/sd/stable-diffusion-webui/extensions/sd-wav2lip-uhq/scripts/wav2lip/temp/result.avi -strict -2 -q:v 1 /notebooks/sd/stable-diffusion-webui/extensions/sd-wav2lip-uhq/scripts/wav2lip/results/result_voice.mp4'

numz commented 1 year ago

What i see is ffmpeg exists, so one of the other files don't exist, can you tell me which one ? in a command line : ls /tmp/gradio/2771514770b74d94923f5b4fa778799e52122785/21028_Infiniti_WildWorld-AIRedux_071823_RK_1.wav ls /notebooks/sd/stable-diffusion-webui/extensions/sd-wav2lip-uhq/scripts/wav2lip/temp/result.avi

thanks :)

RONNYKHALIL commented 1 year ago

result.avi isn't something I'm familiar with, I don't work with avi's

numz commented 1 year ago

i make another update, can you update et restart please?

Let me know :)

RONNYKHALIL commented 1 year ago

that did the trick! thank you!

numz commented 1 year ago

cooool :)

Thank you !!!!!!