Rudrabha / Wav2Lip

This repository contains the codes of "A Lip Sync Expert Is All You Need for Speech to Lip Generation In the Wild", published at ACM Multimedia 2020. For HD commercial model, please try out Sync Labs
https://synclabs.so
10.17k stars 2.19k forks source link

[lrc @ 000001fbfd301880] Format lrc detected only with low score of 5, misdetection possible! Input #0, lrc, from 'C:/Users/Viswanath': Duration: N/A, bitrate: N/A Stream #0:0: Subtitle: text Input #1, avi, from 'temp/result.avi': Metadata: encoder : Lavf58.76.100 Duration: 00:00:36.72, start: 0.000000, bitrate: 259 kb/s Stream #1:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 328x480 [SAR 1:1 DAR 41:60], 254 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc [NULL @ 000001fbfd32e6c0] Unable to find a suitable output format for 'S' S: Invalid argument #553

Open viswanathsr-04 opened 11 months ago

viswanathsr-04 commented 11 months ago

I sorry that I'm a newbie to python. Can anyone please help me to solve the above error ? I'm trying to generate the lip synced video using an audio and an image. The below is the code that I've used instead of the given command : !cd Wav2Lip && python inference.py --checkpoint_path checkpoints/wav2lip_gan.pth --face "input_video.mp4" --audio "input_audio.wav"

os.chdir(r"C:\Users\Viswanath S R\Wav2Lip")
os.system(
    'python inference.py --checkpoint_path checkpoints/wav2lip_gan.pth --face "image_path" --audio "audio_path"'
)
GEEKY-creator commented 9 months ago

please share the full stack-trace/traceback