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: Motion Project (tosiara)
   2. Re: Motion Project (tosiara)
   3. Re: mpjpeg fails on wansview 1080p (Mr Dave)


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

Message: 1
Date: Sun, 7 Aug 2016 19:42:33 +0300
From: tosiara <[email protected]>
Subject: Re: [Motion-user] Motion Project
To: Motion discussion list <[email protected]>
Message-ID:
        <cachtdwreg5egksqoexvznv0-9elxuse4kokfdqqejolh7zx...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

John, what exactly is not clear? You specify codec and this codec is then
used to create video files.

On Aug 7, 2016 7:33 PM, "John Baker" <[email protected]> wrote:

> Is anyone able to help with the enquiry below?
>
> On Fri, Aug 5, 2016, at 07:01 AM, John Baker wrote:
> > Kenneth
> >
> > Thank you for all your hard work. Given you've done a lot of work on
> > documentation, please can I raise one point for your consideration &
> > clarification? How exactly does ffmpeg_video_codecformat work?  When do
> > I use flv over swf? The first part of the docs suggests it only has two
> > options, but then it talks about supported formats.
> >
> > Thanks!
> >
> > # Codec to used by ffmpeg for the video compression.
> > # Timelapse videos have two options.
> > #   swf - Creates swf file with mpeg-2 encoding.
> > #     If motion is shutdown and restarted, new pics will be appended
> > #     to any previously created file with name indicated for timelapse.
> > #   mpeg4 - Creates avi file with the default encoding.
> > #     If motion is shutdown and restarted, new pics will create a
> > #     new file with the name indicated for timelapse.
> > # Supported formats are:
> > # mpeg4 or msmpeg4 - gives you files with extension .avi
> > # msmpeg4 is recommended for use with Windows Media Player because
> > # it requires no installation of codec on the Windows client.
> > # swf - gives you a flash film with extension .swf
> > # flv - gives you a flash video with extension .flv
> > # ffv1 - FF video codec 1 for Lossless Encoding ( experimental )
> > # mov - QuickTime ( testing )
> > # ogg - Ogg/Theora ( testing )
> > # mp4 - MPEG-4 Part 14 H264 encoding
> > # mkv - Matroska H264 encoding
> > # hevc - H.265 / HEVC (High Efficiency Video Coding)
> > ffmpeg_video_codec mpeg4
>
> ------------------------------------------------------------
> ------------------
> _______________________________________________
> 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: 2
Date: Sun, 7 Aug 2016 19:55:21 +0300
From: tosiara <[email protected]>
Subject: Re: [Motion-user] Motion Project
To: Motion discussion list <[email protected]>
Message-ID:
        <cachtdwssuweno8wpcwjk5epbrkvf688hh+_sd7hy8w8wvzp...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Ah, I probably see what you mean. The same config option sets codec for
both video files and timelapse. And timelapse only supports two codecs. But
I may be wrong as I'm not using ffmpeg encoder and completely switched to
ext_pipe, so my codec is always set to swf in order to be able append
timelapse. And I recommend everyone to use external encoder instead of
internal

On Sun, Aug 7, 2016 at 7:42 PM, tosiara <[email protected]> wrote:

> John, what exactly is not clear? You specify codec and this codec is then
> used to create video files.
>
> On Aug 7, 2016 7:33 PM, "John Baker" <[email protected]> wrote:
>
>> Is anyone able to help with the enquiry below?
>>
>> On Fri, Aug 5, 2016, at 07:01 AM, John Baker wrote:
>> > Kenneth
>> >
>> > Thank you for all your hard work. Given you've done a lot of work on
>> > documentation, please can I raise one point for your consideration &
>> > clarification? How exactly does ffmpeg_video_codecformat work?  When do
>> > I use flv over swf? The first part of the docs suggests it only has two
>> > options, but then it talks about supported formats.
>> >
>> > Thanks!
>> >
>> > # Codec to used by ffmpeg for the video compression.
>> > # Timelapse videos have two options.
>> > #   swf - Creates swf file with mpeg-2 encoding.
>> > #     If motion is shutdown and restarted, new pics will be appended
>> > #     to any previously created file with name indicated for timelapse.
>> > #   mpeg4 - Creates avi file with the default encoding.
>> > #     If motion is shutdown and restarted, new pics will create a
>> > #     new file with the name indicated for timelapse.
>> > # Supported formats are:
>> > # mpeg4 or msmpeg4 - gives you files with extension .avi
>> > # msmpeg4 is recommended for use with Windows Media Player because
>> > # it requires no installation of codec on the Windows client.
>> > # swf - gives you a flash film with extension .swf
>> > # flv - gives you a flash video with extension .flv
>> > # ffv1 - FF video codec 1 for Lossless Encoding ( experimental )
>> > # mov - QuickTime ( testing )
>> > # ogg - Ogg/Theora ( testing )
>> > # mp4 - MPEG-4 Part 14 H264 encoding
>> > # mkv - Matroska H264 encoding
>> > # hevc - H.265 / HEVC (High Efficiency Video Coding)
>> > ffmpeg_video_codec mpeg4
>>
>> ------------------------------------------------------------
>> ------------------
>> _______________________________________________
>> 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 10:56:54 -0600
From: Mr Dave <[email protected]>
Subject: Re: [Motion-user] mpjpeg fails on wansview 1080p
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="windows-1252"

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


-------------- 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 21
********************************************

Reply via email to