Giter Site home page Giter Site logo

yyheart / lip-sync-wav2lip Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rajgupta28/lip-sync-wav2lip

0.0 0.0 0.0 251 KB

Creating an AI model that is proficient in lip-syncing i.e. synchronizing an audio file with a video file.

Python 18.42% Jupyter Notebook 81.58%

lip-sync-wav2lip's Introduction

LIP-SYNC-WAV2LIP

ABOUT

Creating an AI model that is proficient in lip-syncing i.e. synchronizing an audio file with a video file.

Base Repository - Wav2Lip

IMG ING

Pretrained Model Download

Model Description Link to the model
Wav2Lip Highly accurate lip-sync Link
Wav2Lip + GAN Slightly inferior lip-sync, but better visual quality Link

Lip-syncing videos using the pre-trained models (Inference)

You can lip-sync any video to any audio:

python inference.py --checkpoint_path <ckpt> --face <video.mp4> --audio <an-audio-source> 

The result is saved (by default) in results/result_voice.mp4. You can specify it as an argument, similar to several other available options. The audio source can be any file supported by FFMPEG containing audio data: *.wav, *.mp3 or even a video file, from which the code will automatically extract the audio.

Input Files

  • Audio Input_Audio

  • Video Input_Video

    • Note

      • Make sure all the frames in the video must have a face in it , other wise the model will return No face detected Error

Output File

IMPROVEMENTS

We can bring significant Improvement in the output by adjusting the arguments bringing the change in below variations

  • Variations

    • NO SMOOTH ARGUMENT
    • PADDING ARGUMENT
    • RESIZE FACTOR

ISSUES

  • The Pretrained model will only work if all the frames in the video must have a face in it
  • --box method unknown

lip-sync-wav2lip's People

Contributors

rajgupta28 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.