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

AssertionError: Invalid frame count #88

Open
ShroukMansour opened this issue Aug 5, 2020 · 1 comment
Open

AssertionError: Invalid frame count #88

ShroukMansour opened this issue Aug 5, 2020 · 1 comment

Comments

@ShroukMansour
Copy link

I have a video that is recorded by the webcam and saved to the disk, when I pass it to the video reader I get this error File "/home/smansour/anaconda3/envs/cv/lib/python3.7/site-packages/decord/video_reader.py", line 41, in __init__ assert self._num_frame > 0, "Invalid frame count: {}".format(self._num_frame) AssertionError: Invalid frame count: -9223372036854775808
I cannot detect the reason. I have tried to save the video in multiple formats (webm, mp4) but got the same error

Environment

Python version: 3.7.6
decord version: 0.3.5

@zhreshold
Copy link
Member

zhreshold commented Aug 7, 2020

If possible, can you share the video that is causing the error?
And have you tried the example videos in the example folder?

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