VideoReader hangs when going out of scope
Open
- Dominant language
- C++
- Stars
- 2.5k
- Forks
- 232
- PR merge metrics
- No merged PRs in 30d
Description
I have just started trying this library for loading videos and it has all the features I am looking for. Unfortunately, when I run a simple script to read some video the script doesn't exit and hangs. Here is the minimal example I run:
import decord
vr = decord.VideoReader('example_vid.mp4', width=128, height=128)
vid = vr.get_batch(range(50, 125))
I have checked and it seems to hang on the del function on the _CAPI_VideoReaderFree(self._handle) call.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.