Description
I've been testing RasPyCam on a Pi Zero 2 W and find that it uses CPU resources excessively.
After running awhile displaying the camera image, the CPU gets to over 70 deg C and the Pi crashes.
Running on a Pi 5 also gets very hot, but keeps working with a large heat sink case.
I notice many threads (15) of main.py being launched even for only one camera and browser session.
Why so many threads?
This is quite a difference from the original raspimjpeg, which ran just fine on simple Pi Zero W boards.
Is there any way to control resource use, refresh frequency or other things that might reduce CPU heating?
Some parameters should be added to control power usage, e.g. with a slower refresh frequency perhaps.
Steps to Reproduce
Run the Rpi_Web_Cam_Interface in a browser normally with one camera.
Check the CPU temperature and watch the CPU usage in htop.
Expected Behavior
I would expect less CPU usage and heating with a simple single video stream.
Additional Information (Optional)
No response
Pi Model
5
Operating System
Raspberry Pi OS Bookworm (12.x)
Checks
Description
I've been testing RasPyCam on a Pi Zero 2 W and find that it uses CPU resources excessively.
After running awhile displaying the camera image, the CPU gets to over 70 deg C and the Pi crashes.
Running on a Pi 5 also gets very hot, but keeps working with a large heat sink case.
I notice many threads (15) of main.py being launched even for only one camera and browser session.
Why so many threads?
This is quite a difference from the original raspimjpeg, which ran just fine on simple Pi Zero W boards.
Is there any way to control resource use, refresh frequency or other things that might reduce CPU heating?
Some parameters should be added to control power usage, e.g. with a slower refresh frequency perhaps.
Steps to Reproduce
Run the Rpi_Web_Cam_Interface in a browser normally with one camera.
Check the CPU temperature and watch the CPU usage in htop.
Expected Behavior
I would expect less CPU usage and heating with a simple single video stream.
Additional Information (Optional)
No response
Pi Model
5
Operating System
Raspberry Pi OS Bookworm (12.x)
Checks