dmlc / dmlc/decord

AssertionError: Invalid frame count

Open
#88 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.5k
Forks
232
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.