Simple post to solve a little/big issue: i was playing with HASSIO and my ipcameras ( chinese nobrand đ ) and i have a problem when i was using ffmpeg: even with a single ipcamera, i had 100% cpu usage. It was a nightmare!
Until i found mjpeg: infact, replacing ffmpeg with mjpeg i’ve dropped the cpu usage to near 0% in this way:
Before
camera: - platform: ffmpeg input: rtsp://admin:xxxxx@192.168.0.36:10554/udp/av0_0
After
camera: - platform: mjpeg mjpeg_url: "http://192.168.0.36:38736/snapshot.cgi?user=admin&pwd=xxxxx"
Of course you need a ipcamera that supports CGI.
You can simple discover open ports on your IPCamera with nmap in this way:
nmap - 1-65535 $youripcamera
Cheers!
SwitchBot 3 Pezzi Igrometro Termometro da Esterno, 120m Portata Bluetooth, Termoigrometro da Interno, Sensore di Rugiada/VPD/UmiditĂ Assoluta, Esportazione Gratuita Dati
40% OffIP65 antipolvere/impermeabile, adatto per interni ed esterni: Il termometro da esterno è impermeabile e antipolvere IP65 e può funzionare in modo sicuro anche nei giorni di pioggia. Sono facili da usare, leggeri e portatili. Perfetto per cucine, bagn... read more
Numero telaio: 227019030000494
aggiunto sul censimento ufficiale cms f16