Motion software problem for IP web camera - Raspberry Pi Forums
hi guys
using motion software on pi monitor video in room.
having problems. whenever raspberry pi camera board detects motion, red light on camera board flashes, , video feed on browser tries refresh, says cant load page. again, have refresh page going again. then, again if camera senses motion (for ex, person moves near it) browser loses connection. have refresh again.
following configuration settings changed motion default settings.
motion.conf
please help.
using motion software on pi monitor video in room.
having problems. whenever raspberry pi camera board detects motion, red light on camera board flashes, , video feed on browser tries refresh, says cant load page. again, have refresh page going again. then, again if camera senses motion (for ex, person moves near it) browser loses connection. have refresh again.
following configuration settings changed motion default settings.
motion.conf
code: select all
make sure motion running daemon in background: daemon on want store logfile in /tmp instead (otherwise autostart user won't able acces in /home/pi/ folder): logfile /tmp/motion.log want use high quality surveillance video, we've set resolution 1280x720: width 1280 height 720 don't need real-time video, 2 pictures per second totally ok our needs: framerate 2 handy feature of motion software: record (2 in our configuration) frames before , after motion in image detected: pre_capture 2 post_capture 2 don't want endless movies. instead, want have max. 10 minutes slices of motion videos. config option renamed max_movie_time max_mpeg_time in motion. if use motion-mmal build, 1 work. if error 'unknown config option "max_mpeg_time"' either change 1 max_movie_time or make sure use motion-mmal build shown above. max_mpeg_time 600 media players vlc unable play recorded movies, we've changed codec msmpeg4. then, movies play correctly in players: ffmpeg_video_codec msmpeg4 enable access live stream anywhere. otherwise localhost (= raspberry device) allowed access live stream: stream_localhost off if want protect live stream username , password, should enable this: stream_auth_method 2 stream_authentication someusername:somepassword
please post contents of motion log file when see flashing camera board led?
raspberrypi
Comments
Post a Comment