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

cv2 Issues with showing the correct frame for long videos #7

Open
Timozen opened this issue Apr 9, 2024 · 0 comments
Open

cv2 Issues with showing the correct frame for long videos #7

Timozen opened this issue Apr 9, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Timozen
Copy link
Member

Timozen commented Apr 9, 2024

In long videos, it is problematic to set the according frame in a cv2.VideoCapture with cv2.VideoCapture.set(cv2.CAP_PROP_POS_FRAMES, frame_index).

As discussed here there is no out-of-the-box solution for cv2: opencv/opencv#9053

Hence, another video API is needed to solve this issue reliably.
This could be an alternative https://abhitronix.github.io/vidgear/latest/

@Timozen Timozen added the bug Something isn't working label Apr 9, 2024
@Timozen Timozen self-assigned this Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant