GUI
I made a simple GUI for local installs:
You can select files using the 3 dots to the right of the input boxes.
This is way better than modifying the config.ini each time!
It also includes a preview window that allows you to see each frame as it processes. If it looks wrong, you can press Q to abort so you can change the settings.
MacOS support
I also added some lines that will use "mps" if available instead of cuda, this should make it run with decent speed on Macs that have ARM processors. I also enabled cpu inference if you have neither and like torture and waiting 🙂.
Easy-Wav2Lip.bat
There are only minor tweaks since the last release but I've put it in a new place so that I can always point to the latest version with the same link and also all the code can be seen before downloading:
https://github.com/anothermartz/Easy-Wav2Lip/blob/Installers/Easy-Wav2Lip.bat
(direct download link)
Colab
https://colab.research.google.com/github/anothermartz/Easy-Wav2Lip/blob/v8.3/Easy_Wav2Lip_v8.3.ipynb
The colab remains practically the same, I removed the obsolete "Experimental" option as all it did was take longer without improving quality and I also added a check to make sure a file is selected and not a directory (issue #50).
Shelved
I've decided that I'm not going to do more with Wav2Lip for now. With a lot of work I may be able to improve performance and/or quality but I think by the time I could achieve that, there'll be an alternative to Wav2Lip that will massively outperform whatever I can do.
But if that alternative tool is finicky and difficult to get to grips with, I'll have a go at making it easier to use :)
In the meantime I'm going to work on a new project where I intend to drive the facial animations of a face in one video using the face of another. The main intention would be to add facial animations to an otherwise blank character in a video game, but it could be used to make a movie character say something funny too.
I've had this idea for a long time and an early test of it has been the origin of my "scary" avatar.