Hi, unfortunately the standard distribution of PyAV does not have all the features required to work with Picamera2 (specifically, it doesn't always deal correctly with images where there is "padding" on the end of each row of pixels), and I think this may be what is going wrong. Therefore you need to use the version distributed in Raspberry Pi's apt repository (python3-av, I think it is called). When using a venv, the --system-site-packages option should enable you to use the correct version, but I don't know the runes for poetry, I'm afraid.
Statistics: Posted by therealdavidp — Wed Mar 06, 2024 9:35 am