Using multiple ffmpeg instances with USB webcam /dev/video0

My problem was, that I cannot use ffmpeg camera and motion sensor at the same time.
So I searched the web and tried motion (apt-get install…edit conf but no luck) and others. But for whatever reason it didnt work…

At the end I configured my Hassbian like here: Rasbperry Pi - FFmpeg Install and Stream to Web and:

camera:
  - platform: ffmpeg
    name: wallpanel
    input: http://192.168.2.31:8090/test.mjpg
binary_sensor:
  - platform: ffmpeg_motion
    name: wallpanel_motion
    input: http://192.168.2.31:8090/test.mjpg

…perhaps someone has the same problem :slight_smile: