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

Input video and output video lengths are not equal #56

Closed
Laidawang opened this issue Sep 27, 2023 · 2 comments
Closed

Input video and output video lengths are not equal #56

Laidawang opened this issue Sep 27, 2023 · 2 comments

Comments

@Laidawang
Copy link

i have a video with 309 frames, using 10 as interval my final output length is 300 frames, i think this may be caused by we dont
pass the last frame as a keyframe.

@williamyang1991
Copy link
Owner

We have options for Key frame frequency (K) and Number of key frames (M), so the final video frame will have K*M+1 frames with M+1 key frames.
The remaining part will be just eliminated.

If you want to translate the full video, you can replicate the last few frames to make the vidoe have more than 309 frames (like 312 frames).

@Laidawang
Copy link
Author

ok, thanks a lot.

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