Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About video decode #14

Open
Wickked-swag opened this issue May 4, 2023 · 0 comments
Open

About video decode #14

Wickked-swag opened this issue May 4, 2023 · 0 comments

Comments

@Wickked-swag
Copy link

Hi authors.When I run the code,it reports the following error.I can't solve it. Could you do me a favor?
I tried to update the decord version to 0.6.0 but the problem did not resolve.
[05/04 17:41:52][WARNING] datasets.base.ssv2_few_shot: 387: Error at decoding. 3/5. Vid index: 31327, Vid path: /home/wjs/Data/ssv2_video/131141.webm
[05/04 17:41:52][WARNING] datasets.base.ssv2_few_shot: 387: Error at decoding. 3/5. Vid index: 23891, Vid path: /home/wjs/Data/ssv2_video/6966.webm
[05/04 17:41:52][WARNING] datasets.base.ssv2_few_shot: 387: Error at decoding. 1/5. Vid index: 12881, Vid path: /home/wjs/Data/ssv2_video/60739.webm
[05/04 17:41:52][WARNING] datasets.base.ssv2_few_shot: 387: Error at decoding. 4/5. Vid index: 31327, Vid path: /home/wjs/Data/ssv2_video/131141.webm
[05/04 17:41:52][WARNING] datasets.base.ssv2_few_shot: 387: Error at decoding. 5/5. Vid index: 31571, Vid path: /home/wjs/Data/ssv2_video/38149.webm
[05/04 17:41:52][WARNING] datasets.base.ssv2_few_shot: 387: Error at decoding. 4/5. Vid index: 23891, Vid path: /home/wjs/Data/ssv2_video/6966.webm
[05/04 17:41:52][INFO] datasets.base.ssv2_few_shot: 392: Error at decoding. Vid index: 31571, Vid path: /home/wjs/Data/ssv2_video/38149.webm
[05/04 17:41:52][WARNING] datasets.base.ssv2_few_shot: 387: Error at decoding. 2/5. Vid index: 12881, Vid path: /home/wjs/Data/ssv2_video/60739.webm
[05/04 17:41:52][WARNING] datasets.base.ssv2_few_shot: 387: Error at decoding. 5/5. Vid index: 31327, Vid path: /home/wjs/Data/ssv2_video/131141.webm
[05/04 17:41:52][WARNING] datasets.base.ssv2_few_shot: 387: Error at decoding. 5/5. Vid index: 23891, Vid path: /home/wjs/Data/ssv2_video/6966.webm
[05/04 17:41:52][INFO] datasets.base.ssv2_few_shot: 392: Error at decoding. Vid index: 23891, Vid path: /home/wjs/Data/ssv2_video/6966.webm
[05/04 17:41:52][INFO] datasets.base.ssv2_few_shot: 392: Error at decoding. Vid index: 31327, Vid path: /home/wjs/Data/ssv2_video/131141.webm
[05/04 17:41:52][WARNING] datasets.base.ssv2_few_shot: 387: Error at decoding. 1/5. Vid index: 5902, Vid path: /home/wjs/Data/ssv2_video/215756.webm
[05/04 17:41:52][WARNING] datasets.base.ssv2_few_shot: 387: Error at decoding. 3/5. Vid index: 12881, Vid path: /home/wjs/Data/ssv2_video/60739.webm
[05/04 17:41:52][WARNING] datasets.base.ssv2_few_shot: 387: Error at decoding. 2/5. Vid index: 5902, Vid path: /home/wjs/Data/ssv2_video/215756.webm
[05/04 17:41:52][WARNING] datasets.base.ssv2_few_shot: 387: Error at decoding. 3/5. Vid index: 5902, Vid path: /home/wjs/Data/ssv2_video/215756.webm
Traceback (most recent call last):
File "/home/wjs/Code/HyRSM/datasets/base/ssv2_few_shot.py", line 380, in get_seq
sample_info, index, num_clips_per_video=self.num_clips_per_video if hasattr(self, 'num_clips_per_video') else 1
File "/home/wjs/Code/HyRSM/datasets/base/base_dataset.py", line 274, in decode_video
frames = dlpack.from_dlpack(vr.get_batch(list
).to_dlpack()).clone()
File "/home/wjs/anaconda3/envs/hyrsm/lib/python3.6/site-packages/decord/video_reader.py", line 175, in get_batch
arr = _CAPI_VideoReaderGetBatch(self._handle, indices)
File "/home/wjs/anaconda3/envs/hyrsm/lib/python3.6/site-packages/decord/_ffi/_ctypes/function.py", line 175, in call
ctypes.byref(ret_val), ctypes.byref(ret_tcode)))
File "/home/wjs/anaconda3/envs/hyrsm/lib/python3.6/site-packages/decord/_ffi/base.py", line 78, in check_call
raise DECORDError(err_str)
decord.ffi.base.DECORDError: [17:41:52] /github/workspace/src/video/ffmpeg/threaded_decoder.cc:292: [17:41:52] /github/workspace/src/video/ffmpeg/threaded_decoder.cc:218: Check failed: avcodec_send_packet(dec_ctx.get(), pkt.get()) >= 0 (-11 vs. 0) Thread worker: Error sending packet.
Traceback (most recent call last):
File "/home/wjs/Code/HyRSM/datasets/base/ssv2_few_shot.py", line 380, in get_seq
sample_info, index, num_clips_per_video=self.num_clips_per_video if hasattr(self, 'num_clips_per_video') else 1
File "/home/wjs/Code/HyRSM/datasets/base/base_dataset.py", line 274, in decode_video
frames = dlpack.from_dlpack(vr.get_batch(list
).to_dlpack()).clone()
File "/home/wjs/anaconda3/envs/hyrsm/lib/python3.6/site-packages/decord/video_reader.py", line 175, in get_batch
arr = _CAPI_VideoReaderGetBatch(self._handle, indices)
File "/home/wjs/anaconda3/envs/hyrsm/lib/python3.6/site-packages/decord/_ffi/_ctypes/function.py", line 175, in call
ctypes.byref(ret_val), ctypes.byref(ret_tcode)))
File "/home/wjs/anaconda3/envs/hyrsm/lib/python3.6/site-packages/decord/_ffi/base.py", line 78, in check_call
raise DECORDError(err_str)
decord.ffi.base.DECORDError: [17:41:52] /github/workspace/src/video/ffmpeg/threaded_decoder.cc:292: [17:41:52] /github/workspace/src/video/ffmpeg/threaded_decoder.cc:218: Check failed: avcodec_send_packet(dec_ctx.get(), pkt.get()) >= 0 (-11 vs. 0) Thread worker: Error sending packet.
Traceback (most recent call last):
File "/home/wjs/Code/HyRSM/datasets/base/ssv2_few_shot.py", line 380, in get_seq
sample_info, index, num_clips_per_video=self.num_clips_per_video if hasattr(self, 'num_clips_per_video') else 1
File "/home/wjs/Code/HyRSM/datasets/base/base_dataset.py", line 274, in decode_video
frames = dlpack.from_dlpack(vr.get_batch(list
).to_dlpack()).clone()
File "/home/wjs/anaconda3/envs/hyrsm/lib/python3.6/site-packages/decord/video_reader.py", line 175, in get_batch
arr = _CAPI_VideoReaderGetBatch(self._handle, indices)
File "/home/wjs/anaconda3/envs/hyrsm/lib/python3.6/site-packages/decord/_ffi/_ctypes/function.py", line 175, in call
ctypes.byref(ret_val), ctypes.byref(ret_tcode)))
File "/home/wjs/anaconda3/envs/hyrsm/lib/python3.6/site-packages/decord/_ffi/base.py", line 78, in check_call
raise DECORDError(err_str)
decord.ffi.base.DECORDError: [17:41:52] /github/workspace/src/video/ffmpeg/threaded_decoder.cc:292: [17:41:52] /github/workspace/src/video/ffmpeg/threaded_decoder.cc:218: Check failed: avcodec_send_packet(dec_ctx.get(), pkt.get()) >= 0 (-11 vs. 0) Thread worker: Error sending packet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant