I would like to modify every frame such that the frame is shrunk to a given rectangle. I tried this with overscan and it works. I also want to use dismanx to show custom data/images outside the rectangle.
If i use Screenshot + element method next frame also has the outer image captured resulting in an infinite shrinking mirror kind of effect. Element is a persistent method to show something on screen. I am looking for a solution that does not persists on the next frame.
Another solution would be a way to capture screen based on layers. I can set the side images on a higher layer which will not be captured at the next call to capture screen.
Adding and removing element at each frame is not possible. It crashes the server and a reboot is needed to get back the display
@AndyD maybe you can point me in the right direction.