jshridha/docker-motioneye

Configuring IP-cam`s

flargargoyl opened this issue · 4 comments

I have a next problem here.
When i use motion without the motioneye - works fine, connects to my ip-camera, autorize there, gives stream, motion-capture, etc,etc.

But, when i use your image, and add same camera via MotionEye GUI:
If i add only a url to it - motioneye understands that login and password needed
when i add user and password - no errors, like we passed the authentication.
BUT, no video from camera in such case. Not a single image. While so, camera itself is working ok, network is ok, etc.

Probably this issue might be related to the authentication method, but i`m not sure. With a basic- motion (that works) i have to use an url with username, like:

netcam_url rtsp://[USERNAME]:[PASSWORD]@[IPADDRESS]:[PORT]/cam/realmonitor?channel=1&subtype=1
And this works.
If i, using the motion itself, remove username and password from the string, and add it as the part of the

Username and password for network camera (only if required). Default: not defined

Syntax is user:password

; netcam_userpass value
parameter with a proper username and password - its not working. As ive seen in configs generated by motioneye, authentication isnt written into the url.
Also, i cant connect the camera via motioneye`s ui, using the full-string with username and passwords in it.

Actually ive realised that this question probably should be adressed to the motioneyes autor, but perhaps you could advice something while i`ll ask him same question.

been there, done that. Username and password is as simple as it could possibly be. One 5-letter word each. Because, firewall and stuff does not allows access to ip-camera port for any other connection at all.

In that case I don't have any other ideas. I will say just earlier this week i was able to use a rtsp camera in motioneye. I had to add the username / password using the form fields instead of adding them to the URL. I'm sure you've tried that, so my best advice would be to check the docker logs and/or motion logs within the container.

Thank you for information about tested rtsp cameras and thank you again for sharing this image. I`ll try to put it in a good use.