Giter VIP home page Giter VIP logo

motioneye's People

Contributors

areanod avatar badele avatar bob-lee avatar cclauss avatar ccrisan avatar davided8 avatar dependabot[bot] avatar dermotduffy avatar el97 avatar github-actions[bot] avatar hawtdogflvrwtr avatar hdavid0510 avatar hzt1234hf avatar jmichault avatar jose1711 avatar kleini avatar krakowski avatar lukasig avatar marcelcoding avatar michaing avatar mrnt avatar nuke142 avatar sf-206 avatar tunkio avatar ualex73 avatar vlsarro avatar weblate avatar xitee1 avatar yurnov avatar zagrim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

motioneye's Issues

./configure

HI Chrisan,

Tried with git mrdave branch of motion and the following command;
cd [your-motion-dir]
./configure --prefix=/usr --without-pgsql --without-sdl --without-sqlite3 --without-mysql

However, it said no such file /directory.
peng@cac:~/motion$ ./configure --prefix=/usr --without-pgsql --without-sdl --without-sqlite3 --without-mysql
-bash: ./configure: No such file or directory

Any thoughts on this?

I was trying to use a small form factor PC to be a central server to manage all remote pie cam and do a central storage and capture.

Please let me know.

thanks in advance
peng

Running motioneye as non-root

With previous versions is was easy to start the service as non-root user. How can it be done since ver. 0.27 where meyectl is used for controlling the service?

Message: An error occurred. Refreshing recommended.

Using 0.27.2 on a raspberrypi2...

I started getting this message right after upgrading motion from what is in the wheezy distribution to the Mr-Dave fork version. I am no longer able to add and save any camera and keep getting this message. I did uninstall the old version before compiling the new.

No camera configuration works. I had used http://192.168.2.9:88/videoSub with user name and password in the appropriate boxes.

By the way, I did have the camera working in 0.27.2 (but not with rtsp) with the old version of motion from the distribution.

As this tool does not seem to allow me to attach a text file, let me copy and paste part of the log file:

2015-09-13 23:06:17: [motioneye] ERROR: 500 GET /config/list/?_=1442178377588 (127.0.0.1) 12.35ms
2015-09-13 23:10:43: [motioneye] ERROR: 'stream_localhost'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1369, in _stack_context_handle_exception
raise_exc_info((type, value, traceback))
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1572, in wrapper
result = method(self, _args, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/motioneye/handlers.py", line 175, in get
self.list()
File "/usr/local/lib/python2.7/dist-packages/motioneye/handlers.py", line 121, in wrapper
return func(self, _args, *kwargs)
File "/usr/local/lib/python2.7/dist-packages/motioneye/handlers.py", line 590, in list
ui_config = config.motion_camera_dict_to_ui(local_config)
File "/usr/local/lib/python2.7/dist-packages/motioneye/config.py", line 929, in motion_camera_dict_to_ui
'video_streaming': not data['stream_localhost'],
KeyError: 'stream_localhost'
2015-09-13 23:10:43: [motioneye] ERROR: 500 GET /config/list/?
=1442178643356 (127.0.0.1) 12.14ms
2015-09-13 23:25:35: [motioneye] ERROR: 'stream_localhost'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1369, in _stack_context_handle_exception
raise_exc_info((type, value, traceback))
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1572, in wrapper
result = method(self, _args, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/motioneye/handlers.py", line 175, in get
self.list()
File "/usr/local/lib/python2.7/dist-packages/motioneye/handlers.py", line 121, in wrapper
return func(self, _args, *kwargs)
File "/usr/local/lib/python2.7/dist-packages/motioneye/handlers.py", line 590, in list
ui_config = config.motion_camera_dict_to_ui(local_config)
File "/usr/local/lib/python2.7/dist-packages/motioneye/config.py", line 929, in motion_camera_dict_to_ui
'video_streaming': not data['stream_localhost'],
KeyError: 'stream_localhost'
2015-09-13 23:25:35: [motioneye] ERROR: 500 GET /config/list/?
=1442179535568&_username=admin&_signature=8628f341bfbc29406fe41b04ce2563d0e3f407f6 (127.0.0.1) 12.75ms
2015-09-13 23:27:03: [motioneye] INFO: adding new camera with id 8...
2015-09-13 23:27:10: [motioneye] ERROR: 'stream_localhost'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1369, in _stack_context_handle_exception
raise_exc_info((type, value, traceback))
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1572, in wrapper
result = method(self, _args, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/motioneye/handlers.py", line 175, in get
self.list()
File "/usr/local/lib/python2.7/dist-packages/motioneye/handlers.py", line 121, in wrapper
return func(self, _args, *kwargs)
File "/usr/local/lib/python2.7/dist-packages/motioneye/handlers.py", line 590, in list
ui_config = config.motion_camera_dict_to_ui(local_config)
File "/usr/local/lib/python2.7/dist-packages/motioneye/config.py", line 929, in motion_camera_dict_to_ui
'video_streaming': not data['stream_localhost'],
KeyError: 'stream_localhost'
2015-09-13 23:27:10: [motioneye] ERROR: 500 GET /config/list/?
=1442179629052&_username=admin&_signature=5715499591c41e3d0e41483e828611078ffaee4f (127.0.0.1) 11.67ms
2015-09-13 23:33:24: [motioneye] INFO: interrupt signal received, shutting down...
2015-09-13 23:33:24: [motioneye] INFO: server stopped
2015-09-13 23:33:27: [motioneye] INFO: motion stopped
2015-09-13 23:33:27: [motioneye] INFO: bye!
2015-09-13 23:33:27: [relayevent] ERROR: failed to relay event: [Errno socket error] [Errno 104] Connection reset by peer
2015-09-13 23:33:27: [relayevent] ERROR: failed to relay event: [Errno socket error] [Errno 104] Connection reset by peer
2015-09-13 23:33:27: [relayevent] ERROR: failed to relay event: [Errno socket error] [Errno 104] Connection reset by peer
2015-09-13 23:33:27: [relayevent] ERROR: failed to relay event: [Errno socket error] [Errno 104] Connection reset by peer
2015-09-13 23:33:27: [relayevent] ERROR: failed to relay event: [Errno socket error] [Errno 104] Connection reset by peer
2015-09-13 23:33:27: [relayevent] ERROR: failed to relay event: [Errno socket error] [Errno 104] Connection reset by peer
2015-09-13 23:33:27: [relayevent] ERROR: failed to relay event: [Errno socket error] [Errno 111] Connection refused
2015-09-13 23:33:27: [relayevent] ERROR: failed to relay event: [Errno socket error] [Errno 111] Connection refused
2015-09-13 23:33:45: [motioneye] INFO: hello! this is motionEye server 0.27.2
2015-09-13 23:33:45: [motioneye] INFO: motion not installed

Error in service start

Hello, I have this error, i follow this guide https://github.com/ccrisan/motioneye/wiki/Install-On-Raspbian and install motion-mrdave, Raspbian Jessie, Rpi 2 B

pi@raspberrypi ~/motioneye/extra $ sudo /etc/init.d/motioneye start
[....] Starting motioneye (via systemctl): motioneye.serviceJob for motioneye.service failed. See 'systemctl status motioneye.service' and 'journalctl -xn' for details.
failed!

pi@raspberrypi ~/motioneye/extra $ sudo systemctl status motioneye.service
โ— motioneye.service - LSB: Start the motionEye server
Loaded: loaded (/etc/init.d/motioneye)
Active: failed (Result: exit-code) since Tue 2015-10-20 06:32:35 UTC; 3min 24s ago
Process: 5843 ExecStart=/etc/init.d/motioneye start (code=exited, status=1/FAILURE)

Oct 20 06:32:35 raspberrypi motioneye[5843]: Starting motionEye server:CRITICAL:root:failed to read settings from "/etc/motioneye/motioneye.conf": unknown configuration option: motion_control_localhost
Oct 20 06:32:35 raspberrypi motioneye[5843]: failed!
Oct 20 06:32:35 raspberrypi systemd[1]: motioneye.service: control process exited, code=exited status=1
Oct 20 06:32:35 raspberrypi systemd[1]: Failed to start LSB: Start the motionEye server.
Oct 20 06:32:35 raspberrypi systemd[1]: Unit motioneye.service entered failed state.

Ip Camera broken pipe

Hi,
i have a problem with motioneye and my nsc18-wn ipcam.
This ip camera has a url for mjpeg stream such as http://[ip]/loginfree.jpg.
I use this url in motion eye and for some time it works but toda i get this error in log file:

[0] Processing thread 0 - config file /home/pi/motioneye/conf/motion.conf
[0] Processing config file thread-1.conf
[0] Unknown config option "locate_motion_style"
[0] Processing config file thread-2.conf
[0] Unknown config option "locate_motion_style"
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478785
[0] Thread 1 is from thread-1.conf
[0] Thread 2 is from thread-2.conf
[1] Thread 1 started
[1] cap.driver: "uvcvideo"
[1] cap.card: "Trust Webcam"
[2] Thread 2 started
[0] motion-httpd/3.2.12 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 7999
[1] cap.bus_info: "usb-20980000.usb-1.2"
[1] cap.capabilities=0x84200001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Config palette index 8 (YU12) doesn't work.
[1] Supported palettes:
[1] 0: YUYV (YUV 4:2:2 (YUYV))
[1] Selected palette YUYV
[1] Test palette YUYV (352x288)
[1] Using palette YUYV (352x288) bytesperlines 704 sizeimage 202752 colorspace 00000008
[1] found control 0x00980900, "Brightness", range -64,64
[1] "Brightness", default -8193, current 33
[1] found control 0x00980901, "Contrast", range 0,64
[1] "Contrast", default 57343, current 32
[1] found control 0x00980902, "Saturation", range 1,128
[1] "Saturation", default 57343, current 64
[1] found control 0x00980903, "Hue", range -40,40
[1] "Hue", default -8193, current 0
[1] found control 0x00980910, "Gamma", range 72,500
[1] "Gamma", default 57343, current 100
[1] found control 0x00980913, "Gain", range 0,100
[1] "Gain", default 57343, current 0
[1] mmap information:
[1] frames=4
[1] 0 length=202752
[1] 1 length=202752
[1] 2 length=202752
[1] 3 length=202752
[1] Using V4L2
[1] Resizing pre_capture buffer to 1 items
[2] Info: No 'Connection: Keep-Alive' nor 'Connection: close' header received. Motion continues unchanged.
[2] Resizing pre_capture buffer to 1 items
[2] Error sending 'connect' request: Broken pipe
[2] Error sending 'connect' request: Broken pipe
(errore repeated for a while)
[2] Started stream webcam server in port 10011
[2] Resizing pre_capture buffer to 7 items
and then again
[2] Error sending 'connect' request: Broken pipe
[2] Error sending 'connect' request: Broken pipe

Here is my configuration file for this camera (i have also a usb camera attached but it works fine)

@working_schedule_type outside

@webcam_resolution 100

@network_password

@enabled on

@name Ip_Camera1

@network_server

@id 2

@motion_detection off

@network_username

@storage_device custom-path

@preserve_movies 0

@network_share_name

@preserve_pictures 0

@working_schedule

@webcam_server_resize off

snapshot_interval 0
minimum_motion_frames 5
webcam_maxrate 5
target_dir [my-DIR]
text_double on
webcam_quality 85
threshold 1999
quality 85
text_left Ip_camera1
post_capture 4
noise_level 31
framerate 2
netcam_url http:// [IP-CAMERA] /loginfree.jpg
pre_capture 2
noise_tune on
webcam_motion off
locate_motion_style redbox
jpeg_filename %m-%d-%Y-%H-%M-%S
locate on
webcam_port [PORT]
ffmpeg_variable_bitrate 0
output_all off
ffmpeg_video_codec msmpeg4
movie_filename %d-%m-%Y/%H-%M-%S
ffmpeg_cap_new on
auto_brightness on
text_changes on
on_event_end /home/pi/motioneye/eventrelay.py stop %t
rotate 0
text_right %d-%m-%Y\n%T
on_event_start /home/pi/motioneye/eventrelay.py start %t; /home/pi/motioneye/sendmail.py "out.mail.it" "587" "[email protected]" "password" "False" "[email protected]" "motion_start" "%t" "%Y-%m-%dT%H:%M:%S" "8"
ffmpeg_bps 43008
lightswitch 50
output_normal on
gap 10
webcam_localhost off
snapshot_filename
max_mpeg_time 0
on_movie_end sh /motionwhatsappimg.sh %f [phone_number]; sh /motionwhatsapp.sh

netcam_http 1.1
netcam_tolerant_check on

Can you help me?
Thanks.
Jacopo

Error when trying to start

root@pi-server:~# /etc/init.d/motioneye start
Starting motionEye server:Traceback (most recent call last):
  File "/usr/local/bin/meyectl", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: jinja2
 failed!
root@pi-server:~# pip install --ignore-installed motioneye
Collecting motioneye
  Using cached motioneye-0.27.2-2.tar.gz
Collecting tornado>=3.1 (from motioneye)
  Using cached tornado-4.2.1.tar.gz
Collecting jinja2 (from motioneye)
  Using cached Jinja2-2.8-py2.py3-none-any.whl
Collecting pillow (from motioneye)
  Using cached Pillow-2.9.0.tar.gz
Collecting pycurl (from motioneye)
  Using cached pycurl-7.19.5.1.tar.gz
Collecting backports.ssl-match-hostname (from tornado>=3.1->motioneye)
  Using cached backports.ssl_match_hostname-3.4.0.2.tar.gz
Collecting certifi (from tornado>=3.1->motioneye)
  Using cached certifi-2015.9.6.2-py2.py3-none-any.whl
Collecting MarkupSafe (from jinja2->motioneye)
  Using cached MarkupSafe-0.23.tar.gz
Installing collected packages: backports.ssl-match-hostname, certifi, tornado, MarkupSafe, jinja2, pillow, pycurl, motioneye
  Running setup.py install for backports.ssl-match-hostname
  Running setup.py install for tornado
  Running setup.py install for MarkupSafe
  Running setup.py install for pillow
  Running setup.py install for pycurl
  Running setup.py install for motioneye
Successfully installed MarkupSafe-0.23 backports.ssl-match-hostname-3.4.0.2 certifi-2015.9.6.2 jinja2-2.8 motioneye-0.27.2 pillow-2.9.0 pycurl-7.19.5.1 tornado-4.2.1

How to update config using cli w/o motioneye restart

I need to update the motion detection option from cli when I detect needed mac addresses in my network. But I can't restart motioneye because I use docker. I need to update config w/0 motioneye restart. Do we have such feature?

lightswitch settings enhancement request

I'm having problems with some of my cameras triggering motion events due to significant changes in light. MotionEye has a setting to turn on the lightswitch setting but sets it to 50 (%). I made a manual change to the thread file for one of the cameras to set this to 25% but then made other changes through the MotionEye interface. It appears that when I used the interface the lightswitch setting was also changed back to 50.

I would suggest that allowing one to set the percentage through the interface would be useful, or at least for the interface to not reset the parameter.

motioneye not starting

hello, i'm on rasbian jessie on RPI2.
First command does not work :
pi@karmapi ~ $ sudo /etc/init.d/motioneye start
[....] Starting motioneye (via systemctl): motioneye.serviceJob for motioneye.service failed. See 'systemctl status motioneye.service' and 'journalctl -xn' for details.
failed!

trying this one give me this error :
pi@karmapi ~ $ sudo systemctl status motioneye.service
โ— motioneye.service - LSB: Start the motionEye server
Loaded: loaded (/etc/init.d/motioneye)
Active: failed (Result: exit-code) since mar. 2015-09-15 14:20:31 CEST; 33s ago
Process: 4452 ExecStart=/etc/init.d/motioneye start (code=exited, status=1/FAILURE)

sept. 15 14:20:31 karmapi motioneye[4452]: Starting motionEye server:CRITICAL:root:failed to read settings from "/etc/motioneye/motioneye.conf": [Errno 2] No such file...oneye.conf'
sept. 15 14:20:31 karmapi motioneye[4452]: failed!
sept. 15 14:20:31 karmapi systemd[1]: motioneye.service: control process exited, code=exited status=1
sept. 15 14:20:31 karmapi systemd[1]: Failed to start LSB: Start the motionEye server.
sept. 15 14:20:31 karmapi systemd[1]: Unit motioneye.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.

should i manually copy me motioneye.conf sample to /etc/motioneye ?

thanks for your help

run a command on startup

Hi all, in motionpie there was an option (i thought) to run a command at startup, in motioneye that option is abscent. Is it possible to run a command or script at boot of motioneye? Thx.

Allow more motion detection tuning options

I am getting tons of false alerts from my outdoor cameras, due to tree shadows moving around in the wind. It would be nice to be able to specify a greater pixel change percentage than 20, as well as setting the noise level greater than 25%. Also adding support for the despeckle options would be nice, as well as the ability to upload a sensitivity mask image. Instead of trying to build a fancy interface to create a mask, my suggestion would be to have a simple file upload which takes a jpeg file, and on upload converts it to pgm format.

web video flash/jump fast

HI Crisan,

I don't know how to describe this. I had Pi/Cam as networkcam/simple mjpeg cam connected to my new Small PC with motioneeye installed and take in streaming with URL of "IP:8081". I have another pi cam with motionpie installed and remotely connected to this new pc as well as a "motioneye" peer.

The image I have on my Web view of those streaming are "jumping" or "refreshing" fast. It's not a smooth display.

Is there any parameters that I didn't put it correct value?

thanks in advance.
peng

meyectl relayevent: error: unrecognized arguments: -b

Hello Calin,
sorry to bother once again; for some reason I have "Motion Triggered" not working in "Still Images" and motion.log reports the following error:
meyectl relayevent: error: unrecognized arguments: -b
usage: meyectl relayevent [-c CONFIG_FILE] [-d] [-h] [-l] [-v] event thread_id
meyectl relayevent: error: unrecognized arguments: -b
don't know if relevant for motion triggered; I'm using motion 3.2.12.
thanks

motioneye continuously fill journald

Hello,
motioneye continuously fill journald, it is possible to make it quiet ?
Thanks !

[root@rpi2 ~]# journalctl -f
-- Logs begin at Wed 2015-09-02 21:08:23 CEST. --
Nov 08 09:02:04 rpi2 motion[30269]: [1] netcam_proc_jpeg: processing jpeg image - content length 21380
Nov 08 09:02:04 rpi2 motion[30269]: [1] netcam_proc_jpeg: processing jpeg image - content length 22768
Nov 08 09:02:04 rpi2 motion[30269]: [1] netcam_proc_jpeg: processing jpeg image - content length 22804
Nov 08 09:02:04 rpi2 motion[30269]: [1] netcam_proc_jpeg: processing jpeg image - content length 21380
Nov 08 09:02:04 rpi2 motion[30269]: [1] netcam_proc_jpeg: processing jpeg image - content length 21288
Nov 08 09:02:04 rpi2 motion[30269]: [1] netcam_proc_jpeg: processing jpeg image - content length 21308
.. and so on

delete of /var/lib/motioneye

Hi,
strange behaviour for me is that if you delete pictures or movies from webUI motioneye also deletes the folder /var/lib/motioneye; then if a picture or a movie is taken it creates the folder back again
can you replicate it?
Thanks

Missing Icons Webinterface

motioneye-missing-icons
Hi!

I installed Motioneye like in the Wiki and all worked fine for some days.
But now, all images (like buttons, etc) are missing in the webinterface.

What I have done already:

  • removed motioneye (pip uninstall) and all dependencies
  • deleted pip cache
  • deleted config files
  • reinstalled --> same

Before it got 'broke' I worked on the nginx config to access motioneye via ssl.

  • Using Archlinux 4.2.4
  • running motioneye with root, so there should be no permission problem to access img folder
  • same result with port 8765 / nginx proxy
  • same result on different devices

--> I discovered, that PIL and pillow where both installed. But they are in conflict? I uninstalled PIL, reinstalled everything.. but same result..

Thank you!

update failed from 0.27.2 to 0.28.2

Hello,

i have update using pip install --upgrade motioneye (as root) in my RPI2.
Now motioneye is broken and the version shows 0.27.2 unless the message "Successfully installed motioneye-0.28.2 pillow-3.0.0"

motioneye

thanks

Ability to use raspistill while motioneye is running?

I am not sure this is an issue with motioneye, raspistill, or by design but I thought I would ask here. Is it possible (or should it be possible) to run the raspberry pi raspistill camera utility when motioneye is running? Motion/Motioneye uses /dev/video0 and I thought I was able to run the raspistill to capture still images with motioneye running in the past but I can no longer do that. [Raspberry Pi 2 Model B, Raspian Jesse, Pi NOIR camera module]

With motioneye off, "raspistill -o image.jpg" works as expected, with motioneye on, raspistill errors out with the following...

pi@seccam ~ $ raspistill -o image.jpg
mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
mmal: camera component couldn't be enabled
mmal: main: Failed to create camera component
mmal: Failed to run camera app. Please check for firmware updates

I have updated Raspian and the Pi's firmware to the latest available software/firmware.

usb webcam no more working

Hi Calin,
I'm on RPi with Raspbian; installed new 0.27 version and facing the following problems:
a usb webcam that perfectly worked with 0.26 version now does not work anymore;
motion.log:
[1] Config palette index 8 (YU12) doesn't work.
[1] Supported palettes:
[1] 0: YUYV (YUV 4:2:2 (YUYV))
[1] 1: MJPG (MJPEG)
[1] Selected palette YUYV
[1] VIDIOC_TRY_FMT failed for format YUYV: Input/output error
[1] Unable to find a compatible palette format.
[1] ioctl (VIDIOCGCAP): Inappropriate ioctl for device
[1] Retrying until successful connection with camera
[1] cap.driver: "uvcvideo"
[1] cap.card: "UVC Camera (046d:08cf)"
[1] cap.bus_info: "usb-20980000.usb-1.3.1"
[1] cap.capabilities=0x84200001
[1] - VIDEO_CAPTURE
[1] - STREAMING
motioneye.log:
2015-09-01 18:31:51: [motioneye] WARNING: control hue not found for device /dev/v4l/by-id/usb-046d_08cf-video-index0
2015-09-01 18:31:51: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/7'
2015-09-01 18:31:51: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/6'
2015-09-01 18:31:51: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/5'
2015-09-01 18:31:51: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/4'
2015-09-01 18:31:51: [motioneye] WARNING: control hue not found for device /dev/video1
2015-09-01 18:31:51: [motioneye] ERROR: Exception in callback None
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/ioloop.py", line 865, in start
fd_obj, handler_func = self._handlers[fd]
KeyError: 5
2015-09-01 18:31:51: [motioneye] ERROR: Exception in callback None
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/ioloop.py", line 865, in start
fd_obj, handler_func = self._handlers[fd]
KeyError: 12
2015-09-01 18:31:51: [motioneye] ERROR: Exception in callback None
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/ioloop.py", line 865, in start
fd_obj, handler_func = self._handlers[fd]
.........................................
2015-09-01 19:49:24: [motioneye] INFO: hello! this is motionEye server 0.27.1
2015-09-01 19:49:29: [motioneye] INFO: cleanup started
2015-09-01 19:49:29: [motioneye] INFO: wsswitch started
2015-09-01 19:49:29: [motioneye] INFO: thumbnailer started
2015-09-01 19:49:29: [motioneye] INFO: server started
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/32'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/31'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/28'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/27'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/26'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/25'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/24'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/23'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/22'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/21'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/20'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/19'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/18'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/17'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/16'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/15'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/14'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/13'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/12'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/11'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/10'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/9'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/8'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/7'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/6'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/5'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/4'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/32'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/31'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/28'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/27'
2015-09-01 19:49:59: [motioneye] ERROR: stat failed: [Errno 2] No such file or directory: '/run/udev/watch/26
syslog:
Sep 1 20:05:20 meye kernel: [ 994.527425] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
Sep 1 20:05:20 meye motion: [1] Retrying until successful connection with camera
Sep 1 20:05:20 meye motion: [1] cap.driver: "uvcvideo"
Sep 1 20:05:20 meye motion: [1] cap.card: "UVC Camera (046d:08cf)"
Sep 1 20:05:20 meye motion: [1] cap.bus_info: "usb-20980000.usb-1.3.1"
Sep 1 20:05:20 meye motion: [1] cap.capabilities=0x84200001
Sep 1 20:05:20 meye motion: [1] - VIDEO_CAPTURE
Sep 1 20:05:20 meye motion: [1] - STREAMING
Sep 1 20:05:25 meye motion: [1] Config palette index 8 (YU12) doesn't work.

also the raspicam sometimes loses connection.

Any suggestion?
Thanks

Add pagination to movies/pictures

Hello ccrisan,

would it be possible to add pagination (or maybe continuous scrolling?) to the pictures and movies? At some days my cameras take more than 10.000 pictures and it takes a long time to load them. Sometimes the list even stops loading.

The error I receive while loading the list from /picture/{id}/list/ is:

{"error": "Failed to get pictures list."}

Regards
Chris

Frames captured during motion gap

First of all, thanks for the soft, it's amazing.

I've got a 'Motion Gap' of 600, meaning that if the motionpie detect a motion, it will only send a notification once, and wait for a 10 minutes no-motion before detecting another one.

This part works and it's great, but it still takes pictures when it detects something, so I've got 300+ shots taken in minutes (but only 1 notification), and the storage is full in a matter of hours.
I don't think it's supposed to happen.

Also I'm using the latest version of motionpie with motioneye 20150719 (Up-to-date apparently)

Thanks.

Acces lost

Hello,

I installed Motioneye on Raspbian with an acces point config (dhcpd and isc-dhcp-serve), so I can directly connect MotionEye by WIFI.
Everything goes OK, until I reboot the Raspberry (stop with shutdown -h now and replug the pi) ... then I lost http access : ERR_CONNECTION_REFUSED ... but I still can acces the Pi by SSH...

Motioneye service is running ok, dhcpd running ok and isc-dhcp-server is running ok too...

Do you have an idea ?

Thanks a lot for this good job !

Fast Network Camera support?

Is motioneye supposed to support Fast Network Camera (using streameye), or is that only a MotionPie thing?

I'm running motioneye 0.27.2 on a RPi 2 with Raspbian, with the NoIR camera module, and cannot see the option to enable Fast Network Camera anywhere in the settings.

failed to read settings, unknown configuration option

Total noob here, sorry for possibly using the wrong channel to seek help and perhaps report an issue. Please do point me in the right direction if it's not too much trouble.

I'm trying to set up an EC2 Ubuntu server instance and motioneye on it, to control two of my raspberry pis running motionpie (since one of them is a B version, I'd like to try and set it up as a fast network cam and do all the motion work on the EC2 instance). I've followed your installation instructions for Ubuntu and got to the starting of the motionEye server, but the following pops up:
"CRITICAL:root:failed to read settings from "/etc/motioneye/motioneye.conf": unknown configuration option: motion:control_localhost"

I'm using your sample conf as the starting conf file. http://pastebin.com/0dW0G1SS

Q: File Permissions

Hi Calin,
I have a small question regarding file permissions of the media_path. I'm running motioneye on Raspian as user 'root', so that all files in the media_path are stored under /home/pi/pictures with 'root' ownership. Although all jpg files have -rw-rw-rw- permissions, I'm unable to delete them as regular user 'pi' on the console, because permissions of the parent directories '2015-11-11' are set to drwxr-xr-x.

Is it possible to configure file permissions for the media folder somewhere? I have mounted my Raspberry's pictures folder as a samba share. When I try to delete pictures, the Window Explorer also complains about insufficient permissions.

I know, that it is possible to run motion eye as the user 'pi', but this is not an option for me, because it disables the possibility to 'reboot' through the web interface.

Cheers
/luetzel

Still images are saved but not movies during motion detection

Hello,

Can anyone help me with this? No movies create on motion detection. Build is based on this article https://bitbucket.org/ccrisan/motioneye/wiki/Installation%20Guide .Log file as follows

Many Thanks
GAry

[2] netcam_next called with no data in buffer
[1] netcam_next called with no data in buffer
[2] netcam_next called with no data in buffer
[2] netcam_next called with no data in buffer
[2] netcam_next called with no data in buffer
[2] netcam_next called with no data in buffer
[2] netcam_next called with no data in buffer
[2] netcam_next called with no data in buffer
[2] netcam_next called with no data in buffer
[2] ffmpeg_avcodec_log: Value 4707126720094797824.000000 for parameter 'probesize' out of range

  • flag 16
    [2] ffmpeg_avcodec_log: Value 4707126720094797824.000000 for parameter 'analyzeduration' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4697254411347427328.000000 for parameter 'indexmem' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4703785510416416768.000000 for parameter 'rtbufsize' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value -4616189618054758400.000000 for parameter 'fpsprobesize' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4607182418800017408.000000 for parameter 'f_err_detect' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4607182418800017408.000000 for parameter 'err_detect' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4686111960511545344.000000 for parameter 'b' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4683532506232782848.000000 for parameter 'ab' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4705844345939427328.000000 for parameter 'bt' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4617315517961601024.000000 for parameter 'me_method' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4622945017495814144.000000 for parameter 'g' out of range
    [2] ffmpeg_avcodec_log: Value 4611686018427387904.000000 for parameter 'qmin' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4629418941960159232.000000 for parameter 'qmax' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4613937818241073152.000000 for parameter 'qdiff' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value -4616189618054758400.000000 for parameter 'wpredp' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4607182418800017408.000000 for parameter 'bug' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4607182418800017408.000000 for parameter 'er' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4607182418800017408.000000 for parameter 'err_detect' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4613937818241073152.000000 for parameter 'ec' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4620693217682128896.000000 for parameter 'ildctcmp' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4620693217682128896.000000 for parameter 'subq' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4696837138094751744.000000 for parameter 'ibias' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4696837138094751744.000000 for parameter 'pbias' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4642507528377204736.000000 for parameter 'lmin' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4660262442142531584.000000 for parameter 'lmax' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4696130710463840256.000000 for parameter 'flags2' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4607182418800017408.000000 for parameter 'threads' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4620693217682128896.000000 for parameter 'nssew' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value -4586705114244317184.000000 for parameter 'profile' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value -4586705114244317184.000000 for parameter 'level' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4623507967449235456.000000 for parameter 'skipcmp' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4642507528377204736.000000 for parameter 'mblmin' out of range
    • flag 16
      [2] ffmpeg_avcodec_log: Value 4660262442142531584.000000 for parameter 'mblmax' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4643211215818981376.000000 for parameter 'mepc' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4607182418800017408.000000 for parameter 'bidir_refine' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value -4616189618054758400.000000 for parameter 'cqp' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4627730092099895296.000000 for parameter 'keyint_min' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4607182418800017408.000000 for parameter 'refs' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value -4616189618054758400.000000 for parameter 'directpred' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4618441417868443648.000000 for parameter 'sc_factor' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4643211215818981376.000000 for parameter 'mv0_threshold' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4630826316843712512.000000 for parameter 'b_sensitivity' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value -4616189618054758400.000000 for parameter 'compression_level' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value -4616189618054758400.000000 for parameter 'min_prediction_order' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value -4616189618054758400.000000 for parameter 'max_prediction_order' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value -4616189618054758400.000000 for parameter 'prediction_order_method' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value -4616189618054758400.000000 for parameter 'min_partition_order' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value -4616189618054758400.000000 for parameter 'max_partition_order' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4607182418800017408.000000 for parameter 'ticks_per_frame' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4611686018427387904.000000 for parameter 'color_primaries' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4611686018427387904.000000 for parameter 'color_trc' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4611686018427387904.000000 for parameter 'colorspace' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value -4616189618054758400.000000 for parameter 'aq_mode' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value -4616189618054758400.000000 for parameter 'rc_lookahead' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value -4616189618054758400.000000 for parameter 'lpc_type' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value -4616189618054758400.000000 for parameter 'lpc_passes' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value 4613937818241073152.000000 for parameter 'thread_type' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: Value -4616189618054758400.000000 for parameter 'request_sample_fmt' out of range
  • flag 16
    [2] ffmpeg_avcodec_log: err{or,}_recognition separate: 0; 0
  • flag 48
    [2] ffmpeg_avcodec_log: err{or,}_recognition combined: 0; 0
  • flag 48
    [2] ffmpeg_avcodec_log: bitrate tolerance too small for bitrate
  • flag 16
    [2] avcodec_open - could not open codec: Operation now in progress
    [2] ffopen_open error creating (new) file [/data/media/cam1/2015-11-09/12-06-53.avi]: Operation now in progress
    [2] File of type 1 saved to: /data/media/cam1/2015-11-09/12-06-52.jpg
    [2] File of type 1 saved to: /data/media/cam1/2015-11-09/12-06-52.jpg
    [2] Thread exiting
    [2] Calling vid_close() from motion_cleanup
    [2] vid_close: calling netcam_cleanup
    [2] netcam camera handler: finish set, exiting

Mask

Is there a way to set a file as a mask as in the regular version of Motion? It would be helpful to mask out traffic and known areas of movement.

unknown configuration option: motion_control_localhost

Hi, i recently changed webcams, deleted webcam from the gui and added the new cam. It worked at first but after a system reboot the gui was no longer reachable on the adress i always use. I updated motioneye today in an attempt to fix it but no such luck. I always start motioneye with $ sudo meyectl startserver -b -c /etc/motioneye/motioneye.conf that always worked but now i'm getting error: 'CRITICAL:root:failed to read settings from "/etc/motioneye/motioneye.conf": unknown configuration option: motion_control_localhost'.
Can anyone advice? Thx alot!

Can't install!

OK I admit I'm a newbie... but... Ive manages to get my pi running OpenVPN and an AirTunes server... I even rebuilt it with motionPie... and thought... why not get it to do all three!

So I went back to a basic rasbian install.
I followed the wiki and when I downloaded git clone https://bitbucket.org/ccrisan/motioneye.git
the motioneye.pl file is empty and there is no setup_example config file

Am I missing something or am I just too much of a newbie?

Thanks
Steve

failed to get motion detection status for camera with id

Any hint?

2015-08-31 18:12:10: [motioneye] INFO: hello! this is motionEye server 0.27.1
2015-08-31 18:12:15: [motioneye] INFO: cleanup started
2015-08-31 18:12:15: [motioneye] INFO: wsswitch started
2015-08-31 18:12:15: [motioneye] INFO: thumbnailer started
2015-08-31 18:12:15: [motioneye] INFO: server started
2015-08-31 18:12:25: [motioneye] ERROR: failed to get motion detection status for camera with id 1: HTTP 599: Failed to connect to 127.0.0.1: Network is unreachable
2015-08-31 18:12:25: [motioneye] WARNING: skipping motion detection status update for camera with id 1
2015-08-31 18:12:35: [motioneye] ERROR: failed to get motion detection status for camera with id 1: HTTP 599: Failed to connect to 127.0.0.1: Network is unreachable
2015-08-31 18:12:35: [motioneye] WARNING: skipping motion detection status update for camera with id 1
...
2015-08-31 18:15:05: [motioneye] ERROR: failed to get motion detection status for camera with id 1: HTTP 599: Connection timed out after 5041 milliseconds
2015-08-31 18:15:05: [motioneye] WARNING: skipping motion detection status update for camera with id 1
2015-08-31 18:15:15: [motioneye] ERROR: failed to get motion detection status for camera with id 1: HTTP 599: Connection timed out after 5041 milliseconds
2015-08-31 18:15:15: [motioneye] WARNING: skipping motion detection status update for camera with id 1
2015-08-31 18:15:17: [motioneye] WARNING: control hue not found for device /dev/video0
2015-08-31 18:15:18: [motioneye] WARNING: control hue not found for device /dev/video0
2015-08-31 18:15:19: [motioneye] WARNING: control hue not found for device /dev/video0
2015-08-31 18:15:25: [motioneye] ERROR: failed to get motion detection status for camera with id 1: HTTP 599: Connection timed out after 5041 milliseconds
....

syslog

Aug 31 18:18:06 camgrappa motion: [1] mmap information:
Aug 31 18:18:06 camgrappa motion: [1] frames=4
Aug 31 18:18:06 camgrappa motion: [1] 0 length=115200
Aug 31 18:18:06 camgrappa motion: [1] 1 length=115200
Aug 31 18:18:06 camgrappa motion: [1] 2 length=115200
Aug 31 18:18:06 camgrappa motion: [1] 3 length=115200
Aug 31 18:18:07 camgrappa motion: [1] Resizing pre_capture buffer to 1 items
Aug 31 18:18:07 camgrappa motion: [1] Started stream webcam server in port 8081
Aug 31 18:18:07 camgrappa motion: [1] Resizing pre_capture buffer to 3 items
Aug 31 18:18:36 camgrappa motion: [1] Calling vid_close() from motion_cleanup
Aug 31 18:18:36 camgrappa motion: [1] Closing video device /dev/video0
Aug 31 18:18:37 camgrappa kernel: [ 424.008409] bcm2835-v4l2: error 0 waiting for frame completion
Aug 31 18:18:39 camgrappa motion: [0] Motion terminating
Aug 31 18:18:40 camgrappa motion: [0] Processing thread 0 - config file /etc/motioneye/motion.conf
Aug 31 18:18:40 camgrappa motion: [0] Processing config file thread-1.conf
Aug 31 18:18:40 camgrappa motion: [0] Unknown config option "locate_motion_style"
Aug 31 18:18:40 camgrappa motion: [0] Motion 3.2.12 Started
Aug 31 18:18:40 camgrappa motion: [0] ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478785
Aug 31 18:18:40 camgrappa motion: [0] Thread 1 is from thread-1.conf
Aug 31 18:18:40 camgrappa motion: [0] httpd bind(): Cannot assign requested address
Aug 31 18:18:40 camgrappa motion: [0] httpd thread exit
Aug 31 18:18:40 camgrappa motion: [1] Thread 1 started
Aug 31 18:18:40 camgrappa motion: [1] cap.driver: "bm2835 mmal"
Aug 31 18:18:40 camgrappa motion: [1] cap.card: "mmal service 16.1"
Aug 31 18:18:40 camgrappa motion: [1] cap.bus_info: "platform:bcm2835-v4l2"
Aug 31 18:18:40 camgrappa motion: [1] cap.capabilities=0x85200005
Aug 31 18:18:40 camgrappa motion: [1] - VIDEO_CAPTURE
Aug 31 18:18:40 camgrappa motion: [1] - VIDEO_OVERLAY
Aug 31 18:18:40 camgrappa motion: [1] - READWRITE
Aug 31 18:18:40 camgrappa motion: [1] - STREAMING
Aug 31 18:18:40 camgrappa motion: [1] Test palette YU12 (320x240)
Aug 31 18:18:40 camgrappa motion: [1] Using palette YU12 (320x240) bytesperlines 320 sizeimage 115200 colorspace 00000001
Aug 31 18:18:40 camgrappa motion: [1] found control 0x00980900, "Brightness", range 0,100
Aug 31 18:18:40 camgrappa motion: [1] #11"Brightness", default 50, current 46
Aug 31 18:18:40 camgrappa motion: [1] found control 0x00980901, "Contrast", range -100,100
Aug 31 18:18:40 camgrappa motion: [1] #11"Contrast", default 0, current 0
Aug 31 18:18:40 camgrappa motion: [1] found control 0x00980902, "Saturation", range -100,100
Aug 31 18:18:40 camgrappa motion: [1] #11"Saturation", default 0, current 0
Aug 31 18:18:40 camgrappa motion: [1] found control 0x0098090e, "Red Balance", range 1,7999
Aug 31 18:18:40 camgrappa motion: [1] #11"Red Balance", default 1000, current 1000
Aug 31 18:18:40 camgrappa motion: [1] found control 0x0098090f, "Blue Balance", range 1,7999
Aug 31 18:18:40 camgrappa motion: [1] #11"Blue Balance", default 1000, current 1000
Aug 31 18:18:40 camgrappa motion: [1] mmap information:
Aug 31 18:18:40 camgrappa motion: [1] frames=4
Aug 31 18:18:40 camgrappa motion: [1] 0 length=115200
Aug 31 18:18:40 camgrappa motion: [1] 1 length=115200
Aug 31 18:18:40 camgrappa motion: [1] 2 length=115200
Aug 31 18:18:40 camgrappa motion: [1] 3 length=115200
Aug 31 18:18:40 camgrappa motion: [1] Resizing pre_capture buffer to 1 items
Aug 31 18:18:40 camgrappa motion: [1] Started stream webcam server in port 8081
Aug 31 18:18:40 camgrappa motion: [1] Resizing pre_capture buffer to 3 items
Aug 31 18:19:10 camgrappa motion: [1] Calling vid_close() from motion_cleanup
Aug 31 18:19:10 camgrappa motion: [1] Closing video device /dev/video0
Aug 31 18:19:11 camgrappa kernel: [ 457.939604] bcm2835-v4l2: error 0 waiting for frame completion
Aug 31 18:19:13 camgrappa motion: [0] Motion terminating
Aug 31 18:19:13 camgrappa motion: [0] Processing thread 0 - config file /etc/motioneye/motion.conf
Aug 31 18:19:13 camgrappa motion: [0] Processing config file thread-1.conf
Aug 31 18:19:13 camgrappa motion: [0] Unknown config option "locate_motion_style"
Aug 31 18:19:13 camgrappa motion: [0] Motion 3.2.12 Started
Aug 31 18:19:13 camgrappa motion: [0] ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478785
Aug 31 18:19:13 camgrappa motion: [0] Thread 1 is from thread-1.conf
Aug 31 18:19:13 camgrappa motion: [0] httpd bind(): Cannot assign requested address
Aug 31 18:19:13 camgrappa motion: [0] httpd thread exit
Aug 31 18:19:13 camgrappa motion: [1] Thread 1 started
Aug 31 18:19:13 camgrappa motion: [1] cap.driver: "bm2835 mmal"
Aug 31 18:19:13 camgrappa motion: [1] cap.card: "mmal service 16.1"
Aug 31 18:19:13 camgrappa motion: [1] cap.bus_info: "platform:bcm2835-v4l2"
Aug 31 18:19:13 camgrappa motion: [1] cap.capabilities=0x85200005
Aug 31 18:19:13 camgrappa motion: [1] - VIDEO_CAPTURE
Aug 31 18:19:13 camgrappa motion: [1] - VIDEO_OVERLAY
Aug 31 18:19:13 camgrappa motion: [1] - READWRITE
Aug 31 18:19:13 camgrappa motion: [1] - STREAMING
Aug 31 18:19:13 camgrappa motion: [1] Test palette YU12 (320x240)
Aug 31 18:19:13 camgrappa motion: [1] Using palette YU12 (320x240) bytesperlines 320 sizeimage 115200 colorspace 00000001
Aug 31 18:19:13 camgrappa motion: [1] found control 0x00980900, "Brightness", range 0,100
Aug 31 18:19:13 camgrappa motion: [1] #11"Brightness", default 50, current 45
Aug 31 18:19:13 camgrappa motion: [1] found control 0x00980901, "Contrast", range -100,100
Aug 31 18:19:13 camgrappa motion: [1] #11"Contrast",

pip command to install latest commit

Hi Calin,
0.27.2 version still giving me lot of errors; is there a pip command to upgrade to the latest commit before a new version is released?
Thanks

MotionEye always reboot

I don't know why but since this afternoon, my raspberry pi with MotionEyeOs is always rebooting ...
It's says that eth0 has no IP address but the respberry pi is connected at my network ...
Thanks
20151018_184627_resized

Firefox on Linux: Picutre/Movies dialog

When I use Firefox (v42) on linux and I click a camera feeds icon for pictures or moves it shows up like this...

http://i.imgur.com/V4C7VQn.png

I cannot exit (no exit button), no folders on the left side, and no buttons on the bottom. I have to reload the page and sign in again.

( a side issue, not as important is that in Chromium it resizes the camera feed block very nicely but that doesn't seam to be happening in Firefox)

Thoughts?

Mr Dave's fork - motion not found on boot

I installed motionEye with Mr Dave's motion (I needed to do these steps for ffmpeg btw: #11 (comment)) and motioneye failed starting on boot:

INFO: hello! this is motionEye server 0.27.2
INFO: motion not installed

after logging in however

/etc/init.d/motioneye start

would have it start just fine. Setting the motion binary path in /etc/motioneye/motioneye.conf to

/usr/local/bin/motion

solved that issue.

I was just following the installation steps from the wiki on a clean raspbian install on a rasbpi B (Linux raspberrypi 4.1.6+ #810 PREEMPT )
These were the only issues, motioneye works like a charm, thanks!

motioneye running out of memory (referring to bitbucket issue tracker)

I want to refer to this issue https://bitbucket.org/ccrisan/motioneye/issues/189/memory-usage-after-a-few-days
I have these problems, too. First i was running motioneye (-pie) on a raspberry pi (256MB), but after 1-2 days, motioneye stopped working with the described dmesg error "out of memory".
I switched over to a cubieboard with 1024MB and still have the problem - after 7+ days. The pyhon process is > 700MB ram usage at the time, when the error occurs. I have edited settings.py as you have described and will report, if i can see any difference. For me it seems, there is some memory leak in motioneye or motion itself, or caused by my settings. Maybe we should do some bisecting ....
rellla

How to Start/Stop motioneye?

I combined the "old" motioneye versions as a daemon and combined them with my doorbell. When smb. rang the door motioneye daemon was stopped, a picture was taken via command line tool and send per telegram to my mobile and after that motioneye daemon was started again. Worked really well. Now with all the changes this doesn't work anymore as paths and the tool itself have changed. How can I stop/start the motioneye (meyectl?) with command line?

Keyring issue on Raspbian

I was getting a GPG error when trying to add the repository. You may want to add the below instruction prior instead of after, for users who are using Raspbian. It will save some confusion, and time.

sudo apt-get install deb-multimedia-keyring

ERROR: decoder jpeg not available

Hi Calin,
is this error on motioneye log (opening interval snapshot images) telling some package is missing? I'm on Raspbian
Thanks
2015-09-03 18:39:18: [motioneye] ERROR: 500 GET /picture/1/preview/2015-09-03/18-30-00.jpg?height=51&_username=admin&_signature=f6e98f4ddee3c605b73786eaa1d3e49556299ded (192.168.0.21) 106.85ms
2015-09-03 18:39:19: [motioneye] ERROR: decoder jpeg not available
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1369, in _stack_context_handle_exception
raise_exc_info((type, value, traceback))
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1572, in wrapper
result = method(self, _args, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/motioneye/handlers.py", line 716, in get
self.preview(camera_id, filename)
File "/usr/local/lib/python2.7/dist-packages/motioneye/handlers.py", line 121, in wrapper
return func(self, _args, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/motioneye/handlers.py", line 875, in preview
height=self.get_argument('height', None))
File "/usr/local/lib/python2.7/dist-packages/motioneye/mediafiles.py", line 676, in get_media_preview
image.thumbnail((width, height), Image.LINEAR)
File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 1814, in thumbnail
im = self.resize(size, resample)
File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 1557, in resize
self.load()
File "/usr/local/lib/python2.7/dist-packages/PIL/ImageFile.py", line 203, in load
d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 420, in _getdecoder
raise IOError("decoder %s not available" % decoder_name)
IOError: decoder jpeg not available

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.