Send Motion-user mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."
Today's Topics:
1. netcam_url authorization failed (Marco Sarria)
2. Re: netcam_url authorization failed (Joris)
3. Re: netcam_url authorization failed (Colin Law)
4. Re: netcam_url authorization failed (tosiara)
----------------------------------------------------------------------
Message: 1
Date: Fri, 17 Apr 2020 13:54:28 -0500
From: Marco Sarria <[email protected]>
To: [email protected]
Subject: [Motion-user] netcam_url authorization failed
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed
Hi,
My URL works with any RSTP viewer, example:
rtsp://user:[email protected]:7070/stream0
IF config as follows:
netcam_url rtsp://domain.ddns.net/stream0
netcam_userpass user:pass
netcam_proxy 7070
Error Logs: "netcam_start: Invalid netcam_proxy (7070)"
IF config as follows putting port in URL and commenting netcam_proxy:
netcam_url rtsp://domain.ddns.net:7070/stream0
netcam_userpass user:pass
;netcam_proxy 7070
"Error Logs: "825242872 - Server returned 401 Unauthorized
(authorization failed)"
IF config as follows putting port in URL and commenting netcam_proxy,
and putting user:pass in URL:
netcam_url rtsp://user:[email protected]:7070/stream0
;netcam_userpass user:pass
;netcam_proxy 7070
"Error Logs: "825242872 - Server returned 401 Unauthorized
(authorization failed)"
What am I doing wrong? Thank you,
Marco (zuwuko IRC)
------------------------------
Message: 2
Date: Fri, 17 Apr 2020 21:16:52 +0200
From: Joris <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] netcam_url authorization failed
Message-ID:
<CAL_dZs=ojca-mx+fho8jh+pqpzpe1ceyvzgv+flbqt2e1w9...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi,
Some replies in the text below
Op vr 17 apr. 2020 om 20:55 schreef Marco Sarria <[email protected]>:
> netcam_proxy 7070
>
Weird, the config wiki states: "Motion will ignore this option for
rtsp/rtmp cameras."
"Error Logs: "825242872 - Server returned 401 Unauthorized
> (authorization failed)"
>
The obvious/redundant question is: are you *very* sure you are using the
right username/password? Does it work in another rtsp player? And are you
sure the protocol is rtsp, not rtmp or http?
And can you temporarily turn off authentication (in the server, thus in the
camera's settings) to test the proxy connection?
The only remaining issue I can think of is some cameras use digest
authentication, rather than basic auth. Motion doesn't do the former afaik,
I never found a solution other than turning off auth.
Kind regards,
J
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 3
Date: Sat, 18 Apr 2020 11:57:42 +0100
From: Colin Law <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] netcam_url authorization failed
Message-ID:
<CAL=0gLuvTYhdDtxnOEYWb98E8tnxqJ75eu=hwa1h64ozxwf...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
On Fri, 17 Apr 2020 at 19:55, Marco Sarria <[email protected]> wrote:
>
> Hi,
>
> My URL works with any RSTP viewer, example:
> rtsp://user:[email protected]:7070/stream0
>
> IF config as follows:
>
> netcam_url rtsp://domain.ddns.net/stream0
Should that not be rtsp://domain.ddns.net:7070/stream0
and remove the proxy specification?
>
> netcam_userpass user:pass
>
> netcam_proxy 7070
>
> Error Logs: "netcam_start: Invalid netcam_proxy (7070)"
>
>
> IF config as follows putting port in URL and commenting netcam_proxy:
>
> netcam_url rtsp://domain.ddns.net:7070/stream0
>
> netcam_userpass user:pass
>
> ;netcam_proxy 7070
>
> "Error Logs: "825242872 - Server returned 401 Unauthorized
> (authorization failed)"
>
>
> IF config as follows putting port in URL and commenting netcam_proxy,
> and putting user:pass in URL:
>
> netcam_url rtsp://user:[email protected]:7070/stream0
>
> ;netcam_userpass user:pass
>
> ;netcam_proxy 7070
>
> "Error Logs: "825242872 - Server returned 401 Unauthorized
> (authorization failed)"
>
>
> What am I doing wrong? Thank you,
>
> Marco (zuwuko IRC)
>
>
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
------------------------------
Message: 4
Date: Sat, 18 Apr 2020 14:54:07 +0300
From: tosiara <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] netcam_url authorization failed
Message-ID:
<CACHTdwRZ180iNC=i+b12cdaa7nc9bgtgskylhembtmjsuet...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Yes, those should work:
netcam_url rtsp://domain.ddns.net:7070/stream0
netcam_userpass user:pass
What version of motion? What version of ffmpeg libs? Can you provide full
log with "-d 9"?
On Sat, Apr 18, 2020 at 1:59 PM Colin Law <[email protected]> wrote:
> On Fri, 17 Apr 2020 at 19:55, Marco Sarria <[email protected]> wrote:
> >
> > Hi,
> >
> > My URL works with any RSTP viewer, example:
> > rtsp://user:[email protected]:7070/stream0
> >
> > IF config as follows:
> >
> > netcam_url rtsp://domain.ddns.net/stream0
>
> Should that not be rtsp://domain.ddns.net:7070/stream0
> and remove the proxy specification?
>
> >
> > netcam_userpass user:pass
> >
> > netcam_proxy 7070
> >
> > Error Logs: "netcam_start: Invalid netcam_proxy (7070)"
> >
> >
> > IF config as follows putting port in URL and commenting netcam_proxy:
> >
> > netcam_url rtsp://domain.ddns.net:7070/stream0
> >
> > netcam_userpass user:pass
> >
> > ;netcam_proxy 7070
> >
> > "Error Logs: "825242872 - Server returned 401 Unauthorized
> > (authorization failed)"
> >
> >
> > IF config as follows putting port in URL and commenting netcam_proxy,
> > and putting user:pass in URL:
> >
> > netcam_url rtsp://user:[email protected]:7070/stream0
> >
> > ;netcam_userpass user:pass
> >
> > ;netcam_proxy 7070
> >
> > "Error Logs: "825242872 - Server returned 401 Unauthorized
> > (authorization failed)"
> >
> >
> > What am I doing wrong? Thank you,
> >
> > Marco (zuwuko IRC)
> >
> >
> >
> > _______________________________________________
> > Motion-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/motion-user
> > https://motion-project.github.io/
> >
> > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
------------------------------
Subject: Digest Footer
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
------------------------------
End of Motion-user Digest, Vol 166, Issue 13
********************************************