TMElyralab / MusePose

MusePose: a Pose-Driven Image-to-Video Framework for Virtual Human Generation
Other
1.85k stars 125 forks source link

How to keep fps the same as video source #26

Closed SWAPv1 closed 3 weeks ago

SWAPv1 commented 1 month ago

First of all this is a amazing opensource tool so thank you developers!

The default example video is 24fps. But the final video is 12fps.

How can I adjust the "python test_stage_2.py --config ./configs/test_stage_2.yaml" command to make it use the same fps.

Currently if I type in "python test_stage_2.py --config ./configs/test_stage_2.yaml --fps 24" it will output 24fps but it will be 2x the speed too which is not what I want.

TZYSJTU commented 1 month ago

Just set skip=0, but it will take twice the time to generate since the frame number is doubled.

SWAPv1 commented 1 month ago

What is the exact name of that part and which file do I set skip=0?

TZYSJTU commented 1 month ago

What is the exact name of that part and which file do I set skip=0?

test_stage_2.py