kaffetorsk / arlo-streamer

Continuous stream for Arlo cameras
MIT License
30 stars 5 forks source link

High CPU usage during idle #29

Closed thomas-hass closed 3 weeks ago

thomas-hass commented 3 weeks ago

Hi (again),

I installed this container yesterday, and have been monitoring the hardware usage since.

I have 7 cameras (Arlo with battery) at my cabin, and they use aprox 7-9% CPU all the time each.

I also have 3 cameras at home, wired, so they are active 24/7. I use low stream for detect and high for record. They use aprox 1-3% CPU during idle.

What numbers are you guys seeing on Arlo cameras?

Any clue why ffmpeg are using so much CPU during idle? Any suggestions to get it down?

kaffetorsk commented 3 weeks ago

What are your settings? specifically FFMPEG_OUT

kaffetorsk commented 3 weeks ago

This lead me to reviewing the transcoding. I've removed transcoding of audio from idle stream in PR #30

Will do some testing before merge. Feel free to test as well, it might solve your issue

kaffetorsk commented 3 weeks ago

Fixed with v0.9.2

thomas-hass commented 3 weeks ago

Thanks :)