yerfor / GeneFacePlusPlus

GeneFace++: Generalized and Stable Real-Time 3D Talking Face Generation; Official Code
MIT License
1.57k stars 226 forks source link

Is video cropping directly scaled or recognizing cropped facial regions? #134

Open mrhanCH opened 8 months ago

mrhanCH commented 8 months ago

I saw that the training guide states "Crop videos to 512 * 512 and 25 FPS".

Should I directly use the ffmpeg command you provided to scale the 1080 video to 512 pixels,

or should I recognize and crop the face area to 512 pixels?

Thank you!

leegang79 commented 7 months ago

My understanding:

You need to crop out the face area with tools like Capcut, as sqaure(height/width ratio 1:1).

If your already got square video, but with different FPS and w/h pixels, you should use the ffmpeg command to convert it.