Skip to content

Instantly share code, notes, and snippets.

@tosiara
Created November 24, 2018 10:02
Show Gist options
  • Save tosiara/3a73218e75df42ed9a637191793f5d45 to your computer and use it in GitHub Desktop.
Save tosiara/3a73218e75df42ed9a637191793f5d45 to your computer and use it in GitHub Desktop.
motion.log
$ ./motion -c ../motion-passthrough.conf -d 8 -n
[0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file ../motion-passthrough.conf
[0:motion] [ALR] [ALL] conf_cmdparse: "process_id_file" replaced with "pid_file" after version 4.1.1
[0:motion] [ALR] [ALL] conf_cmdparse: "rtsp_uses_tcp" replaced with "netcam_use_tcp" after version 4.1.1
[0:motion] [ALR] [ALL] conf_cmdparse: "switchfilter" replaced with "roundrobin_switchfilter" after version 4.1.1
[0:motion] [ALR] [ALL] conf_cmdparse: "max_movie_time" replaced with "movie_max_time" after version 4.1.1
[0:motion] [ALR] [ALL] conf_cmdparse: "output_pictures" replaced with "picture_output" after version 4.1.1
[0:motion] [ALR] [ALL] conf_cmdparse: "output_debug_pictures" replaced with "picture_output_motion" after version 4.1.1
[0:motion] [ALR] [ALL] conf_cmdparse: "quality" replaced with "picture_quality" after version 4.1.1
[0:motion] [ALR] [ALL] conf_cmdparse: "ffmpeg_output_movies" replaced with "movie_output" after version 4.1.1
[0:motion] [ALR] [ALL] conf_cmdparse: "ffmpeg_output_debug_movies" replaced with "movie_output_motion" after version 4.1.1
[0:motion] [ALR] [ALL] conf_cmdparse: "ffmpeg_bps" replaced with "movie_bps" after version 4.1.1
[0:motion] [ALR] [ALL] conf_cmdparse: "ffmpeg_variable_bitrate" replaced with "movie_quality" after version 4.1.1
[0:motion] [ALR] [ALL] conf_cmdparse: "ffmpeg_video_codec" replaced with "movie_codec" after version 4.1.1
[0:motion] [ALR] [ALL] conf_cmdparse: "use_extpipe" replaced with "movie_extpipe_use" after version 4.1.1
[0:motion] [ALR] [ALL] conf_cmdparse: "ipv6_enabled" replaced with "webcontrol_ipv6" after version 4.1.1
[0:motion] [NTC] [ALL] motion_startup: Logging to syslog
[0:motion] [NTC] [ALL] motion_startup: Motion 4.2+dirty20181122-f001f5a Started
[0:motion] [NTC] [ALL] motion_startup: Using log type (ALL) log level (DBG)
[0:motion] [INF] [ALL] conf_output_parms: Writing configuration parameters from all files (1):
[0:motion] [INF] [ALL] Thread 0 - Config file: ../motion-passthrough.conf
[0:motion] [INF] [ALL] daemon off
[0:motion] [INF] [ALL] setup_mode off
[0:motion] [INF] [ALL] pid_file /var/run/motion/motion.pid
[0:motion] [INF] [ALL] log_file
[0:motion] [INF] [ALL] log_level 8
[0:motion] [INF] [ALL] log_type all
[0:motion] [INF] [ALL] quiet on
[0:motion] [INF] [ALL] native_language on
[0:motion] [INF] [ALL] camera_name
[0:motion] [INF] [ALL] camera_id 0
[0:motion] [INF] [ALL] target_dir
[0:motion] [INF] [ALL] videodevice /dev/video2
[0:motion] [INF] [ALL] vid_control_params
[0:motion] [INF] [ALL] v4l2_palette 18
[0:motion] [INF] [ALL] input -1
[0:motion] [INF] [ALL] norm 0
[0:motion] [INF] [ALL] frequency 0
[0:motion] [INF] [ALL] auto_brightness 0
[0:motion] [INF] [ALL] tunerdevice
[0:motion] [INF] [ALL] roundrobin_frames 1
[0:motion] [INF] [ALL] roundrobin_skip 1
[0:motion] [INF] [ALL] roundrobin_switchfilter off
[0:motion] [INF] [ALL] netcam_url <redacted>
[0:motion] [INF] [ALL] netcam_highres
[0:motion] [INF] [ALL] netcam_userpass
[0:motion] [INF] [ALL] netcam_keepalive off
[0:motion] [INF] [ALL] netcam_proxy
[0:motion] [INF] [ALL] netcam_tolerant_check off
[0:motion] [INF] [ALL] netcam_use_tcp on
[0:motion] [INF] [ALL] mmalcam_name
[0:motion] [INF] [ALL] mmalcam_control_params
[0:motion] [INF] [ALL] width 1280
[0:motion] [INF] [ALL] height 720
[0:motion] [INF] [ALL] framerate 5
[0:motion] [INF] [ALL] minimum_frame_time 0
[0:motion] [INF] [ALL] rotate 0
[0:motion] [INF] [ALL] flip_axis none
[0:motion] [INF] [ALL] locate_motion_mode off
[0:motion] [INF] [ALL] locate_motion_style box
[0:motion] [INF] [ALL] text_left
[0:motion] [INF] [ALL] text_right %Y-%m-%d\n%T-%q
[0:motion] [INF] [ALL] text_changes off
[0:motion] [INF] [ALL] text_scale 1
[0:motion] [INF] [ALL] text_event %Y%m%d%H%M%S
[0:motion] [INF] [ALL] emulate_motion off
[0:motion] [INF] [ALL] threshold 1500
[0:motion] [INF] [ALL] threshold_maximum 0
[0:motion] [INF] [ALL] threshold_tune off
[0:motion] [INF] [ALL] noise_level 32
[0:motion] [INF] [ALL] noise_tune on
[0:motion] [INF] [ALL] despeckle_filter
[0:motion] [INF] [ALL] area_detect
[0:motion] [INF] [ALL] mask_file
[0:motion] [INF] [ALL] mask_privacy
[0:motion] [INF] [ALL] smart_mask_speed 0
[0:motion] [INF] [ALL] lightswitch_percent 0
[0:motion] [INF] [ALL] lightswitch_frames 5
[0:motion] [INF] [ALL] minimum_motion_frames 1
[0:motion] [INF] [ALL] event_gap 60
[0:motion] [INF] [ALL] pre_capture 0
[0:motion] [INF] [ALL] post_capture 0
[0:motion] [INF] [ALL] on_event_start
[0:motion] [INF] [ALL] on_event_end
[0:motion] [INF] [ALL] on_picture_save
[0:motion] [INF] [ALL] on_area_detected
[0:motion] [INF] [ALL] on_motion_detected
[0:motion] [INF] [ALL] on_movie_start
[0:motion] [INF] [ALL] on_movie_end
[0:motion] [INF] [ALL] on_camera_lost
[0:motion] [INF] [ALL] on_camera_found
[0:motion] [INF] [ALL] picture_output off
[0:motion] [INF] [ALL] picture_output_motion off
[0:motion] [INF] [ALL] picture_type jpeg
[0:motion] [INF] [ALL] picture_quality 75
[0:motion] [INF] [ALL] picture_exif
[0:motion] [INF] [ALL] picture_filename %v-%Y%m%d%H%M%S-%q
[0:motion] [INF] [ALL] snapshot_interval 0
[0:motion] [INF] [ALL] snapshot_filename %v-%Y%m%d%H%M%S-snapshot
[0:motion] [INF] [ALL] movie_output on
[0:motion] [INF] [ALL] movie_output_motion off
[0:motion] [INF] [ALL] movie_max_time 0
[0:motion] [INF] [ALL] movie_bps 400000
[0:motion] [INF] [ALL] movie_quality 0
[0:motion] [INF] [ALL] movie_codec mkv
[0:motion] [INF] [ALL] movie_duplicate_frames off
[0:motion] [INF] [ALL] movie_passthrough on
[0:motion] [INF] [ALL] movie_filename %v-%Y%m%d%H%M%S
[0:motion] [INF] [ALL] movie_extpipe_use off
[0:motion] [INF] [ALL] movie_extpipe
[0:motion] [INF] [ALL] timelapse_interval 0
[0:motion] [INF] [ALL] timelapse_mode daily
[0:motion] [INF] [ALL] timelapse_fps 30
[0:motion] [INF] [ALL] timelapse_codec mpg
[0:motion] [INF] [ALL] timelapse_filename %Y%m%d-timelapse
[0:motion] [INF] [ALL] video_pipe
[0:motion] [INF] [ALL] video_pipe_motion
[0:motion] [INF] [ALL] webcontrol_port 8080
[0:motion] [INF] [ALL] webcontrol_ipv6 off
[0:motion] [INF] [ALL] webcontrol_localhost on
[0:motion] [INF] [ALL] webcontrol_parms 0
[0:motion] [INF] [ALL] webcontrol_interface 0
[0:motion] [INF] [ALL] webcontrol_auth_method 0
[0:motion] [INF] [ALL] webcontrol_authentication
[0:motion] [INF] [ALL] webcontrol_tls off
[0:motion] [INF] [ALL] webcontrol_cert
[0:motion] [INF] [ALL] webcontrol_key
[0:motion] [INF] [ALL] webcontrol_cors_header
[0:motion] [INF] [ALL] stream_port 8081
[0:motion] [INF] [ALL] stream_localhost on
[0:motion] [INF] [ALL] stream_auth_method 0
[0:motion] [INF] [ALL] stream_authentication
[0:motion] [INF] [ALL] stream_tls off
[0:motion] [INF] [ALL] stream_cors_header
[0:motion] [INF] [ALL] stream_preview_scale 25
[0:motion] [INF] [ALL] stream_preview_newline off
[0:motion] [INF] [ALL] stream_preview_method 0
[0:motion] [INF] [ALL] stream_quality 50
[0:motion] [INF] [ALL] stream_grey off
[0:motion] [INF] [ALL] stream_motion off
[0:motion] [INF] [ALL] stream_maxrate 1
[0:motion] [INF] [ALL] stream_limit 0
[0:motion] [INF] [ALL] database_type
[0:motion] [INF] [ALL] database_dbname
[0:motion] [INF] [ALL] database_host localhost
[0:motion] [INF] [ALL] database_port 0
[0:motion] [INF] [ALL] database_user
[0:motion] [INF] [ALL] database_password
[0:motion] [INF] [ALL] database_busy_timeout 0
[0:motion] [INF] [ALL] sql_log_picture off
[0:motion] [INF] [ALL] sql_log_snapshot off
[0:motion] [INF] [ALL] sql_log_movie off
[0:motion] [INF] [ALL] sql_log_timelapse off
[0:motion] [INF] [ALL] sql_query_start
[0:motion] [INF] [ALL] sql_query_stop
[0:motion] [INF] [ALL] sql_query
[0:motion] [INF] [ALL] track_type 0
[0:motion] [INF] [ALL] track_auto off
[0:motion] [INF] [ALL] track_port
[0:motion] [INF] [ALL] track_motorx 0
[0:motion] [INF] [ALL] track_motorx_reverse off
[0:motion] [INF] [ALL] track_motory 0
[0:motion] [INF] [ALL] track_motory_reverse off
[0:motion] [INF] [ALL] track_maxx 0
[0:motion] [INF] [ALL] track_minx 0
[0:motion] [INF] [ALL] track_maxy 0
[0:motion] [INF] [ALL] track_miny 0
[0:motion] [INF] [ALL] track_homex 128
[0:motion] [INF] [ALL] track_homey 128
[0:motion] [INF] [ALL] track_iomojo_id 0
[0:motion] [INF] [ALL] track_step_angle_x 10
[0:motion] [INF] [ALL] track_step_angle_y 10
[0:motion] [INF] [ALL] track_move_wait 10
[0:motion] [INF] [ALL] track_speed 255
[0:motion] [INF] [ALL] track_stepsize 40
[0:motion] [INF] [ALL] track_generic_move
[0:motion] [INF] [ALL] camera
[0:motion] [INF] [ALL] camera_dir
[0:motion] [NTC] [STR] webu_start_strm: Starting all camera streams on port 8081
[0:motion] [INF] [STR] webu_mhd_features_basic: Basic authentication: available
[0:motion] [INF] [STR] webu_mhd_features_digest: Digest authentication: available
[0:motion] [INF] [STR] webu_mhd_features_ipv6: IPV6: available
[0:motion] [INF] [STR] webu_mhd_features_tls: SSL/TLS: available
[0:motion] [NTC] [STR] webu_start_ctrl: Starting webcontrol on port 8080
[0:motion] [INF] [STR] webu_mhd_features_basic: Basic authentication: available
[0:motion] [INF] [STR] webu_mhd_features_digest: Digest authentication: available
[0:motion] [INF] [STR] webu_mhd_features_ipv6: IPV6: available
[0:motion] [INF] [STR] webu_mhd_features_tls: SSL/TLS: available
[0:motion] [DBG] [VID] bktr_mutex_init: BKTR is not enabled.
[0:motion] [NTC] [ENC] ffmpeg_global_init: ffmpeg libavcodec version 56.60.100 libavformat version 56.40.101
[0:motion] [DBG] [DBL] dbse_global_init: Initializing database
[0:motion] [NTC] [ALL] translate_init: Language: English
[0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 0 is from ../motion-passthrough.conf
[0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: (null) Service: v4l2:
[0:motion] [NTC] [ALL] motion_start_thread: Stream port 8081
[0:motion] [NTC] [ALL] main: Waiting for threads to finish, pid: 19753
[1:ml1] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
[1:ml1] [NTC] [VID] vid_start: Opening Netcam RTSP
[1:ml1] [INF] [NET] netcam_rtsp_set_parms: Setting up Normal resolution stream.
[1:ml1] [INF] [NET] util_check_passthrough: pass-through is enabled but is still experimental.
[1:ml1] [INF] [NET] Above message repeats 1 times
[1:ml1] [INF] [NET] netcam_url_parse: Using port number 0
[1:ml1] [INF] [NET] netcam_rtsp_set_path: Setting up v4l2 via ffmpeg netcam
[1:ml1] [INF] [NET] netcam_rtsp_set_v4l2: Normal resolution: Requested v4l2_palette option: 18
[1:ml1] [INF] [NET] netcam_rtsp_set_v4l2: Normal resolution: Requested FOURCC code: Y10
[1:ml1] [INF] [NET] netcam_rtsp_set_v4l2: Normal resolution: Setting v4l2 input_format: default
[1:ml1] [INF] [NET] netcam_rtsp_set_v4l2: Normal resolution: Setting v4l2 framerate: ���p�
[1:ml1] [INF] [NET] netcam_rtsp_set_v4l2: Normal resolution: Setting v4l2 video_size: �u
[1:ml1] [INF] [NET] netcam_rtsp_open_context: Normal resolution: Opened camera((null))
[1:ml1] [DBG] [NET] netcam_check_buffsize: expanding buffer from [0/0] to [0/1384448] bytes.
[1:ml1] [INF] [NET] Above message repeats 1 times
[1:ml1] [INF] [NET] netcam_rtsp_copy_stream: Stream copied for pass-through
[1:ml1] [DBG] [NET] netcam_check_buffsize: expanding buffer from [1382400/1384448] to [1382400/2764800] bytes.
[1:ml1] [NTC] [NET] netcam_rtsp_connect: Normal resolution: Camera ((null)) connected
[1:ml1] [DBG] [NET] netcam_check_buffsize: expanding buffer from [1382400/1384448] to [1382400/2764800] bytes.
[1:ml1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[2:nc2] [NTC] [NET] netcam_rtsp_handler: Normal resolution: Camera handler thread [2] started
[2:nc2] [INF] [NET] netcam_rtsp_open_context: Normal resolution: Opened camera((null))
^C[2:nc2] [INF] [NET] netcam_rtsp_copy_stream: Stream copied for pass-through
[2:nc2] [NTC] [NET] netcam_rtsp_connect: Normal resolution: Camera ((null)) connected
[1:ml1] [INF] [NET] netcam_rtsp_pktarray_resize: Normal resolution: Resized packet array to 38
[1:ml1] [INF] [NET] netcam_rtsp_pktarray_resize: Normal resolution: Resized packet array to 40
[1:ml1] [NTC] [ALL] mlp_actions: End of event 1
[1:ml1] [NTC] [ALL] motion_loop: Thread exiting
[1:ml1] [INF] [ALL] motion_cleanup: Calling vid_close() from motion_cleanup
[1:ml1] [INF] [VID] vid_close: calling netcam_rtsp_cleanup
[1:ml1] [INF] [NET] netcam_rtsp_cleanup: Normal resolution: Shutting down network camera.
[2:nc2] [INF] [NET] netcam_rtsp_handler: Normal resolution: Handler loop finished.
[2:nc2] [INF] [NET] netcam_rtsp_handler: netcam camera handler: finish set, exiting
[1:ml1] [NTC] [NET] netcam_rtsp_cleanup: Normal resolution: Shut down complete.
[0:motion] [NTC] [ALL] main: Threads finished
[0:motion] [NTC] [ALL] main: Motion terminating
[0:motion] [DBG] [ALL] dbse_global_deinit: Closing MYSQL
[0:motion] [DBG] [VID] bktr_mutex_destroy: BKTR is not enabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment