decord
decord copied to clipboard
VideoReader Error
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
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 "<X>/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 "<X>/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 "<X>/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!
@yinweisu Can you take a time to check this video, thank you a lot!
@yinweisu Can you take a time to check this video, thank you a lot!
Have you fixed the problem yet? I have the same problem.
Traceback (most recent call last):
File "mike.py", line 34, in