line are too long (also the Popen below).

Btw. On my decoder I used the format rawvideo rgb24 which meant that I could load the images directly into numpy arrays. it might be worth doing this here as well.