Error while feeding the filter graph
- Dominant language
- C++
- Stars
- 2.5k
- Forks
- 232
- PR merge metrics
- No merged PRs in 30d
Description
Sometimes, some of the last frame in `vr` is not accessible, even though `vr` object is able to be created.
```
with open(vid_path, 'rb') as f:
vr = VideoReader(f, ctx=cpu(0))
n_frames = len(vr)
print('video frames:', n_frames)
```
Fortunately, it seem only happen a few time, and only happen in last few frames.
```
vr[n_frames - X]
```
```
[12:19:04] /github/workspace/src/video/ffmpeg/threaded_decoder.cc:292:
[12:19:04] /github/workspace/src/video/ffmpeg/filter_graph.cc:100:
Check failed: av_buffersrc_add_frame_flags(buffersrc_ctx_, frame, AV_BUFFERSRC_FLAG_KEEP_REF) >= 0 (-22 vs. 0)
Error while feeding the filter graph
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.