Lovelace camera stream artifacts and pixelated view

Hello,

I have problem with viewing camera stream in home assistant gui:

  • on PC via webbrowser
  • on Android phone app

When there is a motion in the stream I all get are strange artifacts.

At first I thought it’s a problem with camera or RTSP stream, but accessing RTSP provides a cristal clear & sharp image. Also “Download snapshot” from lovelace gives me a clear image.
I’ve tried with direct RTSP from camera and re-streamed from Frigate, different codecs, resolution etc. So I guess we can it cross-out.
image


Screenshot_20250130_081010

Any ideas?

My HomeAssistant is now 2025.1.4 (but on 2024.11 issue was the same) running in docker

I believe it is because underlying library (pyav) but cannot prove it.

I would give it a try with go2rtc add-on with webrtc custom card, it will be faster and with less artifacts