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 4.0.1 trouble with WEB on FreeBSD (Alex V. Petrov)
2. Re: Motion 4.0.1 trouble with WEB on FreeBSD (Joseph Heenan)
3. Re: Motion 4.0.1 trouble with WEB on FreeBSD (Alex V. Petrov)
----------------------------------------------------------------------
Message: 1
Date: Wed, 28 Dec 2016 18:12:52 +0700
From: "Alex V. Petrov" <[email protected]>
Subject: Re: [Motion-user] Motion 4.0.1 trouble with WEB on FreeBSD
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
I can not build motion from source.
Because for FreeBSD it has some patches.
I install the motion from FriiBSD ports.
These patches can be seen here:
https://svnweb.freebsd.org/ports/head/multimedia/motion/files/
28.12.2016 17:47, Joseph Heenan ?????:
> Hi,
>
> There were problems with the networking on 4.0.1 on BSD; can you try from
> master instead please?
>
> Joseph
>
>> On 28 Dec 2016, at 08:58, Alex V. Petrov <[email protected]> wrote:
>>
>> Hi!
>>
>> New motion-4.0.1
>> Trying to run a web interface results in an error:
>>
>> [0:] [NTC] [ALL] [Dec 18 20:49:58] motion_startup: Using log type (ALL)
>> log level (ALL)
>> [0:] [NTC] [ENC] [Dec 18 20:49:58] ffmpeg_init: ffmpeg libavcodec
>> version 57.64.101 libavformat version 57.56.100
>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Motion running in setup mode.
>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 1 is from
>> /usr/local/etc/motion/camera1.conf
>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 1 is device: /dev/bktr0
>> input -1
>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Stream port 8081
>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 2 is from
>> /usr/local/etc/motion/camera2.conf
>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 2 is device: /dev/bktr1
>> input -1
>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Stream port 8082
>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Waiting for threads to finish,
>> pid: 43548
>> [1:] [NTC] [ALL] [Dec 18 20:49:58] motion_init: Camera 1 started: motion
>> detection Enabled
>> [1:] [NTC] [VID] [Dec 18 20:49:58] vid_start: [/dev/bktr0]
>> [2:] [NTC] [ALL] [Dec 18 20:49:58] motion_init: Camera 2 started: motion
>> detection Enabled
>> [2:] [NTC] [VID] [Dec 18 20:49:58] vid_start: [/dev/bktr1]
>> [1:] [ERR] [VID] [Dec 18 20:49:58] set_input: Channel Port -1 out of
>> range (0-4)
>> [1:] [NTC] [VID] [Dec 18 20:49:58] v4l_start: set input [-1]
>> [1:] [WRN] [ALL] [Dec 18 20:49:58] motion_init: Could not fetch initial
>> image from camera Motion continues using width and height from config
>> file(s)
>> [1:] [NTC] [ALL] [Dec 18 20:49:58] image_ring_resize: Resizing
>> pre_capture buffer to 1 items
>> [2:] [ERR] [VID] [Dec 18 20:49:58] set_input: Channel Port -1 out of
>> range (0-4)
>> [2:] [NTC] [VID] [Dec 18 20:49:58] v4l_start: set input [-1]
>> [2:] [WRN] [ALL] [Dec 18 20:49:58] motion_init: Could not fetch initial
>> image from camera Motion continues using width and height from config
>> file(s)
>> [2:] [NTC] [ALL] [Dec 18 20:49:58] image_ring_resize: Resizing
>> pre_capture buffer to 1 items
>> [1:] [NTC] [STR] [Dec 18 20:49:58] http_bindsock: error binding on
>> 127.0.0.1 port 8081
>> [2:] [NTC] [STR] [Dec 18 20:49:58] http_bindsock: error binding on
>> 127.0.0.1 port 8082
>> [1:] [ERR] [ALL] [Dec 18 20:49:58] motion_init: Problem enabling
>> motion-stream server in port 8081: Invalid argument
>> [2:] [ERR] [ALL] [Dec 18 20:49:58] motion_init: Problem enabling
>> motion-stream server in port 8082: Invalid argument
>> [1:] [NTC] [ALL] [Dec 18 20:49:58] motion_loop: Thread exiting
>> [2:] [NTC] [ALL] [Dec 18 20:49:58] motion_loop: Thread exiting
>>
>>
>> --
>> -----
>> Alex.
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> _______________________________________________
>> 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
>>
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>
>
>
> _______________________________________________
> 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
>
--
-----
Alex.
------------------------------
Message: 2
Date: Wed, 28 Dec 2016 12:04:09 +0000
From: Joseph Heenan <[email protected]>
Subject: Re: [Motion-user] Motion 4.0.1 trouble with WEB on FreeBSD
To: Motion discussion list <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
As far as I know, people have successfully used the source code on master on
FreeBSD.
Did you try building it from source? What error did you get?
The patches I see in your link unfortunately seem to be at least partly
unnecessary (reindenting code), partly incomplete (missing critical fixes to
get 4.0.1 working on FreeBSD like
https://github.com/Motion-Project/motion/commit/841f8500d6a8bd60c42fd15f1676aac857d9da67),
and haven't (to the best of my knowledge) been submitted back to upstream.
Joseph
> On 28 Dec 2016, at 11:12, Alex V. Petrov <[email protected]> wrote:
>
> I can not build motion from source.
> Because for FreeBSD it has some patches.
> I install the motion from FriiBSD ports.
> These patches can be seen here:
> https://svnweb.freebsd.org/ports/head/multimedia/motion/files/
>
> 28.12.2016 17:47, Joseph Heenan ?????:
>> Hi,
>>
>> There were problems with the networking on 4.0.1 on BSD; can you try from
>> master instead please?
>>
>> Joseph
>>
>>> On 28 Dec 2016, at 08:58, Alex V. Petrov <[email protected]> wrote:
>>>
>>> Hi!
>>>
>>> New motion-4.0.1
>>> Trying to run a web interface results in an error:
>>>
>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] motion_startup: Using log type (ALL)
>>> log level (ALL)
>>> [0:] [NTC] [ENC] [Dec 18 20:49:58] ffmpeg_init: ffmpeg libavcodec
>>> version 57.64.101 libavformat version 57.56.100
>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Motion running in setup mode.
>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 1 is from
>>> /usr/local/etc/motion/camera1.conf
>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 1 is device: /dev/bktr0
>>> input -1
>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Stream port 8081
>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 2 is from
>>> /usr/local/etc/motion/camera2.conf
>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 2 is device: /dev/bktr1
>>> input -1
>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Stream port 8082
>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Waiting for threads to finish,
>>> pid: 43548
>>> [1:] [NTC] [ALL] [Dec 18 20:49:58] motion_init: Camera 1 started: motion
>>> detection Enabled
>>> [1:] [NTC] [VID] [Dec 18 20:49:58] vid_start: [/dev/bktr0]
>>> [2:] [NTC] [ALL] [Dec 18 20:49:58] motion_init: Camera 2 started: motion
>>> detection Enabled
>>> [2:] [NTC] [VID] [Dec 18 20:49:58] vid_start: [/dev/bktr1]
>>> [1:] [ERR] [VID] [Dec 18 20:49:58] set_input: Channel Port -1 out of
>>> range (0-4)
>>> [1:] [NTC] [VID] [Dec 18 20:49:58] v4l_start: set input [-1]
>>> [1:] [WRN] [ALL] [Dec 18 20:49:58] motion_init: Could not fetch initial
>>> image from camera Motion continues using width and height from config
>>> file(s)
>>> [1:] [NTC] [ALL] [Dec 18 20:49:58] image_ring_resize: Resizing
>>> pre_capture buffer to 1 items
>>> [2:] [ERR] [VID] [Dec 18 20:49:58] set_input: Channel Port -1 out of
>>> range (0-4)
>>> [2:] [NTC] [VID] [Dec 18 20:49:58] v4l_start: set input [-1]
>>> [2:] [WRN] [ALL] [Dec 18 20:49:58] motion_init: Could not fetch initial
>>> image from camera Motion continues using width and height from config
>>> file(s)
>>> [2:] [NTC] [ALL] [Dec 18 20:49:58] image_ring_resize: Resizing
>>> pre_capture buffer to 1 items
>>> [1:] [NTC] [STR] [Dec 18 20:49:58] http_bindsock: error binding on
>>> 127.0.0.1 port 8081
>>> [2:] [NTC] [STR] [Dec 18 20:49:58] http_bindsock: error binding on
>>> 127.0.0.1 port 8082
>>> [1:] [ERR] [ALL] [Dec 18 20:49:58] motion_init: Problem enabling
>>> motion-stream server in port 8081: Invalid argument
>>> [2:] [ERR] [ALL] [Dec 18 20:49:58] motion_init: Problem enabling
>>> motion-stream server in port 8082: Invalid argument
>>> [1:] [NTC] [ALL] [Dec 18 20:49:58] motion_loop: Thread exiting
>>> [2:] [NTC] [ALL] [Dec 18 20:49:58] motion_loop: Thread exiting
>>>
>>>
>>> --
>>> -----
>>> Alex.
>>>
>>> ------------------------------------------------------------------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> 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
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>>
>>
>>
>> _______________________________________________
>> 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
>>
>
> --
> -----
> Alex.
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> 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 --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3577 bytes
Desc: not available
------------------------------
Message: 3
Date: Wed, 28 Dec 2016 20:14:11 +0700
From: "Alex V. Petrov" <[email protected]>
Subject: Re: [Motion-user] Motion 4.0.1 trouble with WEB on FreeBSD
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
Dmitry Marakasov (amdmi3 on FreeBSD.org) provided a working patch:
https://people.freebsd.org/~amdmi3/motion2/patch-stream.c
28.12.2016 19:04, Joseph Heenan ?????:
>
> As far as I know, people have successfully used the source code on master on
> FreeBSD.
>
> Did you try building it from source? What error did you get?
>
> The patches I see in your link unfortunately seem to be at least partly
> unnecessary (reindenting code), partly incomplete (missing critical fixes to
> get 4.0.1 working on FreeBSD like
> https://github.com/Motion-Project/motion/commit/841f8500d6a8bd60c42fd15f1676aac857d9da67),
> and haven't (to the best of my knowledge) been submitted back to upstream.
>
> Joseph
>
>
>
>> On 28 Dec 2016, at 11:12, Alex V. Petrov <[email protected]> wrote:
>>
>> I can not build motion from source.
>> Because for FreeBSD it has some patches.
>> I install the motion from FriiBSD ports.
>> These patches can be seen here:
>> https://svnweb.freebsd.org/ports/head/multimedia/motion/files/
>>
>> 28.12.2016 17:47, Joseph Heenan ?????:
>>> Hi,
>>>
>>> There were problems with the networking on 4.0.1 on BSD; can you try from
>>> master instead please?
>>>
>>> Joseph
>>>
>>>> On 28 Dec 2016, at 08:58, Alex V. Petrov <[email protected]> wrote:
>>>>
>>>> Hi!
>>>>
>>>> New motion-4.0.1
>>>> Trying to run a web interface results in an error:
>>>>
>>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] motion_startup: Using log type (ALL)
>>>> log level (ALL)
>>>> [0:] [NTC] [ENC] [Dec 18 20:49:58] ffmpeg_init: ffmpeg libavcodec
>>>> version 57.64.101 libavformat version 57.56.100
>>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Motion running in setup mode.
>>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 1 is from
>>>> /usr/local/etc/motion/camera1.conf
>>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 1 is device: /dev/bktr0
>>>> input -1
>>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Stream port 8081
>>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 2 is from
>>>> /usr/local/etc/motion/camera2.conf
>>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Camera 2 is device: /dev/bktr1
>>>> input -1
>>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Stream port 8082
>>>> [0:] [NTC] [ALL] [Dec 18 20:49:58] main: Waiting for threads to finish,
>>>> pid: 43548
>>>> [1:] [NTC] [ALL] [Dec 18 20:49:58] motion_init: Camera 1 started: motion
>>>> detection Enabled
>>>> [1:] [NTC] [VID] [Dec 18 20:49:58] vid_start: [/dev/bktr0]
>>>> [2:] [NTC] [ALL] [Dec 18 20:49:58] motion_init: Camera 2 started: motion
>>>> detection Enabled
>>>> [2:] [NTC] [VID] [Dec 18 20:49:58] vid_start: [/dev/bktr1]
>>>> [1:] [ERR] [VID] [Dec 18 20:49:58] set_input: Channel Port -1 out of
>>>> range (0-4)
>>>> [1:] [NTC] [VID] [Dec 18 20:49:58] v4l_start: set input [-1]
>>>> [1:] [WRN] [ALL] [Dec 18 20:49:58] motion_init: Could not fetch initial
>>>> image from camera Motion continues using width and height from config
>>>> file(s)
>>>> [1:] [NTC] [ALL] [Dec 18 20:49:58] image_ring_resize: Resizing
>>>> pre_capture buffer to 1 items
>>>> [2:] [ERR] [VID] [Dec 18 20:49:58] set_input: Channel Port -1 out of
>>>> range (0-4)
>>>> [2:] [NTC] [VID] [Dec 18 20:49:58] v4l_start: set input [-1]
>>>> [2:] [WRN] [ALL] [Dec 18 20:49:58] motion_init: Could not fetch initial
>>>> image from camera Motion continues using width and height from config
>>>> file(s)
>>>> [2:] [NTC] [ALL] [Dec 18 20:49:58] image_ring_resize: Resizing
>>>> pre_capture buffer to 1 items
>>>> [1:] [NTC] [STR] [Dec 18 20:49:58] http_bindsock: error binding on
>>>> 127.0.0.1 port 8081
>>>> [2:] [NTC] [STR] [Dec 18 20:49:58] http_bindsock: error binding on
>>>> 127.0.0.1 port 8082
>>>> [1:] [ERR] [ALL] [Dec 18 20:49:58] motion_init: Problem enabling
>>>> motion-stream server in port 8081: Invalid argument
>>>> [2:] [ERR] [ALL] [Dec 18 20:49:58] motion_init: Problem enabling
>>>> motion-stream server in port 8082: Invalid argument
>>>> [1:] [NTC] [ALL] [Dec 18 20:49:58] motion_loop: Thread exiting
>>>> [2:] [NTC] [ALL] [Dec 18 20:49:58] motion_loop: Thread exiting
>>>>
>>>>
>>>> --
>>>> -----
>>>> Alex.
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Check out the vibrant tech community on one of the world's most
>>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>>>> _______________________________________________
>>>> 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
>>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>
>> --
>> -----
>> Alex.
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> _______________________________________________
>> 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
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>
>
>
> _______________________________________________
> 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
>
--
-----
Alex.
------------------------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
------------------------------
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
End of Motion-user Digest, Vol 127, Issue 12
********************************************