Skip to content

Return pts per frame after video decoding on GPU #5140

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
prabhat00155 opened this issue Dec 30, 2021 · 1 comment
Open

Return pts per frame after video decoding on GPU #5140

prabhat00155 opened this issue Dec 30, 2021 · 1 comment

Comments

@prabhat00155
Copy link
Contributor

No description provided.

@arch-raven
Copy link

When can we expect this functionality for VideoReader with device="cuda" otherwise users can't extract frames between two timestamps?

for frame in itertools.takewhile(lambda x: x['pts'] <= 5, reader.seek(2)):
    frames.append(frame['data'])

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

No branches or pull requests

2 participants