MC-E / ReVideo

Other
293 stars 8 forks source link

How to inference on my own video? #3

Open Yuxuan-W opened 1 month ago

Yuxuan-W commented 1 month ago

Thanks for your inspiring work! I find the param (s_w/s_h/e_w/e_h and ps_w/ps_h ...) are specified in script. How can I obtain these trajectory when inference on my own video if I want to keep the motion but change the appearance? Are these trajectories necessary even if I want the motion unchanged?

MC-E commented 1 month ago

The description of these parameters: https://github.com/MC-E/ReVideo#description-of-the-same-parameters. We provide examples in https://github.com/MC-E/ReVideo/tree/main/configs/examples/constant_motion to keep the motion of editing results. The trajectories are automatically extracted.

Yuxuan-W commented 1 month ago

I see, for constant motion inference, the ps_w and ps_h represent the desired point to be tracked, which should be selected inside the foreground. Then the cotracker will automatically track on these points.