Skip to content

Ensuring Output Video Has Same Frame Count as Input Video #38

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

Open
omertalmi5 opened this issue Apr 12, 2025 · 2 comments
Open

Ensuring Output Video Has Same Frame Count as Input Video #38

omertalmi5 opened this issue Apr 12, 2025 · 2 comments

Comments

@omertalmi5
Copy link

omertalmi5 commented Apr 12, 2025

Thanks for this great project! I'm working with the inference command and need to maintain the exact same number of frames in my output video as in my input video. Currently, I'm not able to find a clear way to ensure frame count preservation between input and output videos.

@omertalmi5 omertalmi5 changed the title How to set the number of frames in the output video Ensuring Output Video Has Same Frame Count as Input Video Apr 12, 2025
@hanzhn
Copy link
Collaborator

hanzhn commented Apr 14, 2025

We preprocess input videos following the rules below:

  1. Ensure the first and last frames appear in the final output.
  2. Sample frames and resize height and width to the required video size.

Please be sure your video is not longer than 81.

@omertalmi5
Copy link
Author

Thank you, is there any way to insert a video longer than 81 frames?

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

2 participants