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. Re: mpjpeg fails on wansview 1080p (John Baker)
   2. Re: Motion input from File? (Thomas Drebert)
   3. Re: Motion input from File? (tosiara)


----------------------------------------------------------------------

Message: 1
Date: Sun, 07 Aug 2016 19:39:22 +0100
From: John Baker <[email protected]>
Subject: Re: [Motion-user] mpjpeg fails on wansview 1080p
To: [email protected]
Message-ID:
        <1470595162.1207785.688471721.75e98...@webmail.messagingengine.com>
Content-Type: text/plain; charset="utf-8"

Apache takes almost zero CPU now-a-days, but what I'd like is a really
small webserver with a good REST interface, so a simple static website
can be built using AngularJS and served using Apache or a trivial Python
script. Or even by direct file access :)

On Sun, Aug 7, 2016, at 07:28 PM, Kenneth Lavrsen wrote:
> The libmicrohttpd seems like a good plan. Light. What I meant was like - 
> do not assume Apache installed or require that the apache libs are used. 
> That would kill Motion on a small box.
> 
> I like your idea with libmicrohttpd
> 
> 
> Kenneth
> 
> On 07-Aug-16 18:56, Mr Dave wrote:
> > The digest authentication has been issue for a while and I believe 
> > does need to be addressed.  Many of the current cameras will only 
> > support digest or no authentication.  In this situation, we are 
> > forcing the user to leave the camera open to the world.  I am planning 
> > on investigating the use of that external  microhttp lib for both the 
> > streaming components as well as the non RTSP cameras.  The RTSP 
> > cameras use the ffmpeg libraries so addressing those would be a 
> > different solution.
> >
> > Dave
> > On 8/7/2016 7:55 AM, tosiara wrote:
> >> Kenneth,
> >>
> >> the was suggestion to use libmicrohttpd which seems a good choice and 
> >> is really not too heavy for motion: 
> >> https://github.com/Mr-Dave/motion/pull/94#issuecomment-159535262
> >>
> >> On Sun, Aug 7, 2016 at 1:24 PM, Joseph Heenan <[email protected] 
> >> <mailto:[email protected]>> wrote:
> >>
> >>     2 doesn?t seem a particularly high priority to me given that the
> >>     camera works with motion using rtsp (which does support digest
> >>     auth), but I may have missed something.
> >>
> >>     Joseph
> >>
> >>
> >>>     On 7 Aug 2016, at 08:08, tosiara <[email protected]
> >>>     <mailto:[email protected]>> wrote:
> >>>
> >>>     So here we have two issues:
> >>>     1. motion should better handle 401 or any non-200 http status
> >>>     and show user friendly error
> >>>     2. digest auth support
> >>>
> >>>     The first would probably be an easy code change
> >>>     But the second would be a challenge. We can implement digest
> >>>     auth. Or. There was a discussion already to replace all the
> >>>     manual http code by some web library that provides better
> >>>     support and better maintained. But that requires also quite a
> >>>     lot of efforts to change the code
> >>>
> >>>     On Sun, Aug 7, 2016 at 9:25 AM, John Baker
> >>>     <[email protected] <mailto:[email protected]>> wrote:
> >>>
> >>>         So being more awake this morning, I now spot the problem.
> >>>         The camera
> >>>         wishes to use HTTP digest authentication, which I guess
> >>>         motion doesn't
> >>>         support (another on the todo list Mr Dave / Joseph ?:).
> >>>
> >>>         
> >>> http://stackoverflow.com/questions/2384230/what-is-digest-authentication
> >>>         
> >>> <http://stackoverflow.com/questions/2384230/what-is-digest-authentication>
> >>>
> >>>         Example:
> >>>
> >>>         > HEAD /mjpeg/stream.cgi?chn=0 HTTP/1.1
> >>>         > Host: 192.168.0.102
> >>>         > User-Agent: curl/7.49.1
> >>>         > Accept: */*
> >>>         >
> >>>         < HTTP/1.1 401 Unauthorized
> >>>         < WWW-Authenticate: Digest realm="IPCamera Login",
> >>>         nonce="f35b3a998c0b964d21d99da3f8880f14", qop="auth"
> >>>
> >>>         > HEAD /mjpeg/stream.cgi?chn=0 HTTP/1.1
> >>>         > Host: 192.168.0.102
> >>>         > Authorization: Digest username="visitor", realm="IPCamera
> >>>         Login", nonce="f35b3a998c0b964d21d99da3f8880f14",
> >>>         uri="/mjpeg/stream.cgi?chn=0",
> >>>         cnonce="MWY1N2M3NmUzMjNlODIxM2ZjMzAxYTcyNTIzMjA0MTY=",
> >>>         nc=00000001, qop=auth,
> >>>         response="3bb6cbc93342432432421104ebeed5c3a"
> >>>         > User-Agent: curl/7.49.1
> >>>         > Accept: */*
> >>>         >
> >>>         < HTTP/1.1 200 OK
> >>>
> >>>
> >>>         
> >>> ------------------------------------------------------------------------------
> >>>         _______________________________________________
> >>>         Motion-user mailing list
> >>>         [email protected]
> >>>         <mailto:[email protected]>
> >>>         https://lists.sourceforge.net/lists/listinfo/motion-user
> >>>         <https://lists.sourceforge.net/lists/listinfo/motion-user>
> >>>         http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
> >>>         <http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome>
> >>>
> >>>
> >>>     
> >>> ------------------------------------------------------------------------------
> >>>     _______________________________________________
> >>>     Motion-user mailing list
> >>>     [email protected]
> >>>     <mailto:[email protected]>
> >>>     https://lists.sourceforge.net/lists/listinfo/motion-user
> >>>     <https://lists.sourceforge.net/lists/listinfo/motion-user>
> >>>     http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
> >>>     <http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome>
> >>
> >>
> >>     
> >> ------------------------------------------------------------------------------
> >>
> >>     _______________________________________________
> >>     Motion-user mailing list
> >>     [email protected]
> >>     <mailto:[email protected]>
> >>     https://lists.sourceforge.net/lists/listinfo/motion-user
> >>     <https://lists.sourceforge.net/lists/listinfo/motion-user>
> >>     http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
> >>     <http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome>
> >>
> >>
> >>
> >>
> >> ------------------------------------------------------------------------------
> >>
> >>
> >> _______________________________________________
> >> Motion-user mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/motion-user
> >> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
> >
> >
> >
> >
> > ------------------------------------------------------------------------------
> >
> >
> > _______________________________________________
> > Motion-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/motion-user
> > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome



------------------------------

Message: 2
Date: Sun, 7 Aug 2016 20:58:15 +0200
From: Thomas Drebert <[email protected]>
Subject: Re: [Motion-user] Motion input from File?
To: Motion discussion list <[email protected]>
Message-ID:
        <cann+32hy_rsdsxaec0w4yzskw8ovqnbmqb48fdc7fxnw5zw...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello,

yes i was wondering me too, rstp is on the documentary. But i have test
both, without success.
Here the Error log from rtsp:
o=- 15803695479910360468 15803695479910360468 IN IP4 tdlxsrv
s=Unnamed
i=N/A
c=IN IP4 0.0.0.0
t=0 0
a=tool:vlc 2.2.4
a=recvonly
a=type:broadcast
a=charset:UTF-8
a=control:rtsp://192.168.0.128:8554/stream.sdp
m=video 0 RTP/AVP 96
b=AS:3800
b=RR:0
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=3;
config=000001b001000001b58913000001000000012000c48d8800c52004601463000001b24c61766335362e36302e313030;
a=control:rtsp://192.168.0.128:8554/stream.sdp/trackID=0

regards
Thomas

2016-08-07 17:30 GMT+02:00 tosiara <[email protected]>:

> You have a typo - not RSTP, it should RTSP
>
> On Sun, Aug 7, 2016 at 5:59 PM, Thomas Drebert <[email protected]> wrote:
>
>> Helio,
>>
>> i have a Timelapse mpg Video capture with Motion.
>> I would like use this file as input for Motion,
>> but it does not work.
>>
>>
>> I tried it with VLC as streamer, with transcode or without.
>> As mpeg1, m-jpeg with http or rstp.
>> And direct as file.
>>
>> This is the Error:
>> [1] [ALR] [NET] [Aug 07 15:41:50] netcam_start: Network Camera thread
>> starting... for url (rstp://192.168.0.128:8554/stream.sdp)
>> [1] [CRT] [NET] [Aug 07 15:41:50] netcam_start: Invalid netcam_url
>> (rstp://192.168.0.128:8554/stream.sdp)
>>
>> if i use a other VLC with this URL, i can see the Video.
>>
>> What can i do?
>>
>> regards
>> Thomas
>>
>>
>> ------------------------------------------------------------
>> ------------------
>>
>> _______________________________________________
>> Motion-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/motion-user
>> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>>
>>
>
> ------------------------------------------------------------
> ------------------
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Sun, 7 Aug 2016 22:27:51 +0300
From: tosiara <[email protected]>
Subject: Re: [Motion-user] Motion input from File?
To: Motion discussion list <[email protected]>
Message-ID:
        <CACHTdwRqJkSDy-A0kvQELs=VQKQ8DvnAX1oXFR3Q96FFA=m...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Can you please update your motion config so url looks like rtsp:// (not
rstp://) and post your error log again?

On Sun, Aug 7, 2016 at 9:58 PM, Thomas Drebert <[email protected]> wrote:

> Hello,
>
> yes i was wondering me too, rstp is on the documentary. But i have test
> both, without success.
> Here the Error log from rtsp:
> o=- 15803695479910360468 15803695479910360468 IN IP4 tdlxsrv
> s=Unnamed
> i=N/A
> c=IN IP4 0.0.0.0
> t=0 0
> a=tool:vlc 2.2.4
> a=recvonly
> a=type:broadcast
> a=charset:UTF-8
> a=control:rtsp://192.168.0.128:8554/stream.sdp
> m=video 0 RTP/AVP 96
> b=AS:3800
> b=RR:0
> a=rtpmap:96 MP4V-ES/90000
> a=fmtp:96 profile-level-id=3; config=000001b001000001b5891300000100
> 0000012000c48d8800c52004601463000001b24c61766335362e36302e313030;
> a=control:rtsp://192.168.0.128:8554/stream.sdp/trackID=0
>
> regards
> Thomas
>
> 2016-08-07 17:30 GMT+02:00 tosiara <[email protected]>:
>
>> You have a typo - not RSTP, it should RTSP
>>
>> On Sun, Aug 7, 2016 at 5:59 PM, Thomas Drebert <[email protected]> wrote:
>>
>>> Helio,
>>>
>>> i have a Timelapse mpg Video capture with Motion.
>>> I would like use this file as input for Motion,
>>> but it does not work.
>>>
>>>
>>> I tried it with VLC as streamer, with transcode or without.
>>> As mpeg1, m-jpeg with http or rstp.
>>> And direct as file.
>>>
>>> This is the Error:
>>> [1] [ALR] [NET] [Aug 07 15:41:50] netcam_start: Network Camera thread
>>> starting... for url (rstp://192.168.0.128:8554/stream.sdp)
>>> [1] [CRT] [NET] [Aug 07 15:41:50] netcam_start: Invalid netcam_url
>>> (rstp://192.168.0.128:8554/stream.sdp)
>>>
>>> if i use a other VLC with this URL, i can see the Video.
>>>
>>> What can i do?
>>>
>>> regards
>>> Thomas
>>>
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>>
>>> _______________________________________________
>>> Motion-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/motion-user
>>> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>>>
>>>
>>
>> ------------------------------------------------------------
>> ------------------
>>
>> _______________________________________________
>> Motion-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/motion-user
>> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>>
>>
>
> ------------------------------------------------------------
> ------------------
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

------------------------------------------------------------------------------


------------------------------

_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user


End of Motion-user Digest, Vol 123, Issue 24
********************************************

Reply via email to