motioneye-project / motioneye

A web frontend for the motion daemon.
GNU General Public License v3.0
3.93k stars 651 forks source link

Can't add RTSP camera due to URL formatting. #451

Closed hede0n closed 7 years ago

hede0n commented 7 years ago

Cameras I am using are only streaming over RTSP. I cannot add them to motioneye because of different URL formatting they are using:

rtsp://user:password@ipaddress/onvif1

This doesn't seem to be an issue in VLC

I would love to be able to use those camras because they are extremely cheap, very good quality so far, and work well in LAN only (had issues with other cameras) http://www.banggood.com/Digoo-DG-M1Q-960P-2_8mm-Wireless-Mini-WIFI-Night-Vision-Smart-Home-Security-IP-Camera-Onvif-Monitor-p-1123595.html

ccrisan commented 7 years ago

Have you tried entering the username & password separately, in their corresponding fields?

hede0n commented 7 years ago

Yes, I did. When adding new camera after typing IP address fifth field "camera" is showing up correctly with RSTP options so I am assuming Motioneye is recognising camera under this IP. However, picture stays grey forever. The only way to see the stream in any software I have tried so far was by using URL formatted like in the issue I have submitted. When using this format in MotionEye it seams to not recognise it...

hede0n commented 7 years ago

Scrap it! It does work. As RTSP UDP not tcp. Streams takes fair amount of time to show but it does work. Sorry, solved.

ccrisan commented 7 years ago

Good to hear :)

chrisf4lc0n commented 7 years ago

On top of that, what I have noticed with some of the RTSP cameras, when you try to add them as TCP and it does not take it, you have to restart MotionEye to try to add it as UDP otherwise it does not recognise the camera at all. EDIT: That applies mostly to the cheap Chinese Sricam cameras.

ccrisan commented 7 years ago

Anyways if you got it working, I'll close the issue.

mikeys4u commented 6 years ago

After an hour of mucking around in Tinycam monitor for android, the rtsp url is exactly this rtsp://user:password@ipaddress/onvif1 using RTSP over UDP (mpeg h264/h265)

Thank you......

This is also helpful all the Diggo camera url settings... https://www.ispyconnect.com/man.aspx?n=Digoo#

chrisf4lc0n commented 6 years ago

Finding the right streaming URL can be a real pain! I am glad, that you got to the bottom of it!

mrdmiba commented 5 years ago

Is user name in rtsp link email address used as login name for Guudgo Cloud or something else?