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

How do you pad a decord.video_reader.VideoReader Object? #291

Open
rohit901 opened this issue Feb 20, 2024 · 0 comments
Open

How do you pad a decord.video_reader.VideoReader Object? #291

rohit901 opened this issue Feb 20, 2024 · 0 comments

Comments

@rohit901
Copy link

Hello,

Say I've read a video, and it has 36 frames. However, I want to pad it to 48 frames, maybe by just replicating the last frame of the video till it has 48 frames.

Is there any function to achieve the above padding in the VideoReader object?

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

1 participant