ONVIF camera stream not working

I have some issues getting a ONVIF camera to work. I configured it in configuration.yaml with the following parameters:

ffmpeg:
camera:
  - platform: onvif
    host: "192.168.1.41"
    name: "Dyre cam"
    username: "username"
    password: "password"

I’ve then placed the entity inside a picture glance card like so:

  - camera_image: camera.dyre_cam
    entities: []
    title: Stald
    type: picture-glance

The picture glance card actually works, and updates the picture every 10 seconds or so. But when i click on it, it tries to open a stream in a larger popup, but that never works. I also suppose the pan/tilt/zoom controls are supposed to be there, but since it doesn’t work I’m not sure…

The log only outputs the below

2019-10-04 14:59:19 DEBUG (MainThread) [haffmpeg.core] Start FFmpeg with ['ffmpeg', '-i', 'rtsp://username:[email protected]:554/onvif1', '-an', '-frames:v', '1', '-c:v', 'mjpeg', '-pred', '1', '-f', 'image2pipe', '-']

and if i take the above link and put that into VLC i get a stream no problem.

What am i missing?

Hi,
I have the same problem. Would anyone have any idea what this might be?

1 Like

I have the same issue in 117