First, thank you all for your attention, support, sharing, and contributions to LivePortrait! ❤️ The popularity of LivePortrait has exceeded our expectations. If you encounter any issues or other problems and we do not respond promptly, please accept our apologies. We are still actively updating and improving this repository.
-
Audio and video concatenating: If the driving video contains audio, it will automatically be included in the generated video. Additionally, the generated video will maintain the same FPS as the driving video. If you run LivePortrait on Windows, you need to install
ffprobe
andffmpeg
exe, see issue #94. -
Driving video auto-cropping: Implemented automatic cropping for driving videos by tracking facial landmarks and calculating a global cropping box with a 1:1 aspect ratio. Alternatively, you can crop using video editing software or other tools to achieve a 1:1 ratio. Auto-cropping is not enbaled by default, you can specify it by
--flag_crop_driving_video
. -
Motion template making: Added the ability to create motion templates to protect privacy. The motion template is a
.pkl
file that only contains the motions of the driving video. Theoretically, it is impossible to reconstruct the original face from the template. These motion templates can be used to generate videos without needing the original driving video. By default, the motion template will be generated and saved as a.pkl
file with the same name as the driving video, e.g.,d0.mp4
->d0.pkl
. Once generated, you can specify it using the-d
or--driving
option.
- For a guide on using your own driving video, see the driving video auto-cropping section.