HASSIO: ffmpeg high cpu usage? use mjpeg!

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:


   - platform: ffmpeg
     input: rtsp://admin:xxxxx@


   - platform: mjpeg
     mjpeg_url: ""

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


2 thoughts on “HASSIO: ffmpeg high cpu usage? use mjpeg!

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *

The maximum upload file size: 30 MB.
You can upload: image, audio, video, document, spreadsheet, interactive, text, archive, code, other.
Links to YouTube, Facebook, Twitter and other services inserted in the comment text will be automatically embedded.