OpenTalker / video-retalking

[SIGGRAPH Asia 2022] VideoReTalking: Audio-based Lip Synchronization for Talking Head Video Editing In the Wild
https://opentalker.github.io/video-retalking/
Apache License 2.0
6.04k stars 896 forks source link

Tips to obtain HD results? #168

Open AIhasArrived opened 7 months ago

AIhasArrived commented 7 months ago

Hello, I inputed an HD mp4 but I obtained a lower quality video , how can I make it HD, Is there some tips or ideas?

numerized commented 7 months ago

Same for me. Any progress on that @AIhasArrived ? Anyone has advices ?

AIhasArrived commented 7 months ago

Not yet, and you since yesterday?

Bilal4801 commented 5 months ago

you can use GFPGAN HQ for converting your lower quality input two high quality output video.

OmriCBT commented 5 months ago

Edit the file called Inference.py and change this line (number 267):

pp, orig_faces, enhanced_faces = enhancer.process(pp, xf, bbox=c, face_enhance=False, possion_blending=True)

change it to: pp, orig_faces, enhanced_faces = enhancer.process(pp, xf, bbox=c, face_enhance=True, possion_blending=False)

this solution was offered in another issue and works great for me.

AIhasArrived commented 5 months ago

Interesting! thanks

cparello commented 4 months ago

edit the the inference file to use the 1024 model. there is a recent thread about this with the required changes