Empty image when clicking mjpeg card

Hi there,

I have a (rooted) dlink p6000lh I’d like to use with HA, the mjpeg_url works from a browser / command line, but does not (blank image) from HA, here’s the configuration:

camera:
  - platform: mjpeg
    name: D-Link P6000LH
    still_image_url: http://server/image/jpeg.cgi
    mjpeg_url: http://server/video/mpegts.cgi

The preview image does show, but not the stream when I click the card. Also, from the web server, I see the correct request coming from HA. I’m out of ideas, anybody?

Again, mpv http://server/video/mpegts.cgi does work like a charm.

ok nvm I solved this by using the ffmpeg platform.

Thanks for sharing this post me too getting same issue can you explain me in detail how did you do that i am getting confusions.

@Jerrod here’s the working configuration I’m using right now:

camera:
  - platform: ffmpeg
    name: D-Link P6000LH
    input: !secret dlink_p6000lh

!secret being:

dlink_p6000lh: "-rtsp_transport tcp -i rtsp://user:[email protected]/live/profile.0"