FFmpeg Camera from MJPeG source

I’m using an RPI Zero W with MotionEyeOS, configured as Fast Camera.

I tested it with MJPEG IP Camera integration and works, but i’m not able to stream it to homekit.

I tried to configure it with FFmpeg Camera, but don’t understand how make it works, i tried to configure some extra parameters, but nothing helped me.

The camera stream works with VLC and my ZoneMinder server. It has basic auth, but with auth disabled… same result.

this is the configuration:

  - platform: ffmpeg
    name: 'FFmpeg Test Camera'
    input: 'http://USER:PASS@IP:PORT/'

Have someone correctly configured it?