yerfor / GeneFacePlusPlus

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

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

Open mrhanCH opened 5 months ago

mrhanCH commented 5 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 4 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.