decord
decord copied to clipboard
AssertionError: Invalid frame count
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
If possible, can you share the video that is causing the error?
And have you tried the example videos in the example folder?