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 streaming from new axis camera (Christopher Ng) ---------------------------------------------------------------------- Message: 1 Date: Fri, 31 May 2019 16:27:56 -0400 From: Christopher Ng <chrmn...@gmail.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] motion streaming from new axis camera Message-ID: <cabwxy67dhhjw2qwdjr4qb7iyqkpe6vrf2wuy1atcbgfnufn...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hello, Sorry for the bother. I upgraded ffmpeg to 4.1.3, recompiled motion, and made some changes to the conf files. I am seeing a different output in my log file now. I am pasting the new motion.conf, camera4.conf files and the output of the motion -d 7 Only camera4 is not connecting which is the Axis m2025-le. Appreciate any assistance you can provide. Thanks so much, Chris ----------------------------------------------------- motion.conf ----------------------------------------------------- # Rename this distribution example file to motion.conf # # This config file was generated by motion 4.2.2 # Documentation: /usr/local/share/doc/motion/motion_guide.html # # This file contains only the basic configuration options to get a # system working. There are many more options available. Please # consult the documentation for the complete list of all options. # ############################################################ # System control configuration parameters ############################################################ # Start in daemon (background) mode and release terminal. daemon on # Start in Setup-Mode, daemon disabled. setup_mode off # File to store the process ID. #process_id_file /var/run/motion/motion.pid pid_file /var/run/motion/motion.pid # File to write logs messages into. If not defined stderr and syslog is used. ; log_file value # Level of log messages [1..9] (EMG, ALR, CRT, ERR, WRN, NTC, INF, DBG, ALL). log_level 6 # Target directory for pictures, snapshots and movies target_dir /capture # Video device (e.g. /dev/video0) to be used for capturing. #videodevice /dev/video0 # Parameters to control video device. See motion_guide.html ; vid_control_params value # The full URL of the network camera stream. ; netcam_url value # Name of mmal camera (e.g. vc.ril.camera for pi camera). ; mmalcam_name value # Camera control parameters (see raspivid/raspistill tool documentation) ; mmalcam_control_params value ############################################################ # Image Processing configuration parameters ############################################################ # Image width in pixels. width 640 # Image height in pixels. height 480 # Maximum number of frames to be captured per second. framerate 2 # Text to be overlayed in the lower left corner of images text_left CAMERA1 # Text to be overlayed in the lower right corner of images. text_right %Y-%m-%d\n%T-%q ############################################################ # FFMPEG related options # Film (mpeg) file output, and deinterlacing of the video input # The options movie_filename and timelapse_filename are also used # by the ffmpeg feature ############################################################ # Use ffmpeg to encode mpeg movies in realtime (default: off) #ffmpeg_cap_new on # Use ffmpeg to make movies with only the pixels moving # object (ghost images) (default: off) #ffmpeg_cap_motion off # Use ffmpeg to encode a timelapse movie # Default value 0 = off - else save frame every Nth second #ffmpeg_timelapse 0 timelapse_interval 0 # The file rollover mode of the timelapse video # Valid values: hourly, daily (default), weekly-sunday, weekly-monday, monthly, manua l #ffmpeg_timelapse_mode daily timelapse_mode daily # Bitrate to be used by the ffmpeg encoder (default: 400000) # This option is ignored if ffmpeg_variable_bitrate is not 0 (disabled) #ffmpeg_bps 500000 movie_bps 500000 # Enables and defines variable bitrate for the ffmpeg encoder. # ffmpeg_bps is ignored if variable bitrate is enabled. # Valid values: 0 (default) = fixed bitrate defined by ffmpeg_bps, # or the range 2 - 31 where 2 means best quality and 31 is worst. #ffmpeg_variable_bitrate 0 # Codec to used by ffmpeg for the video compression. # Timelapse mpegs are always made in mpeg1 format independent from this option. # Supported formats are: mpeg1 (ffmpeg-0.4.8 only), mpeg4 (default), and msmpeg4. # mpeg1 - gives you files with extension .mpg # mpeg4 or msmpeg4 - gives you files with extension .avi # msmpeg4 is recommended for use with Windows Media Player because # it requires no installation of codec on the Windows client. # swf - gives you a flash film with extension .swf # flv - gives you a flash video with extension .flv # ffv1 - FF video codec 1 for Lossless Encoding ( experimental ) # mov - QuickTime ( testing ) #ffmpeg_video_codec mpeg4 # Use ffmpeg to deinterlace video. Necessary if you use an analog camera # and see horizontal combing on moving objects in video or pictures. # (default: off) #ffmpeg_deinterlace off ############################################################ # Motion detection configuration parameters ############################################################ # Always save pictures and movies even if there was no motion. emulate_motion off # Threshold for number of changed pixels that triggers motion. threshold 1500 # Noise threshold for the motion detection. ; noise_level 32 # Despeckle the image using (E/e)rode or (D/d)ilate or (l)abel. despeckle_filter EedDl # Number of images that must contain motion to trigger an event. minimum_motion_frames 1 # Gap in seconds of no motion detected that triggers the end of an event. event_gap 60 # The number of pre-captured (buffered) pictures from before motion. pre_capture 0 # Number of frames to capture after motion is no longer detected. post_capture 0 ############################################################ # Script execution configuration parameters ############################################################ # Command to be executed when an event starts. ; on_event_start value # Command to be executed when an event ends. ; on_event_end value # Command to be executed when a movie file is closed. ; on_movie_end value ############################################################ # Picture output configuration parameters ############################################################ # Output pictures when motion is detected picture_output off # File name(without extension) for pictures relative to target directory picture_filename %Y%m%d%H%M%S-%q ############################################################ # Movie output configuration parameters ############################################################ # Create movies of motion events. ###movie_output on # Maximum length of movie in seconds. ###movie_max_time 60 # The encoding quality of the movie. (0=use bitrate. 1=worst quality, 100=best) movie_quality 45 # Container/Codec to used for the movie. See motion_guide.html movie_codec mpeg4 # File name(without extension) for movies relative to target directory ###movie_filename %t-%v-%Y%m%d%H%M%S ############################################################ # Webcontrol configuration parameters ############################################################ # Port number used for the webcontrol. webcontrol_port 8080 # Restrict webcontrol connections to the localhost. webcontrol_localhost on # Type of configuration options to allow via the webcontrol. webcontrol_parms 0 ############################################################ # Live stream configuration parameters ############################################################ # The port number for the live stream. ####stream_port 8081 stream_port 80 # Restrict stream connections to the localhost. stream_localhost on ############################################################## # Camera config files - One for each camera. ############################################################## camera /usr/local/etc/motion/camera1.conf camera /usr/local/etc/motion/camera2.conf camera /usr/local/etc/motion/camera3.conf camera /usr/local/etc/motion/camera4.conf ############################################################## # Directory to read '.conf' files for cameras. ############################################################## ; camera_dir /usr/local/etc/motion/conf.d root@motion:/usr/local/etc/motion# ---------------------------------- camera4.conf ---------------------------------- # /usr/local/etc/motion/camera4.conf # # This config file was generated by motion 4.2.2 ########################################################### # Configuration options specific to camera 4 ############################################################ # User defined name for the camera. camera_name RH229_Hallway # Numeric identifier for the camera. camera_id 104 netcam_keepalive on # The full URL of the network camera stream. #netcam_url http://128.238.xxx.xxx/axis-cgi/mjpg/video.cgi? #netcam_url http://128.238.xxx.xxx/mjpg/video.mjpg netcam_highres rtsp://128.238.xxx.xxx/axis-media/media.amp netcam_userpass root:xxxxxxxxx # Image width in pixels. width 640 # Image height in pixels. height 480 # Text to be overlayed in the lower left corner of images text_left # Text to be overlayed in the lower right corner of images. text_right Camera4\n%Y-%m-%d\n%T-%q # File name(without extension) for movies relative to target directory movie_filename %Y/%m/%d/movies/RH229_Hallway/%H:%M:%S root@motion:/usr/local/etc/motion# --------------------------------------------------------------------------- motion -d 7 --------------------------------------------------------------------------- May 31 15:58:48 motion motion: [0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file /usr/local/etc/motion/motion.conf May 31 15:58:48 motion motion: [0:motion] [NTC] [ALL] config_camera: Processing camer a config file /usr/local/etc/motion/camera1.conf May 31 15:58:49 motion motion: [0:motion] [NTC] [ALL] config_camera: Processing camer a config file /usr/local/etc/motion/camera2.conf May 31 15:58:49 motion motion: [0:motion] [NTC] [ALL] config_camera: Processing camer a config file /usr/local/etc/motion/camera3.conf May 31 15:58:49 motion motion: [0:motion] [NTC] [ALL] config_camera: Processing camer a config file /usr/local/etc/motion/camera4.conf May 31 15:58:49 motion motion: [0:motion] [NTC] [ALL] motion_startup: Logging to sysl og May 31 15:58:49 motion motion: [0:motion] [NTC] [ALL] motion_startup: Motion 4.2.2 St arted May 31 15:58:49 motion motion: [0:motion] [NTC] [ALL] motion_startup: Using default l og type (ALL) May 31 15:58:49 motion motion: [0:motion] [NTC] [ALL] motion_startup: Using log type (ALL) log level (INF) May 31 15:58:49 motion motion: [0:motion] [NTC] [ALL] become_daemon: Motion going to daemon mode May 31 15:58:49 motion motion: [0:motion] [NTC] [ALL] become_daemon: Created process id file /var/run/motion/motion.pid. Process ID is 1391 May 31 15:58:49 motion motion: [0:motion] [NTC] [ALL] motion_startup: Motion running as daemon process May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] conf_output_parms: Writing conf iguration parameters from all files (5): May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] Thread 0 - Config file: /usr/lo cal/etc/motion/motion.conf May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] daemon on May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] setup_mode off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] pid_file /var/ run/motion/motion.pid May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] log_file May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] log_level 7 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] log_type ALL May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] quiet on May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] native_language on May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] camera_name May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] camera_id 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] target_dir /capt ure May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] videodevice /dev/ video0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] vid_control_params May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] v4l2_palette 17 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] input -1 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] norm 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] frequency 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] auto_brightness 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] tunerdevice May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] roundrobin_frames 1 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] roundrobin_skip 1 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] roundrobin_switchfilter off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] netcam_url May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] netcam_highres May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] netcam_userpass May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] netcam_keepalive off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] netcam_proxy May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] netcam_tolerant_check off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] netcam_use_tcp on May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] mmalcam_name May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] mmalcam_control_params May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] width 640 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] height 480 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] framerate 2 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] minimum_frame_time 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] rotate 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] flip_axis none May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] locate_motion_mode off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] locate_motion_style box May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] text_left CAMER A1 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] text_right %Y-%m -%d\n%T-%q May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] text_changes off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] text_scale 1 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] text_event %Y%m% d%H%M%S May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] emulate_motion off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] threshold 1500 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] threshold_maximum 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] threshold_tune off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] noise_level 32 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] noise_tune on May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] despeckle_filter EedDl May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] area_detect May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] mask_file May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] mask_privacy May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] smart_mask_speed 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] lightswitch_percent 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] lightswitch_frames 5 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] minimum_motion_frames 1 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] event_gap 60 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] pre_capture 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] post_capture 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] on_event_start May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] on_event_end May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] on_picture_save May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] on_area_detected May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] on_motion_detected May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] on_movie_start May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] on_movie_end May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] on_camera_lost May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] on_camera_found May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] picture_output off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] picture_output_motion off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] picture_type jpeg May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] picture_quality 75 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] picture_exif May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] picture_filename %Y%m% d%H%M%S-%q May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] snapshot_interval 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] snapshot_filename %v-%Y %m%d%H%M%S-snapshot May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] movie_output on May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] movie_output_motion off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] movie_max_time 120 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] movie_bps 50000 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] movie_quality 45 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] movie_codec mpeg4 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] movie_duplicate_frames off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] movie_passthrough off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] movie_filename %v-%Y %m%d%H%M%S May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] movie_extpipe_use off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] movie_extpipe May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] timelapse_interval 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] timelapse_mode daily May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] timelapse_fps 30 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] timelapse_codec mpg May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] timelapse_filename %Y%m% d-timelapse May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] video_pipe May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] video_pipe_motion May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] webcontrol_port 8080 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] webcontrol_ipv6 off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] webcontrol_localhost on May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] webcontrol_parms 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] webcontrol_interface 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] webcontrol_auth_method 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] webcontrol_authentication May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] webcontrol_tls off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] webcontrol_cert May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] webcontrol_key May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] webcontrol_cors_header May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] stream_port 80 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] stream_localhost on May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] stream_auth_method 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] stream_authentication May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] stream_tls off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] stream_cors_header May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] stream_preview_scale 25 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] stream_preview_newline off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] stream_preview_method 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] stream_quality 50 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] stream_grey off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] stream_motion off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] stream_maxrate 1 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] stream_limit 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] database_type May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] database_dbname May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] database_host local host May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] database_port 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] database_user May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] database_password May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] database_busy_timeout 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] sql_log_picture off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] sql_log_snapshot off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] sql_log_movie off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] sql_log_timelapse off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] sql_query_start May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] sql_query_stop May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] sql_query May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] track_type 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] track_auto off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] track_port May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] track_motorx 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] track_motorx_reverse off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] track_motory 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] track_motory_reverse off May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] track_maxx 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] track_minx 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] track_maxy 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] track_miny 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] track_homex 128 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] track_homey 128 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] track_iomojo_id 0 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] track_step_angle_x 10 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] track_step_angle_y 10 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] track_move_wait 10 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] track_speed 255 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] track_stepsize 40 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] track_generic_move May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] camera May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] camera_dir May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] Thread 1 - Config file: /usr/lo cal/etc/motion/camera1.conf May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] log_level 6 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] camera_name RH227 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] camera_id 101 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] netcam_url <reda cted> May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] text_left CAMER A 1 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] movie_filename %Y/%m /%d/movies/RH227/%H:%M:%S May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] Thread 2 - Config file: /usr/lo cal/etc/motion/camera2.conf May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] log_level 6 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] camera_name RH223 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] camera_id 102 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] netcam_url <reda cted> May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] netcam_userpass <reda cted> May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] text_left Camer a2 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] text_right Patio \n%Y-%m-%d\n%T-%q May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] movie_filename %Y/%m /%d/movies/RH223/%H:%M:%S May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] Thread 3 - Config file: /usr/lo cal/etc/motion/camera3.conf May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] log_level 6 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] camera_name RH223 _Hallway May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] camera_id 103 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] netcam_url <reda cted> May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] netcam_userpass <reda cted> May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] text_left Camer a3 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] text_right Front Door\n%Y-%m-%d\n%T-%q May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] text_scale 4 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] movie_filename %Y/%m /%d/movies/RH223_Hallway/%H:%M:%S May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] Thread 4 - Config file: /usr/lo cal/etc/motion/camera4.conf May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] log_level 6 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] camera_name RH229 _Hallway May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] camera_id 104 May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] netcam_highres <reda cted> May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] netcam_userpass <reda cted> May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] netcam_keepalive on May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] text_right Camer a4\n%Y-%m-%d\n%T-%q May 31 15:58:49 motion motion: [0:motion] [INF] [ALL] movie_filename %Y/%m /%d/movies/RH229_Hallway/%H:%M:%S May 31 15:58:49 motion motion: [0:motion] [NTC] [STR] webu_start_strm: Starting all c amera streams on port 80 May 31 15:58:49 motion motion: [0:motion] [NTC] [STR] webu_strm_ntc: Started camera 1 01 stream on port/camera_id 80/101 May 31 15:58:49 motion motion: [0:motion] [NTC] [STR] webu_strm_ntc: Started camera 1 02 stream on port/camera_id 80/102 May 31 15:58:49 motion motion: [0:motion] [NTC] [STR] webu_strm_ntc: Started camera 1 03 stream on port/camera_id 80/103 May 31 15:58:49 motion motion: [0:motion] [NTC] [STR] webu_strm_ntc: Started camera 1 04 stream on port/camera_id 80/104 May 31 15:58:49 motion motion: [0:motion] [NTC] [STR] webu_start_ctrl: Starting webco ntrol on port 8080 May 31 15:58:49 motion motion: [0:motion] [NTC] [STR] webu_start_ctrl: Started webcon trol on port 8080 May 31 15:58:49 motion motion: [0:motion] [NTC] [ENC] ffmpeg_global_init: ffmpeg liba vcodec version 54.35.1 libavformat version 54.20.4 May 31 15:58:49 motion motion: [0:motion] [NTC] [ALL] translate_init: Language: Engli sh May 31 15:58:49 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 101 is from /usr/local/etc/motion/camera1.conf May 31 15:58:49 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 101 Camera Name: RH227 Service: http: May 31 15:58:49 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 102 is from /usr/local/etc/motion/camera2.conf May 31 15:58:49 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 102 Camera Name: RH223 Service: http: May 31 15:58:49 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 103 is from /usr/local/etc/motion/camera3.conf May 31 15:58:49 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 103 Camera Name: RH223_Hallway Service: http: May 31 15:58:49 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 104 is from /usr/local/etc/motion/camera4.conf May 31 15:58:49 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 104 Camera Name: RH229_Hallway Device: /dev/video0 May 31 15:58:49 motion motion: [0:motion] [NTC] [ALL] main: Waiting for threads to fi nish, pid: 1391 May 31 15:58:49 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] motion_init: Camera 10 4 started: motion detection Enabled May 31 15:58:49 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: Opening V4L 2 device May 31 15:58:49 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] v4l2_device_open: Usin g videodevice /dev/video0 and input -1 May 31 15:58:49 motion motion: [4:ml4:RH229_Hallw] [ALR] [VID] v4l2_device_open: Fail ed to open video device /dev/video0: No such file or directory May 31 15:58:49 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: V4L2 device failed to open May 31 15:58:49 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] motion_init: Could not fetch initial image from camera May 31 15:58:49 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] motion_init: Motion co ntinues using width and height from config file(s) May 31 15:58:49 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] image_ring_resize: Res izing pre_capture buffer to 1 items May 31 15:58:49 motion motion: [3:ml3:RH223_Hallw] [NTC] [ALL] motion_init: Camera 10 3 started: motion detection Enabled May 31 15:58:49 motion motion: [3:ml3:RH223_Hallw] [NTC] [VID] vid_start: Opening Net cam May 31 15:58:49 motion motion: [3:ml3:RH223_Hallw] [NTC] [NET] netcam_start: Network Camera starting for camera (RH223_Hallway) May 31 15:58:49 motion motion: [1:ml1:RH227] [NTC] [ALL] motion_init: Camera 101 star ted: motion detection Enabled May 31 15:58:49 motion motion: [1:ml1:RH227] [NTC] [VID] vid_start: Opening Netcam May 31 15:58:49 motion motion: [1:ml1:RH227] [NTC] [NET] netcam_start: Network Camera starting for camera (RH227) May 31 15:58:49 motion motion: [2:ml2:RH223] [NTC] [ALL] motion_init: Camera 102 star ted: motion detection Enabled May 31 15:58:49 motion motion: [2:ml2:RH223] [NTC] [VID] vid_start: Opening Netcam May 31 15:58:49 motion motion: [2:ml2:RH223] [NTC] [NET] netcam_start: Network Camera starting for camera (RH223) May 31 15:58:49 motion motion: [2:ml2:RH223] [INF] [NET] netcam_url_parse: Using port number 80 May 31 15:58:49 motion motion: [2:ml2:RH223] [INF] [NET] netcam_start: Netcam_http pa rameter 'off' converts to flags: HTTP/1.0: 1 HTTP/1.1: 0 Keep-Alive OFF. May 31 15:58:49 motion motion: [2:ml2:RH223] [INF] [NET] netcam_start: now calling ne tcam_setup_html() May 31 15:58:49 motion motion: [2:ml2:RH223] [INF] [NET] netcam_http_build_url: Netca m has flags: HTTP/1.0: 1 HTTP/1.1: 0 Keep-Alive OFF. May 31 15:58:49 motion motion: [2:ml2:RH223] [INF] [NET] netcam_http_request: about t o try to connect, time #0 May 31 15:58:49 motion motion: [2:ml2:RH223] [INF] [NET] netcam_connect: disconnectin g netcam since keep-alive not set. May 31 15:58:49 motion motion: [2:ml2:RH223] [INF] [NET] netcam_connect: with no keep alive, new socket created fd 7 May 31 15:58:49 motion motion: [2:ml2:RH223] [INF] [NET] netcam_connect: re-using soc ket 7 since keepalive is set. May 31 15:58:49 motion motion: [3:ml3:RH223_Hallw] [INF] [NET] netcam_url_parse: Usin g port number 80 May 31 15:58:49 motion motion: [3:ml3:RH223_Hallw] [INF] [NET] netcam_start: Netcam_h ttp parameter 'off' converts to flags: HTTP/1.0: 1 HTTP/1.1: 0 Keep-Alive OFF. May 31 15:58:49 motion motion: [3:ml3:RH223_Hallw] [INF] [NET] netcam_start: now call ing netcam_setup_html() May 31 15:58:49 motion motion: [3:ml3:RH223_Hallw] [INF] [NET] netcam_http_build_url: Netcam has flags: HTTP/1.0: 1 HTTP/1.1: 0 Keep-Alive OFF. May 31 15:58:49 motion motion: [3:ml3:RH223_Hallw] [INF] [NET] netcam_http_request: a bout to try to connect, time #0 May 31 15:58:49 motion motion: [3:ml3:RH223_Hallw] [INF] [NET] netcam_connect: discon necting netcam since keep-alive not set. May 31 15:58:49 motion motion: [3:ml3:RH223_Hallw] [INF] [NET] netcam_connect: with n o keepalive, new socket created fd 8 May 31 15:58:49 motion motion: [3:ml3:RH223_Hallw] [INF] [NET] netcam_connect: re-usi ng socket 8 since keepalive is set. May 31 15:58:49 motion motion: [1:ml1:RH227] [INF] [NET] netcam_url_parse: Using port number 80 May 31 15:58:49 motion motion: [1:ml1:RH227] [INF] [NET] netcam_start: Netcam_http pa rameter 'off' converts to flags: HTTP/1.0: 1 HTTP/1.1: 0 Keep-Alive OFF. May 31 15:58:49 motion motion: [1:ml1:RH227] [INF] [NET] netcam_start: now calling ne tcam_setup_html() May 31 15:58:49 motion motion: [1:ml1:RH227] [INF] [NET] netcam_http_build_url: Netca m has flags: HTTP/1.0: 1 HTTP/1.1: 0 Keep-Alive OFF. May 31 15:58:49 motion motion: [1:ml1:RH227] [INF] [NET] netcam_http_request: about t o try to connect, time #0 May 31 15:58:49 motion motion: [1:ml1:RH227] [INF] [NET] netcam_connect: disconnectin g netcam since keep-alive not set. May 31 15:58:49 motion motion: [1:ml1:RH227] [INF] [NET] netcam_connect: with no keep alive, new socket created fd 9 May 31 15:58:49 motion motion: [1:ml1:RH227] [INF] [NET] netcam_connect: re-using soc ket 9 since keepalive is set. May 31 15:58:49 motion motion: [2:ml2:RH223] [NTC] [NET] netcam_setup_html: connected , going on to read image. May 31 15:58:49 motion motion: [2:ml2:RH223] [INF] [NET] netcam_get_dimensions: JFIF_ marker NOT PRESENT ret 0 May 31 15:58:49 motion motion: [2:ml2:RH223] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items May 31 15:58:49 motion motion: [2:ml2:RH223] [WRN] [NET] netcam_next: called with no data in buffer May 31 15:58:49 motion motion: [2:nc5:RH223] [NTC] [NET] netcam_handler_loop: Camera handler thread [5] started May 31 15:58:49 motion motion: [1:ml1:RH227] [NTC] [NET] netcam_setup_html: connected , going on to read image. May 31 15:58:49 motion motion: [1:ml1:RH227] [INF] [NET] netcam_get_dimensions: JFIF_ marker NOT PRESENT ret 0 May 31 15:58:49 motion motion: [1:ml1:RH227] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items May 31 15:58:49 motion motion: [1:ml1:RH227] [WRN] [NET] netcam_next: called with no data in buffer May 31 15:58:49 motion motion: [1:nc6:RH227] [NTC] [NET] netcam_handler_loop: Camera handler thread [6] started May 31 15:58:49 motion motion: [3:ml3:RH223_Hallw] [NTC] [NET] netcam_setup_html: con nected, going on to read image. May 31 15:58:49 motion motion: [3:ml3:RH223_Hallw] [INF] [NET] netcam_get_dimensions: JFIF_marker NOT PRESENT ret 0 May 31 15:58:49 motion motion: [3:ml3:RH223_Hallw] [NTC] [ALL] image_ring_resize: Res izing pre_capture buffer to 1 items May 31 15:58:49 motion motion: [3:ml3:RH223_Hallw] [WRN] [NET] netcam_next: called wi th no data in buffer May 31 15:58:49 motion motion: [3:nc7:RH223_Hallw] [NTC] [NET] netcam_handler_loop: C amera handler thread [7] started May 31 15:58:50 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] mlp_retry: Retrying un til successful connection with camera May 31 15:58:50 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: Opening V4L 2 device May 31 15:58:50 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] v4l2_device_open: Usin g videodevice /dev/video0 and input -1 May 31 15:58:50 motion motion: [4:ml4:RH229_Hallw] [ALR] [VID] v4l2_device_open: Fail ed to open video device /dev/video0: No such file or directory May 31 15:58:50 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: V4L2 device failed to open May 31 15:58:50 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] motion_loop: Thread ex iting May 31 15:58:51 motion motion: [0:motion] [NTC] [ALL] main: Motion thread 4 restart May 31 15:58:51 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 104 is from /usr/local/etc/motion/camera4.conf May 31 15:58:51 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 104 Camera Name: RH229_Hallway Device: /dev/video0 May 31 15:58:51 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] motion_init: Camera 10 4 started: motion detection Enabled May 31 15:58:51 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: Opening V4L 2 device May 31 15:58:51 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] v4l2_device_open: Usin g videodevice /dev/video0 and input -1 May 31 15:58:51 motion motion: [4:ml4:RH229_Hallw] [ALR] [VID] v4l2_device_open: Fail ed to open video device /dev/video0: No such file or directory May 31 15:58:51 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: V4L2 device failed to open May 31 15:58:51 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] motion_init: Could not fetch initial image from camera May 31 15:58:51 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] motion_init: Motion co ntinues using width and height from config file(s) May 31 15:58:51 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] image_ring_resize: Res izing pre_capture buffer to 1 items May 31 15:59:00 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] mlp_retry: Retrying un til successful connection with camera May 31 15:59:00 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: Opening V4L 2 device May 31 15:59:00 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] v4l2_device_open: Usin g videodevice /dev/video0 and input -1 May 31 15:59:00 motion motion: [4:ml4:RH229_Hallw] [ALR] [VID] v4l2_device_open: Fail ed to open video device /dev/video0: No such file or directory May 31 15:59:00 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: V4L2 device failed to open May 31 15:59:00 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] motion_loop: Thread ex iting May 31 15:59:01 motion motion: [0:motion] [NTC] [ALL] main: Motion thread 4 restart May 31 15:59:01 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 104 is from /usr/local/etc/motion/camera4.conf May 31 15:59:01 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 104 Camera Name: RH229_Hallway Device: /dev/video0 May 31 15:59:01 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] motion_init: Camera 10 4 started: motion detection Enabled May 31 15:59:01 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: Opening V4L 2 device May 31 15:59:01 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] v4l2_device_open: Usin g videodevice /dev/video0 and input -1 May 31 15:59:01 motion motion: [4:ml4:RH229_Hallw] [ALR] [VID] v4l2_device_open: Fail ed to open video device /dev/video0: No such file or directory May 31 15:59:01 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: V4L2 device failed to open May 31 15:59:01 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] motion_init: Could not fetch initial image from camera May 31 15:59:01 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] motion_init: Motion co ntinues using width and height from config file(s) May 31 15:59:01 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] image_ring_resize: Res izing pre_capture buffer to 1 items May 31 15:59:10 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] mlp_retry: Retrying un til successful connection with camera May 31 15:59:10 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: Opening V4L 2 device May 31 15:59:10 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] v4l2_device_open: Usin g videodevice /dev/video0 and input -1 May 31 15:59:10 motion motion: [4:ml4:RH229_Hallw] [ALR] [VID] v4l2_device_open: Fail ed to open video device /dev/video0: No such file or directory May 31 15:59:10 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: V4L2 device failed to open May 31 15:59:10 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] motion_loop: Thread ex iting May 31 15:59:11 motion motion: [0:motion] [NTC] [ALL] main: Motion thread 4 restart May 31 15:59:11 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 104 is from /usr/local/etc/motion/camera4.conf May 31 15:59:11 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 104 Camera Name: RH229_Hallway Device: /dev/video0 May 31 15:59:11 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] motion_init: Camera 10 4 started: motion detection Enabled May 31 15:59:11 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: Opening V4L 2 device May 31 15:59:11 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] v4l2_device_open: Usin g videodevice /dev/video0 and input -1 May 31 15:59:11 motion motion: [4:ml4:RH229_Hallw] [ALR] [VID] v4l2_device_open: Fail ed to open video device /dev/video0: No such file or directory May 31 15:59:11 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: V4L2 device failed to open May 31 15:59:11 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] motion_init: Could not fetch initial image from camera May 31 15:59:11 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] motion_init: Motion co ntinues using width and height from config file(s) May 31 15:59:11 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] image_ring_resize: Res izing pre_capture buffer to 1 items root@motion:/var/log# root@motion:/var/log# On Tue, May 28, 2019 at 4:04 PM Christopher Ng <chrmn...@gmail.com> wrote: > Hello, > I'm looking for some assistance with getting my new axis m2025-le > camera to stream motion jpeg to my linux box. I have 3 axis 2100 cameras > currently working. I am running motion 4.2.2. My camera4.conf file for > the m2025-le is as follows. > > # This config file was generated by motion 4.2.2 > > ########################################################### > # Configuration options specific to camera 4 > ############################################################ > # User defined name for the camera. > camera_name RH229_Hallway > > # Numeric identifier for the camera. > camera_id 104 > > # The full URL of the network camera stream. > netcam_url http://128.238.xx.xx/mjpg/video.mjpg > netcam_userpass root:xxxxxxx > > netcam_keepalive on > > # Image width in pixels. > width 640 > > # Image height in pixels. > height 480 > > # Text to be overlayed in the lower left corner of images > text_left > > # Text to be overlayed in the lower right corner of images. > text_right Camera4\n%Y-%m-%d\n%T-%q > > # File name(without extension) for movies relative to target directory > movie_filename %Y/%m/%d/movies/RH229_Hallway/%H:%M:%S > > > > > ---------------------------------------- > > > > > My motion.conf is as follows. > > > > # Rename this distribution example file to motion.conf > # > # This config file was generated by motion 4.2.2 > # Documentation: /usr/local/share/doc/motion/motion_guide.html > # > # This file contains only the basic configuration options to get a > # system working. There are many more options available. Please > # consult the documentation for the complete list of all options. > # > > ############################################################ > # System control configuration parameters > ############################################################ > > # Start in daemon (background) mode and release terminal. > daemon on > > # Start in Setup-Mode, daemon disabled. > setup_mode off > > # File to store the process ID. > process_id_file /var/run/motion/motion.pid > > # File to write logs messages into. If not defined stderr and syslog is > used. > ; log_file value > > # Level of log messages [1..9] (EMG, ALR, CRT, ERR, WRN, NTC, INF, DBG, > ALL). > log_level 6 > > # Target directory for pictures, snapshots and movies > target_dir /capture > > # Video device (e.g. /dev/video0) to be used for capturing. > #videodevice /dev/video0 > > # Parameters to control video device. See motion_guide.html > ; vid_control_params value > > # The full URL of the network camera stream. > ; netcam_url value > > # Name of mmal camera (e.g. vc.ril.camera for pi camera). > ; mmalcam_name value > > # Camera control parameters (see raspivid/raspistill tool documentation) > ; mmalcam_control_params value > > ############################################################ > # Image Processing configuration parameters > ############################################################ > > # Image width in pixels. > width 640 > > # Image height in pixels. > height 480 > > # Maximum number of frames to be captured per second. > framerate 2 > > # Text to be overlayed in the lower left corner of images > text_left CAMERA1 > > # Text to be overlayed in the lower right corner of images. > text_right %Y-%m-%d\n%T-%q > > ############################################################ > # Motion detection configuration parameters > ############################################################ > > # Always save pictures and movies even if there was no motion. > emulate_motion off > > # Threshold for number of changed pixels that triggers motion. > threshold 1500 > > # Noise threshold for the motion detection. > ; noise_level 32 > > # Despeckle the image using (E/e)rode or (D/d)ilate or (l)abel. > despeckle_filter EedDl > > # Number of images that must contain motion to trigger an event. > minimum_motion_frames 1 > > # Gap in seconds of no motion detected that triggers the end of an event. > event_gap 60 > > # The number of pre-captured (buffered) pictures from before motion. > pre_capture 3 > > # Number of frames to capture after motion is no longer detected. > post_capture 0 > > ############################################################ > # Script execution configuration parameters > ############################################################ > > # Command to be executed when an event starts. > ; on_event_start value > > # Command to be executed when an event ends. > ; on_event_end value > > # Command to be executed when a movie file is closed. > ; on_movie_end value > > ############################################################ > # Picture output configuration parameters > ############################################################ > > # Output pictures when motion is detected > picture_output off > > # File name(without extension) for pictures relative to target directory > picture_filename %Y%m%d%H%M%S-%q > > ############################################################ > # Movie output configuration parameters > ############################################################ > > # Create movies of motion events. > movie_output on > > # Maximum length of movie in seconds. > movie_max_time 60 > > # The encoding quality of the movie. (0=use bitrate. 1=worst quality, > 100=best) > movie_quality 45 > > # Container/Codec to used for the movie. See motion_guide.html > movie_codec mpeg4 > > # File name(without extension) for movies relative to target directory > movie_filename %t-%v-%Y%m%d%H%M%S > > ############################################################ > # Webcontrol configuration parameters > ############################################################ > > # Port number used for the webcontrol. > webcontrol_port 8080 > > # Restrict webcontrol connections to the localhost. > webcontrol_localhost on > > # Type of configuration options to allow via the webcontrol. > webcontrol_parms 0 > > ############################################################ > # Live stream configuration parameters > ############################################################ > > # The port number for the live stream. > ####stream_port 8081 > stream_port 80 > > # Restrict stream connections to the localhost. > stream_localhost on > > ############################################################## > # Camera config files - One for each camera. > ############################################################## > camera /usr/local/etc/motion/camera1.conf > camera /usr/local/etc/motion/camera2.conf > camera /usr/local/etc/motion/camera3.conf > camera /usr/local/etc/motion/camera4.conf > > ############################################################## > # Directory to read '.conf' files for cameras. > ############################################################## > ; camera_dir /usr/local/etc/motion/conf.d > > > > -------------------------------------------------------------------- > > > > > > I see this in my log file. > > > root@motion:/usr/local/etc/motion# tail -200 /var/log/syslog > May 28 16:00:21 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] > motion_init: Could not fetch initial image from camera > May 28 16:00:21 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] > motion_init: Motion continues using width and height from config file(s) > May 28 16:00:21 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > image_ring_resize: Resizing pre_capture buffer to 1 items > May 28 16:00:21 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_setup_html: connected, going on to read image. > May 28 16:00:21 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_read_html_jpeg: disconnecting netcam since keep-alive not set. > May 28 16:00:21 motion motion: [4:ml4:RH229_Hallw] [CRT] [NET] > netcam_start: libjpeg decompression failure on first frame - giving up! > May 28 16:00:21 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: > Netcam failed to open > May 28 16:00:21 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] > motion_init: Could not fetch initial image from camera > May 28 16:00:21 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] > motion_init: Motion continues using width and height from config file(s) > May 28 16:00:21 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > image_ring_resize: Resizing pre_capture buffer to 1 items > May 28 16:00:21 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > image_ring_resize: Resizing pre_capture buffer to 4 items > May 28 16:00:21 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > image_ring_resize: Resizing pre_capture buffer to 4 items > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] mlp_retry: > Retrying until successful connection with camera > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: > Opening Netcam > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_start: Network Camera starting for camera (RH229_Hallway) > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] mlp_retry: > Retrying until successful connection with camera > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: > Opening Netcam > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_start: Network Camera starting for camera (RH229_Hallway) > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_setup_html: connected, going on to read image. > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_read_html_jpeg: disconnecting netcam since keep-alive not set. > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [CRT] [NET] > netcam_start: libjpeg decompression failure on first frame - giving up! > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: > Netcam failed to open > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > motion_loop: Thread exiting > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_setup_html: connected, going on to read image. > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_read_html_jpeg: disconnecting netcam since keep-alive not set. > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [CRT] [NET] > netcam_start: libjpeg decompression failure on first frame - giving up! > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: > Netcam failed to open > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > motion_loop: Thread exiting > May 28 16:00:30 motion motion: [0:motion] [NTC] [ALL] main: Motion thread > 4 restart > May 28 16:00:30 motion motion: [0:motion] [NTC] [ALL] main: Motion thread > 4 restart > May 28 16:00:30 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: > Camera ID: 104 is from /usr/local/etc/motion/camera4.conf > May 28 16:00:30 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: > Camera ID: 104 is from /usr/local/etc/motion/camera4.conf > May 28 16:00:30 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: > Camera ID: 104 Camera Name: RH229_Hallway Service: http: > May 28 16:00:30 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: > Camera ID: 104 Camera Name: RH229_Hallway Service: http: > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > motion_init: Camera 104 started: motion detection Enabled > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > motion_init: Camera 104 started: motion detection Enabled > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: > Opening Netcam > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: > Opening Netcam > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_start: Network Camera starting for camera (RH229_Hallway) > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_start: Network Camera starting for camera (RH229_Hallway) > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_setup_html: connected, going on to read image. > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_read_html_jpeg: disconnecting netcam since keep-alive not set. > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_setup_html: connected, going on to read image. > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [CRT] [NET] > netcam_start: libjpeg decompression failure on first frame - giving up! > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_read_html_jpeg: disconnecting netcam since keep-alive not set. > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: > Netcam failed to open > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [CRT] [NET] > netcam_start: libjpeg decompression failure on first frame - giving up! > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] > motion_init: Could not fetch initial image from camera > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] > motion_init: Motion continues using width and height from config file(s) > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: > Netcam failed to open > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > image_ring_resize: Resizing pre_capture buffer to 1 items > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] > motion_init: Could not fetch initial image from camera > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] > motion_init: Motion continues using width and height from config file(s) > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > image_ring_resize: Resizing pre_capture buffer to 1 items > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > image_ring_resize: Resizing pre_capture buffer to 4 items > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > image_ring_resize: Resizing pre_capture buffer to 4 items > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] mlp_retry: > Retrying until successful connection with camera > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] mlp_retry: > Retrying until successful connection with camera > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: > Opening Netcam > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_start: Network Camera starting for camera (RH229_Hallway) > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: > Opening Netcam > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_start: Network Camera starting for camera (RH229_Hallway) > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_setup_html: connected, going on to read image. > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_read_html_jpeg: disconnecting netcam since keep-alive not set. > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [CRT] [NET] > netcam_start: libjpeg decompression failure on first frame - giving up! > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: > Netcam failed to open > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > motion_loop: Thread exiting > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_setup_html: connected, going on to read image. > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_read_html_jpeg: disconnecting netcam since keep-alive not set. > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [CRT] [NET] > netcam_start: libjpeg decompression failure on first frame - giving up! > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: > Netcam failed to open > May 28 16:00:30 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > motion_loop: Thread exiting > May 28 16:00:31 motion motion: [0:motion] [NTC] [ALL] main: Motion thread > 4 restart > May 28 16:00:31 motion motion: [0:motion] [NTC] [ALL] main: Motion thread > 4 restart > May 28 16:00:31 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: > Camera ID: 104 is from /usr/local/etc/motion/camera4.conf > May 28 16:00:31 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: > Camera ID: 104 Camera Name: RH229_Hallway Service: http: > May 28 16:00:31 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: > Camera ID: 104 is from /usr/local/etc/motion/camera4.conf > May 28 16:00:31 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: > Camera ID: 104 Camera Name: RH229_Hallway Service: http: > May 28 16:00:31 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > motion_init: Camera 104 started: motion detection Enabled > May 28 16:00:31 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > motion_init: Camera 104 started: motion detection Enabled > May 28 16:00:31 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: > Opening Netcam > May 28 16:00:31 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: > Opening Netcam > May 28 16:00:31 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_start: Network Camera starting for camera (RH229_Hallway) > May 28 16:00:31 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_start: Network Camera starting for camera (RH229_Hallway) > May 28 16:00:31 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_setup_html: connected, going on to read image. > May 28 16:00:31 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_read_html_jpeg: disconnecting netcam since keep-alive not set. > May 28 16:00:31 motion motion: [4:ml4:RH229_Hallw] [CRT] [NET] > netcam_start: libjpeg decompression failure on first frame - giving up! > May 28 16:00:31 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: > Netcam failed to open > May 28 16:00:31 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] > motion_init: Could not fetch initial image from camera > May 28 16:00:31 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] > motion_init: Motion continues using width and height from config file(s) > May 28 16:00:31 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > image_ring_resize: Resizing pre_capture buffer to 1 items > May 28 16:00:31 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_setup_html: connected, going on to read image. > May 28 16:00:31 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_read_html_jpeg: disconnecting netcam since keep-alive not set. > May 28 16:00:31 motion motion: [4:ml4:RH229_Hallw] [CRT] [NET] > netcam_start: libjpeg decompression failure on first frame - giving up! > May 28 16:00:31 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: > Netcam failed to open > May 28 16:00:31 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] > motion_init: Could not fetch initial image from camera > May 28 16:00:31 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] > motion_init: Motion continues using width and height from config file(s) > May 28 16:00:31 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > image_ring_resize: Resizing pre_capture buffer to 1 items > May 28 16:00:31 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > image_ring_resize: Resizing pre_capture buffer to 4 items > May 28 16:00:31 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > image_ring_resize: Resizing pre_capture buffer to 4 items > May 28 16:00:36 motion motion: [2:ml2:RH223] [NTC] [ENC] ffmpeg_set_codec: > Low fps. Encoding 2 frames into a 10 frames container. > May 28 16:00:36 motion motion: [2:ml2:RH223] [NTC] [EVT] event_newfile: > File of type 8 saved to: /capture/2019/05/28/movies/RH223/16:00:34.avi > May 28 16:00:36 motion motion: [2:ml2:RH223] [NTC] [ALL] motion_detected: > Motion detected - starting event 4 > May 28 16:00:36 motion motion: [2:ml2:RH223] [NTC] [ENC] ffmpeg_set_codec: > Low fps. Encoding 2 frames into a 10 frames container. > May 28 16:00:36 motion motion: [2:ml2:RH223] [NTC] [EVT] event_newfile: > File of type 8 saved to: /capture/2019/05/28/movies/RH223/16:00:35.avi > May 28 16:00:36 motion motion: [2:ml2:RH223] [NTC] [ALL] motion_detected: > Motion detected - starting event 2 > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] mlp_retry: > Retrying until successful connection with camera > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: > Opening Netcam > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_start: Network Camera starting for camera (RH229_Hallway) > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] mlp_retry: > Retrying until successful connection with camera > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: > Opening Netcam > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_start: Network Camera starting for camera (RH229_Hallway) > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_setup_html: connected, going on to read image. > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_read_html_jpeg: disconnecting netcam since keep-alive not set. > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [CRT] [NET] > netcam_start: libjpeg decompression failure on first frame - giving up! > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: > Netcam failed to open > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > motion_loop: Thread exiting > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_setup_html: connected, going on to read image. > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_read_html_jpeg: disconnecting netcam since keep-alive not set. > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [CRT] [NET] > netcam_start: libjpeg decompression failure on first frame - giving up! > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: > Netcam failed to open > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > motion_loop: Thread exiting > May 28 16:00:40 motion motion: [0:motion] [NTC] [ALL] main: Motion thread > 4 restart > May 28 16:00:40 motion motion: [0:motion] [NTC] [ALL] main: Motion thread > 4 restart > May 28 16:00:40 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: > Camera ID: 104 is from /usr/local/etc/motion/camera4.conf > May 28 16:00:40 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: > Camera ID: 104 is from /usr/local/etc/motion/camera4.conf > May 28 16:00:40 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: > Camera ID: 104 Camera Name: RH229_Hallway Service: http: > May 28 16:00:40 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: > Camera ID: 104 Camera Name: RH229_Hallway Service: http: > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > motion_init: Camera 104 started: motion detection Enabled > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > motion_init: Camera 104 started: motion detection Enabled > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: > Opening Netcam > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: > Opening Netcam > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_start: Network Camera starting for camera (RH229_Hallway) > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_start: Network Camera starting for camera (RH229_Hallway) > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_setup_html: connected, going on to read image. > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_setup_html: connected, going on to read image. > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_read_html_jpeg: disconnecting netcam since keep-alive not set. > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [CRT] [NET] > netcam_start: libjpeg decompression failure on first frame - giving up! > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_read_html_jpeg: disconnecting netcam since keep-alive not set. > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: > Netcam failed to open > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [CRT] [NET] > netcam_start: libjpeg decompression failure on first frame - giving up! > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] > motion_init: Could not fetch initial image from camera > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] > motion_init: Motion continues using width and height from config file(s) > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > image_ring_resize: Resizing pre_capture buffer to 1 items > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: > Netcam failed to open > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] > motion_init: Could not fetch initial image from camera > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] > motion_init: Motion continues using width and height from config file(s) > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > image_ring_resize: Resizing pre_capture buffer to 1 items > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > image_ring_resize: Resizing pre_capture buffer to 4 items > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > image_ring_resize: Resizing pre_capture buffer to 4 items > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] mlp_retry: > Retrying until successful connection with camera > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] mlp_retry: > Retrying until successful connection with camera > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: > Opening Netcam > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_start: Network Camera starting for camera (RH229_Hallway) > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: > Opening Netcam > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_start: Network Camera starting for camera (RH229_Hallway) > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_setup_html: connected, going on to read image. > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_read_html_jpeg: disconnecting netcam since keep-alive not set. > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [CRT] [NET] > netcam_start: libjpeg decompression failure on first frame - giving up! > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: > Netcam failed to open > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > motion_loop: Thread exiting > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_setup_html: connected, going on to read image. > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_read_html_jpeg: disconnecting netcam since keep-alive not set. > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [CRT] [NET] > netcam_start: libjpeg decompression failure on first frame - giving up! > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: > Netcam failed to open > May 28 16:00:40 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > motion_loop: Thread exiting > May 28 16:00:41 motion motion: [0:motion] [NTC] [ALL] main: Motion thread > 4 restart > May 28 16:00:41 motion motion: [0:motion] [NTC] [ALL] main: Motion thread > 4 restart > May 28 16:00:41 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: > Camera ID: 104 is from /usr/local/etc/motion/camera4.conf > May 28 16:00:41 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: > Camera ID: 104 Camera Name: RH229_Hallway Service: http: > May 28 16:00:41 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: > Camera ID: 104 is from /usr/local/etc/motion/camera4.conf > May 28 16:00:41 motion motion: [0:motion] [NTC] [ALL] motion_start_thread: > Camera ID: 104 Camera Name: RH229_Hallway Service: http: > May 28 16:00:41 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > motion_init: Camera 104 started: motion detection Enabled > May 28 16:00:41 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > motion_init: Camera 104 started: motion detection Enabled > May 28 16:00:41 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: > Opening Netcam > May 28 16:00:41 motion motion: [4:ml4:RH229_Hallw] [NTC] [VID] vid_start: > Opening Netcam > May 28 16:00:41 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_start: Network Camera starting for camera (RH229_Hallway) > May 28 16:00:41 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_start: Network Camera starting for camera (RH229_Hallway) > May 28 16:00:41 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_setup_html: connected, going on to read image. > May 28 16:00:41 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_setup_html: connected, going on to read image. > May 28 16:00:41 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_read_html_jpeg: disconnecting netcam since keep-alive not set. > May 28 16:00:41 motion motion: [4:ml4:RH229_Hallw] [NTC] [NET] > netcam_read_html_jpeg: disconnecting netcam since keep-alive not set. > May 28 16:00:41 motion motion: [4:ml4:RH229_Hallw] [CRT] [NET] > netcam_start: libjpeg decompression failure on first frame - giving up! > May 28 16:00:41 motion motion: [4:ml4:RH229_Hallw] [CRT] [NET] > netcam_start: libjpeg decompression failure on first frame - giving up! > May 28 16:00:41 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: > Netcam failed to open > May 28 16:00:41 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] > motion_init: Could not fetch initial image from camera > May 28 16:00:41 motion motion: [4:ml4:RH229_Hallw] [ERR] [VID] vid_start: > Netcam failed to open > May 28 16:00:41 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] > motion_init: Motion continues using width and height from config file(s) > May 28 16:00:41 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] > motion_init: Could not fetch initial image from camera > May 28 16:00:41 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > image_ring_resize: Resizing pre_capture buffer to 1 items > May 28 16:00:41 motion motion: [4:ml4:RH229_Hallw] [WRN] [ALL] > motion_init: Motion continues using width and height from config file(s) > May 28 16:00:41 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > image_ring_resize: Resizing pre_capture buffer to 1 items > May 28 16:00:41 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > image_ring_resize: Resizing pre_capture buffer to 4 items > May 28 16:00:41 motion motion: [4:ml4:RH229_Hallw] [NTC] [ALL] > image_ring_resize: Resizing pre_capture buffer to 4 items > May 28 16:00:42 motion motion: [3:ml3:RH223_Hallw] [NTC] [ENC] > ffmpeg_set_codec: Low fps. Encoding 2 frames into a 10 frames container. > May 28 16:00:42 motion motion: [3:ml3:RH223_Hallw] [NTC] [EVT] > event_newfile: File of type 8 saved to: > /capture/2019/05/28/movies/RH223_Hallway/16:00:41.avi > May 28 16:00:42 motion motion: [3:ml3:RH223_Hallw] [NTC] [ALL] > motion_detected: Motion detected - starting event 9 > May 28 16:00:43 motion motion: [3:ml3:RH223_Hallw] [NTC] [ENC] > ffmpeg_set_codec: Low fps. Encoding 2 frames into a 10 frames container. > May 28 16:00:43 motion motion: [3:ml3:RH223_Hallw] [NTC] [EVT] > event_newfile: File of type 8 saved to: > /capture/2019/05/28/movies/RH223_Hallway/16:00:41.avi > May 28 16:00:43 motion motion: [3:ml3:RH223_Hallw] [NTC] [ALL] > motion_detected: Motion detected - starting event 4 > root@motion:/usr/local/etc/motion# > > > > Appreciate any pointers you can give, > thanks, > Chris > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------ Subject: Digest Footer _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user ------------------------------ End of Motion-user Digest, Vol 155, Issue 34 ********************************************