Skip to content

Instantly share code, notes, and snippets.

@PoisonousJohn
Created October 8, 2018 20:45
Show Gist options
  • Save PoisonousJohn/a525e11c8850075ff35d76efd3a05909 to your computer and use it in GitHub Desktop.
Save PoisonousJohn/a525e11c8850075ff35d76efd3a05909 to your computer and use it in GitHub Desktop.
Motion log with rtsp
[alarm@alarmpi records]$ motion
[37881728:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion/motion.conf
[37881728:motion] [NTC] [ALL] motion_startup: Motion 4.1.1 Started
[37881728:motion] [NTC] [ALL] motion_startup: Logging to syslog
[37881728:motion] [NTC] [ALL] motion_startup: Using log type (ALL) log level (DBG)
[37881728:motion] [INF] [ALL] conf_output_parms: Writing configuration parameters from all files (1):
[37881728:motion] [INF] [ALL] Thread 0 - Config file: /etc/motion/motion.conf
[37881728:motion] [INF] [ALL] daemon off
[37881728:motion] [INF] [ALL] process_id_file /var/run/motion/motion.pid
[37881728:motion] [INF] [ALL] setup_mode off
[37881728:motion] [INF] [ALL] log_level 8
[37881728:motion] [INF] [ALL] log_type all
[37881728:motion] [INF] [ALL] videodevice /dev/video0
[37881728:motion] [INF] [ALL] v4l2_palette 17
[37881728:motion] [INF] [ALL] input -1
[37881728:motion] [INF] [ALL] norm 0
[37881728:motion] [INF] [ALL] frequency 0
[37881728:motion] [INF] [ALL] flip_axis none
[37881728:motion] [INF] [ALL] rotate 0
[37881728:motion] [INF] [ALL] width 320
[37881728:motion] [INF] [ALL] height 240
[37881728:motion] [INF] [ALL] framerate 2
[37881728:motion] [INF] [ALL] minimum_frame_time 0
[37881728:motion] [INF] [ALL] netcam_url <redacted>
[37881728:motion] [INF] [ALL] netcam_keepalive on
[37881728:motion] [INF] [ALL] netcam_tolerant_check off
[37881728:motion] [INF] [ALL] rtsp_uses_tcp on
[37881728:motion] [INF] [ALL] auto_brightness off
[37881728:motion] [INF] [ALL] brightness 0
[37881728:motion] [INF] [ALL] contrast 0
[37881728:motion] [INF] [ALL] saturation 0
[37881728:motion] [INF] [ALL] hue 0
[37881728:motion] [INF] [ALL] power_line_frequency -1
[37881728:motion] [INF] [ALL] roundrobin_frames 1
[37881728:motion] [INF] [ALL] roundrobin_skip 1
[37881728:motion] [INF] [ALL] switchfilter off
[37881728:motion] [INF] [ALL] threshold 1500
[37881728:motion] [INF] [ALL] threshold_tune off
[37881728:motion] [INF] [ALL] noise_level 32
[37881728:motion] [INF] [ALL] noise_tune on
[37881728:motion] [INF] [ALL] despeckle_filter EedDl
[37881728:motion] [INF] [ALL] smart_mask_speed 0
[37881728:motion] [INF] [ALL] lightswitch 0
[37881728:motion] [INF] [ALL] minimum_motion_frames 1
[37881728:motion] [INF] [ALL] pre_capture 0
[37881728:motion] [INF] [ALL] post_capture 0
[37881728:motion] [INF] [ALL] event_gap 60
[37881728:motion] [INF] [ALL] max_movie_time 300
[37881728:motion] [INF] [ALL] emulate_motion off
[37881728:motion] [INF] [ALL] output_pictures off
[37881728:motion] [INF] [ALL] output_debug_pictures off
[37881728:motion] [INF] [ALL] quality 75
[37881728:motion] [INF] [ALL] camera_id 0
[37881728:motion] [INF] [ALL] picture_type jpeg
[37881728:motion] [INF] [ALL] ffmpeg_output_movies on
[37881728:motion] [INF] [ALL] ffmpeg_output_debug_movies off
[37881728:motion] [INF] [ALL] ffmpeg_bps 400000
[37881728:motion] [INF] [ALL] ffmpeg_variable_bitrate 0
[37881728:motion] [INF] [ALL] ffmpeg_video_codec mkv
[37881728:motion] [INF] [ALL] ffmpeg_passthrough off
[37881728:motion] [INF] [ALL] ffmpeg_duplicate_frames off
[37881728:motion] [INF] [ALL] use_extpipe off
[37881728:motion] [INF] [ALL] snapshot_interval 0
[37881728:motion] [INF] [ALL] locate_motion_mode on
[37881728:motion] [INF] [ALL] locate_motion_style box
[37881728:motion] [INF] [ALL] text_right %Y-%m-%d\n%T-%q
[37881728:motion] [INF] [ALL] text_changes off
[37881728:motion] [INF] [ALL] text_event %Y%m%d%H%M%S
[37881728:motion] [INF] [ALL] text_double off
[37881728:motion] [INF] [ALL] snapshot_filename %v-%Y%m%d%H%M%S-snapshot
[37881728:motion] [INF] [ALL] picture_filename %v-%Y%m%d%H%M%S-%q
[37881728:motion] [INF] [ALL] movie_filename %v-%Y%m%d%H%M%S
[37881728:motion] [INF] [ALL] timelapse_interval 0
[37881728:motion] [INF] [ALL] timelapse_mode daily
[37881728:motion] [INF] [ALL] timelapse_codec mpg
[37881728:motion] [INF] [ALL] timelapse_fps 30
[37881728:motion] [INF] [ALL] timelapse_filename %Y%m%d-timelapse
[37881728:motion] [INF] [ALL] ipv6_enabled off
[37881728:motion] [INF] [ALL] stream_port 8081
[37881728:motion] [INF] [ALL] substream_port 0
[37881728:motion] [INF] [ALL] stream_quality 50
[37881728:motion] [INF] [ALL] stream_motion off
[37881728:motion] [INF] [ALL] stream_maxrate 1
[37881728:motion] [INF] [ALL] stream_localhost off
[37881728:motion] [INF] [ALL] stream_limit 0
[37881728:motion] [INF] [ALL] stream_auth_method 0
[37881728:motion] [INF] [ALL] stream_preview_scale 25
[37881728:motion] [INF] [ALL] stream_preview_newline off
[37881728:motion] [INF] [ALL] webcontrol_port 8080
[37881728:motion] [INF] [ALL] webcontrol_localhost off
[37881728:motion] [INF] [ALL] webcontrol_html_output on
[37881728:motion] [INF] [ALL] webcontrol_parms 0
[37881728:motion] [INF] [ALL] track_type 0
[37881728:motion] [INF] [ALL] track_auto off
[37881728:motion] [INF] [ALL] track_motorx 0
[37881728:motion] [INF] [ALL] track_motorx_reverse off
[37881728:motion] [INF] [ALL] track_motory 0
[37881728:motion] [INF] [ALL] track_motory_reverse off
[37881728:motion] [INF] [ALL] track_maxx 0
[37881728:motion] [INF] [ALL] track_minx 0
[37881728:motion] [INF] [ALL] track_maxy 0
[37881728:motion] [INF] [ALL] track_miny 0
[37881728:motion] [INF] [ALL] track_homex 128
[37881728:motion] [INF] [ALL] track_homey 128
[37881728:motion] [INF] [ALL] track_iomojo_id 0
[37881728:motion] [INF] [ALL] track_step_angle_x 10
[37881728:motion] [INF] [ALL] track_step_angle_y 10
[37881728:motion] [INF] [ALL] track_move_wait 10
[37881728:motion] [INF] [ALL] track_speed 255
[37881728:motion] [INF] [ALL] track_stepsize 40
[37881728:motion] [INF] [ALL] quiet on
[37881728:motion] [INF] [ALL] sql_log_picture on
[37881728:motion] [INF] [ALL] sql_log_snapshot on
[37881728:motion] [INF] [ALL] sql_log_movie off
[37881728:motion] [INF] [ALL] sql_log_timelapse off
[37881728:motion] [INF] [ALL] sql_query_start sql_query_start insert into security_events(camera, event_time_stamp) values('%t', '%Y-%m-%d %T')
[37881728:motion] [INF] [ALL] sql_query sql_query insert into security_file(camera, filename, frame, file_type, time_stamp) values('%t', '%f', '%q', '%n', '%Y-%m-%d %T')
[37881728:motion] [INF] [ALL] database_host localhost
[37881728:motion] [INF] [ALL] database_port 0
[37881728:motion] [INF] [ALL] database_busy_timeout 0
[37881728:motion] [DBG] [VID] bktr_mutex_init: BKTR is not enabled.
[37881728:motion] [NTC] [ENC] ffmpeg_global_init: ffmpeg libavcodec version 58.18.100 libavformat version 58.12.100
[0:motion] [NTC] [ALL] main: Camera ID: 0 is from /etc/motion/motion.conf
[0:motion] [NTC] [ALL] main: Camera ID: 0 Camera Name: (null) Service: rtsp:
[0:motion] [NTC] [ALL] main: Stream port 8081
[0:motion] [NTC] [ALL] main: Waiting for threads to finish, pid: 891
[0:wc0] [NTC] [STR] http_bindsock: listening on any IPv4 address port 8080
[0:wc0] [NTC] [STR] httpd_run: Started motion-httpd server on port 8080 (auth Disabled)
[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] netcam_rtsp_set_path: Setting up rtsp via ffmpeg netcam
[1:ml1] [INF] [NET] netcam_rtsp_set_rtsp: Normal resolution: Setting rtsp transport to tcp
[1:ml1] [INF] [ENC] ffmpeg_avcodec_log: Nonmatching transport in server reply
[1:ml1] [ERR] [NET] netcam_rtsp_open_context: Normal resolution: Unable to open camera((null)): Invalid data found when processing input
[1:ml1] [INF] [NET] netcam_rtsp_cleanup: Normal resolution: Shutting down network camera.
[1:ml1] [NTC] [NET] netcam_rtsp_cleanup: Normal resolution: Shut down complete.
[1:ml1] [ERR] [VID] vid_start: Netcam RTSP failed to open
[1:ml1] [WRN] [ALL] motion_init: Could not fetch initial image from camera
[1:ml1] [WRN] [ALL] motion_init: Motion continues using width and height from config file(s)
[1:ml1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[1:ml1] [NTC] [STR] http_bindsock: listening on any IPv4 address port 8081
[1:ml1] [NTC] [ALL] motion_init: Started motion-stream server on port 8081 (auth Disabled)
[1:ml1] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera
[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] netcam_rtsp_set_path: Setting up rtsp via ffmpeg netcam
[1:ml1] [INF] [NET] netcam_rtsp_set_rtsp: Normal resolution: Setting rtsp transport to tcp
[1:ml1] [INF] [ENC] ffmpeg_avcodec_log: Nonmatching transport in server reply
[1:ml1] [ERR] [NET] netcam_rtsp_open_context: Normal resolution: Unable to open camera((null)): Invalid data found when processing input
[1:ml1] [INF] [NET] netcam_rtsp_cleanup: Normal resolution: Shutting down network camera.
[1:ml1] [NTC] [NET] netcam_rtsp_cleanup: Normal resolution: Shut down complete.
[1:ml1] [ERR] [VID] vid_start: Netcam RTSP failed to open
[1:ml1] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera
[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] netcam_rtsp_set_path: Setting up rtsp via ffmpeg netcam
[1:ml1] [INF] [NET] netcam_rtsp_set_rtsp: Normal resolution: Setting rtsp transport to tcp
[1:ml1] [INF] [ENC] ffmpeg_avcodec_log: Nonmatching transport in server reply
[1:ml1] [ERR] [NET] netcam_rtsp_open_context: Normal resolution: Unable to open camera((null)): Invalid data found when processing input
[1:ml1] [INF] [NET] netcam_rtsp_cleanup: Normal resolution: Shutting down network camera.
[1:ml1] [NTC] [NET] netcam_rtsp_cleanup: Normal resolution: Shut down complete.
[1:ml1] [ERR] [VID] vid_start: Netcam RTSP failed to open
^C[1:ml1] [NTC] [ALL] mlp_actions: End of event 1
[0:wc0] [NTC] [STR] httpd_run: motion-httpd - Finishing
[0:wc0] [NTC] [STR] httpd_run: motion-httpd Closing
[0:wc0] [NTC] [STR] motion_web_control: motion-httpd thread exit
[1:ml1] [NTC] [ALL] motion_loop: Thread exiting
[1:ml1] [NTC] [STR] stream_stop: Closing motion-stream listen socket & active motion-stream sockets
[1:ml1] [NTC] [STR] stream_stop: Closed motion-stream listen socket & active motion-stream sockets
[0:motion] [NTC] [ALL] main: Threads finished
[0:motion] [NTC] [ALL] main: Motion terminating
[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