Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wav2Lip could not generate at least one of your videos. #11

Open
saba99 opened this issue Feb 22, 2024 · 0 comments
Open

Wav2Lip could not generate at least one of your videos. #11

saba99 opened this issue Feb 22, 2024 · 0 comments

Comments

@saba99
Copy link

saba99 commented Feb 22, 2024

/content/LIHQ
Initializing
Moviepy - Building video ./first_order_model/input-ref-vid/Sister/Sister.mp4.
Moviepy - Writing video ./first_order_model/input-ref-vid/Sister/Sister.mp4

Moviepy - Done !
Moviepy - video ready ./first_order_model/input-ref-vid/Sister/Sister.mp4
Moviepy - Building video ./first_order_model/input-ref-vid/Sister2/Sister2.mp4.
Moviepy - Writing video ./first_order_model/input-ref-vid/Sister2/Sister2.mp4

Moviepy - Done !
Moviepy - video ready ./first_order_model/input-ref-vid/Sister2/Sister2.mp4
Running First Order Motion Model
100%
 176/176 [00:07<00:00, 24.59it/s]
100%
 104/104 [00:04<00:00, 24.54it/s]
FOMM Success!
Running Wav2Lip
Wav2Lip could not generate at least one of your videos.
Possibly bad audio, unrecognizable mouth, bad file paths, out of memory.
Run below command in a separate cell to get full traceback.
###########################################################
###########################################################
import os
adir = 'Folder1' # The audio folder that failed. See Wav2Lip output folder to see whats missing.

vid_path = f'{os.getcwd()}/output/FOMM/Round1/{adir}.mp4'
aud_path = f'{os.getcwd()}/input/audio/{adir}/{adir}.wav'
%cd /content/LIHQ/Wav2Lip
!python inference.py --checkpoint_path ./checkpoints/wav2lip.pth --face {vid_path} --audio {aud_path} --outfile /content/test.mp4 --pads 0 20 0 0

An exception has occurred, use %tb to see the full traceback.

SystemExit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant