Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record Motion Reference Video part #390

Open
pdachiang opened this issue Jun 15, 2023 · 1 comment
Open

Record Motion Reference Video part #390

pdachiang opened this issue Jun 15, 2023 · 1 comment
Assignees

Comments

@pdachiang
Copy link

Hi ! when i record the video from my own computer(about 5 seconds)
then i run !python animate.py --source $input_img
--driving video.mp4
--adapt-movement-scale --fps 24
to realize the function of first order motion model.
After that , i find The video has been extended to 140 seconds , do you know how to fix it?

@TomonobuTsujikawa
Copy link
Contributor

Sorry for my late reply, and thank you for pointing the issue!

Here is the code to load input video:
https://github.com/sony/nnabla-examples/blob/master/facial-motion-transfer/first-order-model/frames_dataset.py#L42
This uses the frame rate of input video without any changes, and just set frame rate value to 24fps after processing.
So, it's likely that your camera has a very high frame rate, so that the output video has long duration.

But, it might be able to load at the expected fps if fps value is specified, so we'll update the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants