I am currently working on a project for continously taking pictures on a Raspberry Pi with a Pi Camera v2. Due to the special nature (continously ;)) of the recording, I use the picamera [ https://picamera.readthedocs.io/en/release-1.13/ ] library, which enables the use of this feature. Also, it got the function start_preview(), which should start the same video overlay as it is used for raspistill and raspivid (I presume, description here: https://picamera.readthedocs.io/en/release-1.13/api_camera.html#picamera.PiCamera.start_preview ).
Due to the nature of that project, behaving like a normal camera, I need to have the preview enabled during recording to make for a fitting “Viewfinder”. As this overlay does not seem to be X11, but more hardware-near, I wanted to ask the tricky question on how to containerize / use with balena said application.
PS: Recording/taking pictures with the camera works, its really about the problem of seeing the preview overlay on the HDMI or Composite Video out