I have been running a software called pikrellcam on several Rpi3 for a few years. I have adapted the code so that it works in a Balena image.
When the software is installed on a normal pi image the video stream is very fast with few glitches. Since using pikrellcam within a Balena container the web stream is a bit more glitchy and slow.
Do you know why this might be? Is there any obvious reason a video stream sent from within a container would be slower?
Hello Sam,
Nothing obvious stands out initially. Do you notice high CPU usage? Perhaps the original code is using GPU acceleration? Do you see any error or warning messages in the console or in dmesg? If youâd like to post your Dockerfile or provide a link to your âbalena-fiedâ repo we can take a look to see if we notice anything that may be causing that slowdown.
If you can just create a minimal repo that still exhibits the issue and share that publicly. That way you donât have to share any proprietary information. Otherwise, I think you can email hello@balena.io, and we should be able to find it.