Page 1 of 1

unable to add a rtsp camera

Posted: Mon Aug 12, 2024 6:48 pm
by funix
Hello,

I use 1.36.33 with linux/mageia 9 and I am not able to add a rtsp IP camera, I try all combination between source and camera without success.
I can connect and it works without problem with ffmpeg in a shell with the command

ffplay rtsp://admin:password@192.168.2.110

Somebody can guide me to setup this camera ?

Re: unable to add a rtsp camera

Posted: Tue Aug 13, 2024 9:00 am
by lbm
  • Which camera is it
    Can you share your settings for the camera ?
    Do you hany any specific errors, other than "not working" ?
Mine (hikvision) looks like this.

Code: Select all

rtsp://USER:PASS@IP//Streaming/Channels/1

Re: unable to add a rtsp camera

Posted: Tue Aug 13, 2024 12:49 pm
by funix
It's an annke I51DL camera

below a screenshot of the dashboard

Image

the source setup, I have tried all the methods (RTP/Unicast, multicast, RTSP, RTSP/HTTP), the path with ou without rtsp:// or user:password without sucess

Image

the camera setup

Image

and error log file

août 13 14:47:28 ultra.kervao.fr zmc_m1[657020]: ERR [zmc_m1] [Can't getaddrinfo(camera port 80): Name or service not known]
août 13 14:47:29 ultra.kervao.fr zmc_m1[657020]: ERR [zmc_m1] [connect(): getaddrinfo: Name or service not known]
août 13 14:47:29 ultra.kervao.fr zmc_m1[657020]: FAT [zmc_m1] [Unable to connect RTSP socket]
août 13 14:47:29 ultra.kervao.fr zmdc[656617]: ERR ['zmc -m 1' exited abnormally, exit status 255]

Re: unable to add a rtsp camera

Posted: Tue Aug 13, 2024 1:01 pm
by funix
oups ! there is my password in the image, I change it :)

Re: unable to add a rtsp camera

Posted: Tue Aug 13, 2024 1:03 pm
by lbm
If you in general on the camera, change it to ffmpeg, you will get some different options in source type.
Then on Method, select TCP, and in the source path, use the full rtsp:// url like so "rtsp://USER:PASS@IP//Streaming/Channels/1"

Im not sure, how the full path will look like on your camera though.

Re: unable to add a rtsp camera

Posted: Tue Aug 13, 2024 1:19 pm
by funix
ffplay works in a console only with rtsp://admin:password@192.168.2.110, so I tried it

Image

now in the dashboard, the source is green, the camera orange, but still no image

the error log is different

août 13 15:09:47 ultra.kervao.fr zmc_m1[657771]: ERR [zmc_m1] [Unable to open input "rtsp://192.168.2.110" due to: No such file or directory]
août 13 15:09:47 ultra.kervao.fr zmc_m1[657771]: ERR [zmc_m1] [Failed to prime capture of initial monitor]

Re: unable to add a rtsp camera

Posted: Tue Aug 13, 2024 1:32 pm
by funix
it works ! I had some trouble with my apache conf