AttributeError: 'av.video.codeccontext.VideoCodecContext' object has no attribute 'close' #1700
Replies: 1 comment
-
Rightfully removed in 14 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Overview
When itrating over the frames of a video file using the example in the docs, the following exception is raised:
AttributeError: 'av.video.codeccontext.VideoCodecContext' object has no attribute 'close'
.This only happens when plugin=pyav.
result = iio.imiter("path_to_file", plugin="pyav", thread_type="FRAME")
Expected behavior
The iteration the complete successfully.
Actual behavior
An exception is raised:
AttributeError: 'av.video.codeccontext.VideoCodecContext' object has no attribute 'close'
Traceback:
Investigation
Read an AVI file using the linked example from the documentation.
Reproduction
Read an AVI file using the linked example from the documentation:
Beta Was this translation helpful? Give feedback.
All reactions