Background: I'm using the MMAL API with some C++ code based on Chris Cumming's work. I'm capturing video in the cropped 1920x1080 mode. The preview port is set to use MMAL_ENCODING_I420 and feeds a vc.ril.resize component which outputs 480x270 images. My application takes these as grayscale to do most of the processing before looking back at the corresponding higher resolution colour video port frames. When the video port is set to use MMAL_ENCODING_I420 then I have not noticed any issues.
The problem occurs when I try to use MMAL_ENCODING_RGB24 or MMAL_ENCODING_BGR24 for the video port. I see a horizontal line across some frames (not all of them and not always in the same position). I have attached an example to illustrate. I have tried various things including different Pis, power supplies and v1/v2 camera modules, but this happens consistently.
