Frigate rtsp stream with dlink camera

Hello everybody.
I installed the Frigate addon and I tried to setup my dlink ip camera with frigate but I always receive the error: >

[2022-09-26 18:38:51] frigate.video ERROR : dlink: Unable to read frames from ffmpeg process.
[2022-09-26 18:38:51] frigate.video ERROR : dlink: ffmpeg process is not running. exiting capture thread…

I reduced my config file to the basic trying to identify the issue. This is my frigate.yml

mqtt:
>   host: 192.168.1.78
>   user: user
>   password: password
>   
> cameras:
>   dlink:
>      ffmpeg:
>        inputs:
>          - path: rtsp://myuser:[email protected]/play3.sdp
>            roles: 
>              - detect

did someone experience a similar issue?
I also run the ffplay command to test is live stream was correct and it works well.
Thank you for any suggestions.

Where did you get that url? RTSP urls typically don’t have a file type as they are a stream.

In any case you are going to need to use different input args from the defaults: Stream RTP to FFMPEG using SDP - Stack Overflow

url comes from Dlink setup. Play3.sdp is the low resolution channel. There are 4 different option to configure according to the quality e fps (play1, play2, play3, play4 for mobile phone).
I also tried to pass some input parameters and tried to change the protocol from tcp to udp but the error is still present in the log.

ay other suggestions?
Thank you very much!

Try leaving the .sdp out of it and see if that makes a difference. Also if you can run ffprobe rtsp://myuser:[email protected]/play3.sdp and ffprobe rtsp://myuser:[email protected]/play3 and show both of those results that would be helpful as well.

tried both option:
ffprobe with .sdp produces:

nput #0, rtsp, from ‘rtsp://admin:[email protected]/play3.sdp’:
Metadata:
title : DCS-5222L
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 320x176 [SAR 1:1 DAR 20:11], 10 fps, 10 tbr, 90k tbn
Stream #0:1: Audio: aac (LC), 8000 Hz, mono, fltp

ffprobe without .sdp produces no output and hangs until I ctr^C it.

Here the setup of my Dlink .All the “play.x” options do not works producing the green video in Frigate and the described error in the log.Not sure if it can be of help…

One thing more, adding
rtsp://admin:[email protected]:554/play3.sdp to a different player produces the expected output and I can see the live streaming…

thank you