Ffmpeg isn't running, please help

Hello guys,

I’m hitting a problem with my home assistant docker install, i’m trying to add a FFMPEG camera but it’s not working. I’ve enabled logging and this is what i get:

2019-02-08 21:56:30 INFO (MainThread) [homeassistant.components.http.view] Serving /api/camera_proxy_stream/camera.camera_living to 10.0.0.0 (auth: False)
2019-02-08 21:56:30 DEBUG (MainThread) [haffmpeg.core] Start FFmpeg with [’/usr/bin/ffmpeg’, ‘-rtsp_transport’, ‘tcp’, ‘-i’, ‘rtsp://admin:%21PT0711adm%[email protected]:554/videoSub’, ‘-an’, ‘-c:v’, ‘mjpeg’, ‘-q:v’, ‘2’, ‘-f’, ‘mpjpeg’, ‘-’]
2019-02-08 21:56:30 WARNING (MainThread) [haffmpeg.core] FFmpeg isn’t running!

Here’s my config:
in configuration.yaml
ffmpeg:

in cameras.yaml

  • platform: ffmpeg
    name: Camera Living
    input: -rtsp_transport tcp -i rtsp://admin:%21PT0711adm%[email protected]:554/videoSub
    ffmpeg_bin: /usr/bin/ffmpeg
    extra_arguments: -q:v 2
  • platform: onvif
    host: 192.168.0.232
    username: admin
    password: ‘!PT0711adm@’

neither the onvif nor ffmpeg direct stream work.

I’ve logged into the docker with “docker exec -it home-assistant bash” and checked if /usr/bin/ffmpeg was there and it is!

I have no clue what to do next, hoping you guys with the great knowledge would be able to help me!
I’m not new to linux nor to home-assistant so I think (hope) we can go into detail… but i’m not so good at python :smiley:

Thanks in advance

Kind regards,
Jeroen

1 Like