dmlc / dmlc/decord

VideoReader Error

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

Description

Thanks for the great work, but I have one problem when read some videos like this one: [https://drive.google.com/file/d/13vkGsQQWQKbvLgi23CuS4WQLWI0LxYxJ/view?usp=sharing](LINK)

The error:
[root]:[20983] [2021-04-16 14:58:10 +0700]-[INFO] vr = VideoReader(BytesIO(bytes_data))
[root]:[20983] [2021-04-16 14:58:10 +0700]-[INFO] File "/envs/core/lib/python3.7/site-packages/decord/video_reader.py", line 52, in __init__
[root]:[20983] [2021-04-16 14:58:10 +0700]-[INFO] ba, ctx.device_type, ctx.device_id, width, height, num_threads, 2, fault_tol)
[root]:[20983] [2021-04-16 14:58:10 +0700]-[INFO] File "/envs/core/lib/python3.7/site-packages/decord/_ffi/_ctypes/function.py", line 175, in __call__
[root]:[20983] [2021-04-16 14:58:10 +0700]-[INFO] ctypes.byref(ret_val), ctypes.byref(ret_tcode)))
[root]:[20983] [2021-04-16 14:58:10 +0700]-[INFO] File "/envs/core/lib/python3.7/site-packages/decord/_ffi/base.py", line 78, in check_call
[root]:[20983] [2021-04-16 14:58:10 +0700]-[INFO] raise DECORDError(err_str)
[root]:[20983] [2021-04-16 14:58:10 +0700]-[INFO] decord._ffi.base.DECORDError: [14:58:10] /Users/runner/work/decord/decord/src/video/video_reader.cc:270: [BytesIO] Failed to measure duration/frame-count due to broken metadata.

I installed decord from Pypi, can you check it for me? @zhreshold. Thank you a lot!

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.