new multimedia/motion problem

Alex V. Petrov alexvpetrov at gmail.com
Sun Dec 18 13:51:48 UTC 2016


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.


More information about the freebsd-ports mailing list