decord icon indicating copy to clipboard operation
decord copied to clipboard

AssertionError: Invalid frame count

Open ShroukMansour opened this issue 5 years ago • 1 comments

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

ShroukMansour avatar Aug 05 '20 13:08 ShroukMansour

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

zhreshold avatar Aug 07 '20 04:08 zhreshold