Mjpg camera on raspberry pi

I have a raspberry pi camera hooked up to a pi that is NOT my home assistant machine.
I use MOTION to serve the contents of the camera.
I can point chrome to http://192.168.1.188:8081 and I get a nice camera video stream.
But, when I point Home assistant to that same place I get (error loading image)
Here is my config:

- platform: mjpeg
  mjpeg_url: http://192.168.1.188:8081
  name: upgaragecam

My guess is that motion isn’t serving up the stream in a format that H.A. understands.
Has anyone been able to get this to work?

Have you tried ffmpeg component

FFmpeg was the answer.
For those referencing this thread in the future, I had to install ffmpeg on the server (in my case it’s OSX) before the ffmpeg component would work.