Send Motion-user mailing list submissions to motion-user@lists.sourceforge.net
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 motion-user-requ...@lists.sourceforge.net You can reach the person managing the list at motion-user-ow...@lists.sourceforge.net 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 (Joseph Heenan) 2. Re: Motion 4.0.1 trouble with WEB on FreeBSD (Alex V. Petrov) 3. Re: Motion 4.0.1 trouble with WEB on FreeBSD (Alex V. Petrov) ---------------------------------------------------------------------- Message: 1 Date: Wed, 28 Dec 2016 10:47:25 +0000 From: Joseph Heenan <jos...@heenan.me.uk> Subject: Re: [Motion-user] Motion 4.0.1 trouble with WEB on FreeBSD To: Motion discussion list <motion-user@lists.sourceforge.net> Message-ID: <8490846a-1297-4c5f-9013-937dbc506...@heenan.me.uk> Content-Type: text/plain; charset="us-ascii" 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 <alexvpet...@gmail.com> 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 > Motion-user@lists.sourceforge.net > 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: 2 Date: Wed, 28 Dec 2016 18:03:24 +0700 From: "Alex V. Petrov" <alexvpet...@gmail.com> Subject: Re: [Motion-user] Motion 4.0.1 trouble with WEB on FreeBSD To: motion-user@lists.sourceforge.net Message-ID: <cbbb4b94-d89c-b6ab-d348-9906aa468...@gmail.com> Content-Type: text/plain; charset=utf-8 # motion -c /usr/local/etc/motion/motion.conf -d 9 [0:] [NTC] [ALL] [Dec 28 17:59:45] motion_startup: Using log type (ALL) log level (ALL) [0:] [NTC] [ENC] [Dec 28 17:59:45] ffmpeg_init: ffmpeg libavcodec version 57.64.101 libavformat version 57.56.100 [0:] [NTC] [ALL] [Dec 28 17:59:45] main: Motion running in setup mode. [0:] [NTC] [ALL] [Dec 28 17:59:45] main: Camera 1 is from /usr/local/etc/motion/camera1.conf [0:] [NTC] [ALL] [Dec 28 17:59:45] main: Camera 1 is device: /dev/bktr0 input 0 [0:] [NTC] [ALL] [Dec 28 17:59:45] main: Stream port 8081 [0:] [NTC] [ALL] [Dec 28 17:59:45] main: Camera 2 is from /usr/local/etc/motion/camera2.conf [0:] [NTC] [ALL] [Dec 28 17:59:45] main: Camera 2 is device: /dev/bktr1 input 0 [0:] [NTC] [ALL] [Dec 28 17:59:45] main: Stream port 8082 [0:] [NTC] [ALL] [Dec 28 17:59:45] main: Waiting for threads to finish, pid: 80160 [1:] [NTC] [ALL] [Dec 28 17:59:45] motion_init: Camera 1 started: motion detection Enabled [1:] [NTC] [VID] [Dec 28 17:59:45] vid_start: [/dev/bktr0] [2:] [NTC] [ALL] [Dec 28 17:59:45] motion_init: Camera 2 started: motion detection Enabled [2:] [NTC] [VID] [Dec 28 17:59:45] vid_start: [/dev/bktr1] [1:] [NTC] [VID] [Dec 28 17:59:45] set_input: to [0] [1:] [NTC] [VID] [Dec 28 17:59:45] set_input_format: to 0 [0:] [NTC] [STR] [Dec 28 17:59:45] http_bindsock: error binding on 127.0.0.1 port 8079 [1:] [NTC] [VID] [Dec 28 17:59:45] set_geometry: to [640/480] Norm 0 [0:] [NTC] [STR] [Dec 28 17:59:45] motion_web_control: motion-httpd thread exit [1:] [NTC] [VID] [Dec 28 17:59:45] v4l_start: METEORCAPTUR METEOR_CAP_CONTINOUS [1:] [NTC] [VID] [Dec 28 17:59:46] get_hue: to [0] [1:] [NTC] [VID] [Dec 28 17:59:46] v4l_start: HUE [0] [1:] [NTC] [VID] [Dec 28 17:59:46] get_saturation: to [90] [1:] [NTC] [VID] [Dec 28 17:59:46] v4l_start: SATURATION [90] [1:] [NTC] [VID] [Dec 28 17:59:46] get_brightness: to [0] [1:] [NTC] [VID] [Dec 28 17:59:46] v4l_start: BRIGHTNESS [0] [1:] [NTC] [VID] [Dec 28 17:59:46] get_contrast: to [108] [1:] [NTC] [VID] [Dec 28 17:59:46] v4l_start: CONTRAST [108] [1:] [NTC] [VID] [Dec 28 17:59:46] vid_start: VIDEO_PALETTE_YUV420P imgs.type [1:] [NTC] [ALL] [Dec 28 17:59:46] image_ring_resize: Resizing pre_capture buffer to 1 items [2:] [NTC] [VID] [Dec 28 17:59:46] set_input: to [0] [2:] [NTC] [VID] [Dec 28 17:59:46] set_input_format: to 0 [2:] [NTC] [VID] [Dec 28 17:59:46] set_geometry: to [640/480] Norm 0 [2:] [NTC] [VID] [Dec 28 17:59:46] v4l_start: METEORCAPTUR METEOR_CAP_CONTINOUS [2:] [NTC] [VID] [Dec 28 17:59:47] get_hue: to [0] [2:] [NTC] [VID] [Dec 28 17:59:47] v4l_start: HUE [0] [2:] [NTC] [VID] [Dec 28 17:59:47] get_saturation: to [90] [2:] [NTC] [VID] [Dec 28 17:59:47] v4l_start: SATURATION [90] [2:] [NTC] [VID] [Dec 28 17:59:47] get_brightness: to [0] [2:] [NTC] [VID] [Dec 28 17:59:47] v4l_start: BRIGHTNESS [0] [2:] [NTC] [VID] [Dec 28 17:59:47] get_contrast: to [108] [2:] [NTC] [VID] [Dec 28 17:59:47] v4l_start: CONTRAST [108] [2:] [NTC] [VID] [Dec 28 17:59:47] vid_start: VIDEO_PALETTE_YUV420P imgs.type [2:] [NTC] [ALL] [Dec 28 17:59:47] image_ring_resize: Resizing pre_capture buffer to 1 items [1:] [NTC] [STR] [Dec 28 17:59:47] http_bindsock: error binding on 127.0.0.1 port 8081 [1:] [ERR] [ALL] [Dec 28 17:59:47] motion_init: Problem enabling motion-stream server in port 8081: Invalid argument [1:] [NTC] [ALL] [Dec 28 17:59:47] motion_loop: Thread exiting [1:] [INF] [ALL] [Dec 28 17:59:47] motion_cleanup: Calling vid_close() from motion_cleanup [1:] [NTC] [VID] [Dec 28 17:59:47] vid_close: Closing video device /dev/bktr0 [2:] [NTC] [STR] [Dec 28 17:59:47] http_bindsock: error binding on 127.0.0.1 port 8082 [2:] [ERR] [ALL] [Dec 28 17:59:47] motion_init: Problem enabling motion-stream server in port 8082: Invalid argument [2:] [NTC] [ALL] [Dec 28 17:59:47] motion_loop: Thread exiting [2:] [INF] [ALL] [Dec 28 17:59:47] motion_cleanup: Calling vid_close() from motion_cleanup [2:] [NTC] [VID] [Dec 28 17:59:47] vid_close: Closing video device /dev/bktr1 [0:] [NTC] [ALL] [Dec 28 17:59:47] main: Motion thread 1 restart [0:] [NTC] [ALL] [Dec 28 17:59:47] main: Motion thread 2 restart [1:] [NTC] [ALL] [Dec 28 17:59:47] motion_init: Camera 1 started: motion detection Enabled [2:] [NTC] [ALL] [Dec 28 17:59:47] motion_init: Camera 2 started: motion detection Enabled [1:] [NTC] [VID] [Dec 28 17:59:47] vid_start: [/dev/bktr0] [2:] [NTC] [VID] [Dec 28 17:59:47] vid_start: [/dev/bktr1] [1:] [NTC] [VID] [Dec 28 17:59:47] set_input: to [0] [1:] [NTC] [VID] [Dec 28 17:59:47] set_input_format: to 0 [1:] [NTC] [VID] [Dec 28 17:59:47] set_geometry: to [640/480] Norm 0 [1:] [NTC] [VID] [Dec 28 17:59:47] v4l_start: METEORCAPTUR METEOR_CAP_CONTINOUS [1:] [NTC] [VID] [Dec 28 17:59:48] get_hue: to [0] [1:] [NTC] [VID] [Dec 28 17:59:48] v4l_start: HUE [0] [1:] [NTC] [VID] [Dec 28 17:59:48] get_saturation: to [90] [1:] [NTC] [VID] [Dec 28 17:59:48] v4l_start: SATURATION [90] [1:] [NTC] [VID] [Dec 28 17:59:48] get_brightness: to [0] [1:] [NTC] [VID] [Dec 28 17:59:48] v4l_start: BRIGHTNESS [0] [1:] [NTC] [VID] [Dec 28 17:59:48] get_contrast: to [108] [1:] [NTC] [VID] [Dec 28 17:59:48] v4l_start: CONTRAST [108] [1:] [NTC] [VID] [Dec 28 17:59:48] vid_start: VIDEO_PALETTE_YUV420P imgs.type [1:] [NTC] [ALL] [Dec 28 17:59:48] image_ring_resize: Resizing pre_capture buffer to 1 items [2:] [NTC] [VID] [Dec 28 17:59:48] set_input: to [0] [2:] [NTC] [VID] [Dec 28 17:59:48] set_input_format: to 0 [2:] [NTC] [VID] [Dec 28 17:59:48] set_geometry: to [640/480] Norm 0 [2:] [NTC] [VID] [Dec 28 17:59:48] v4l_start: METEORCAPTUR METEOR_CAP_CONTINOUS [2:] [NTC] [VID] [Dec 28 17:59:49] get_hue: to [0] [2:] [NTC] [VID] [Dec 28 17:59:49] v4l_start: HUE [0] [2:] [NTC] [VID] [Dec 28 17:59:49] get_saturation: to [90] [2:] [NTC] [VID] [Dec 28 17:59:49] v4l_start: SATURATION [90] [2:] [NTC] [VID] [Dec 28 17:59:49] get_brightness: to [0] [2:] [NTC] [VID] [Dec 28 17:59:49] v4l_start: BRIGHTNESS [0] [2:] [NTC] [VID] [Dec 28 17:59:49] get_contrast: to [108] [2:] [NTC] [VID] [Dec 28 17:59:49] v4l_start: CONTRAST [108] [2:] [NTC] [VID] [Dec 28 17:59:49] vid_start: VIDEO_PALETTE_YUV420P imgs.type [2:] [NTC] [ALL] [Dec 28 17:59:49] image_ring_resize: Resizing pre_capture buffer to 1 items [1:] [NTC] [STR] [Dec 28 17:59:49] http_bindsock: error binding on 127.0.0.1 port 8081 [1:] [ERR] [ALL] [Dec 28 17:59:49] motion_init: Problem enabling motion-stream server in port 8081: Invalid argument [1:] [NTC] [ALL] [Dec 28 17:59:49] motion_loop: Thread exiting [1:] [INF] [ALL] [Dec 28 17:59:49] motion_cleanup: Calling vid_close() from motion_cleanup [1:] [NTC] [VID] [Dec 28 17:59:49] vid_close: Closing video device /dev/bktr0 28.12.2016 17:05, tosiara ?????: > Can increase logging (-d 7) and share full log? > > On Wed, Dec 28, 2016 at 11:35 AM, Alex V. Petrov <alexvpet...@gmail.com> > wrote: >> This as root. >> Ports available, don't busy. >> >> 28.12.2016 16:22, tosiara ?????: >>> 8081 port may be already in use or user does not have permission to >>> listen on that port. >>> As a test - try to run motion as root >>> >>> Also note that motion is not able to fetch video from your specified camera >>> >>> On Wed, Dec 28, 2016 at 10:58 AM, Alex V. Petrov <alexvpet...@gmail.com> >>> 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 >>>> Motion-user@lists.sourceforge.net >>>> 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 >>> Motion-user@lists.sourceforge.net >>> 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 >> Motion-user@lists.sourceforge.net >> 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 > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > -- ----- Alex. ------------------------------ Message: 3 Date: Wed, 28 Dec 2016 18:05:34 +0700 From: "Alex V. Petrov" <alexvpet...@gmail.com> Subject: Re: [Motion-user] Motion 4.0.1 trouble with WEB on FreeBSD To: motion-user@lists.sourceforge.net Message-ID: <f10eddfd-103b-f20d-e355-07fa221e2...@gmail.com> Content-Type: text/plain; charset=UTF-8 Sorry, I did not understand what should I do? 28.12.2016 17:47, Joseph Heenan ?????: > There were problems with the networking on 4.0.1 on BSD; can you try from > master instead please? -- ----- 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 Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user End of Motion-user Digest, Vol 127, Issue 11 ********************************************