OverflowError during packet.decode()
Created by: danielballan
Any idea what's causing this? (Other file formats are working fine on my system.)
In [19]: container = av.open('test-2080_t0001.AVI')
In [20]: packets = container.demux()
In [21]: p = next(packets)
In [22]: p
Out[22]: <av.Packet of <av.VideoStream rawvideo, bgr24 660x492 at 0xaa58252c> at 0xaa5f880c>
In [23]: p.decode()
---------------------------------------------------------------------------
OverflowError Traceback (most recent call last)
<ipython-input-23-5f34859faf09> in <module>()
----> 1 p.decode()
/home/dallan/anaconda/lib/python2.7/site-packages/av/packet.so in av.packet.Packet.decode (/home/dallan/PyAV/src/av/packet.c:1204)()
/home/dallan/anaconda/lib/python2.7/site-packages/av/stream.so in av.stream.Stream.decode (/home/dallan/PyAV/src/av/stream.c:3488)()
/home/dallan/anaconda/lib/python2.7/site-packages/av/video/stream.so in av.video.stream.VideoStream._decode_one (/home/dallan/PyAV/src/av/video/stream.c:1738)()
/home/dallan/anaconda/lib/python2.7/site-packages/av/video/frame.so in av.video.frame.VideoFrame._init_properties (/home/dallan/PyAV/src/av/video/frame.c:1723)()
/home/dallan/anaconda/lib/python2.7/site-packages/av/frame.so in av.frame.Frame._init_planes (/home/dallan/PyAV/src/av/frame.c:1708)()
/home/dallan/anaconda/lib/python2.7/site-packages/av/video/plane.so in av.video.plane.VideoPlane.__cinit__ (/home/dallan/PyAV/src/av/video/plane.c:1347)()
OverflowError: can't convert negative value to size_t