soft-matter / pims

Python Image Sequence: Load video and sequential images in many formats with a simple, consistent interface.
http://soft-matter.github.io/pims/
Other
259 stars 67 forks source link

latest PyAV breaks things #433

Open kushalkolar opened 1 year ago

kushalkolar commented 1 year ago

The latest release of PyAV v10.0.0 seems to have broken reading video files. It ends up being usable but it's slower for some reason. Using v9.2.0 works fine though.

Exception ignored in: <function PyAVReaderIndexed.__del__ at 0x7fa6dfabb9a0>
Traceback (most recent call last):
  File "/home/kushalk/python-venvs/mescore/lib/python3.10/site-packages/pims/pyav_reader.py", line 365, in __del__
    self._container.close()
AttributeError: 'NoneType' object has no attribute 'close'
Exception ignored in: <function PyAVReaderIndexed.__del__ at 0x7fa6dfabb9a0>
Traceback (most recent call last):
  File "/home/kushalk/python-venvs/mescore/lib/python3.10/site-packages/pims/pyav_reader.py", line 365, in __del__
    self._container.close()
AttributeError: 'NoneType' object has no attribute 'close'