Hi all,
I’ve had 4 cameras running in Unifi Protect for a while and all was working connected to HAOS (HAOS is running as a VM in a Hyper-V host and has been assigned 4 cores and 8GB memory). I recently had one of the cameras die so I replaced it with a newer one that has “enhanced” encoding (I believe this means H265). I noticed that when using this H265 encoding, the camera is choppy and only displays at a rate of ~2fps. If I switch the encoding back to “standard” (H264) the stuttering goes away completely.
When viewed through Chrome on my Macbook Pro, it stutters. When viewed in Safari, it’s perfect…even with the “enhanced” so the issue appears to be with Chrome.
If all I was doing was viewing on my Mac then I’d be fine but I have a number of devices that will use Chrome as their browser, namely a wallpanel I setup using an 18" touchscreen mounted on the wall with an Intel N95 miniPC that includes the N95CPU and the UHD600 integrated graphics that support H265 encoding/decoding.
I’m using the Picture Entity card with the following…
show_state: false
show_name: false
camera_view: live
type: picture-entity
camera_image: camera.front_door_high_resolution_channel
entity: camera.front_door_high_resolution_channel
I also have the following in my configuration.yaml file…
#ffmpeg
ffmpeg:
I’ve searched the community here for insights as to what may be happening and how to fix but my google-fu is failing me today. I’m hoping someone here has already found a solution and can share it with me.