motioneye-project / motioneye

A web frontend for the motion daemon.
GNU General Public License v3.0
3.98k stars 652 forks source link

motion 4.2 #1070

Closed donvipre closed 5 years ago

donvipre commented 5 years ago

I have a CentOS 7.5 machine running motioneye and motion 4.1 since a year now.

I started to build motion from here https://github.com/Motion-Project/motion

git clone
cd motion
autreconf -fiv
./configure
make
sudo make install

After now upgrading from 4.1 to 4.2 the live camera in motioneye does not work anymore. I noticed also some errors in the log of my systemd unit motioneye

Nov 14 23:41:37 m1-server systemd[1]: Started motionEye Server.
Nov 14 23:41:37 m1-server systemd[1]: Starting motionEye Server...
Nov 14 23:41:37 m1-server meyectl[1012]: INFO: hello! this is motionEye server 0.39.3
Nov 14 23:41:38 m1-server meyectl[1012]: DEBUG: using motion version 4.2
Nov 14 23:41:38 m1-server meyectl[1012]: DEBUG: using ffmpeg version 2.8.15
Nov 14 23:41:38 m1-server meyectl[1012]: DEBUG: reading main config from file /etc/motioneye/motion.conf...
Nov 14 23:41:38 m1-server meyectl[1012]: DEBUG: loading additional config structure for main, without separators
Nov 14 23:41:38 m1-server meyectl[1012]: DEBUG: additional config section: network
Nov 14 23:41:38 m1-server meyectl[1012]: DEBUG: listing config dir /etc/motioneye...
Nov 14 23:41:38 m1-server meyectl[1012]: DEBUG: found camera with id 2
Nov 14 23:41:38 m1-server meyectl[1012]: DEBUG: reading camera config from /etc/motioneye/thread-2.conf...
Nov 14 23:41:38 m1-server meyectl[1012]: DEBUG: loading additional config structure for camera, without separators
Nov 14 23:41:38 m1-server meyectl[1012]: DEBUG: starting motion
Nov 14 23:41:38 m1-server meyectl[1012]: DEBUG: starting motion binary "/usr/local/bin/motion"
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motioneye/motion.conf
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [ALR] [ALL] conf_cmdparse: "webcontrol_html_output" replaced with "webcontrol_interface" after version 4.1.1
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [ALR] [ALL] conf_cmdparse: The "thread" option has been replaced by the "camera" after version 3.4.1
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [NTC] [ALL] config_camera: Processing camera config file thread-2.conf
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [ALR] [ALL] conf_cmdparse: "ffmpeg_output_movies" replaced with "movie_output" after version 4.1.1
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [ALR] [ALL] conf_cmdparse: "quality" replaced with "picture_quality" after version 4.1.1
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [ALR] [ALL] conf_cmdparse: "output_pictures" replaced with "picture_output" after version 4.1.1
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [ALR] [ALL] conf_cmdparse: "ffmpeg_variable_bitrate" replaced with "movie_quality" after version 4.1.1
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [ALR] [ALL] conf_cmdparse: "ffmpeg_video_codec" replaced with "movie_codec" after version 4.1.1
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [ALR] [ALL] conf_cmdparse: "lightswitch" replaced with "lightswitch_percent" after version 4.1.1
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [ALR] [ALL] conf_cmdparse: "text_double" replaced with "text_scale" after version 4.1.1
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [ALR] [ALL] conf_cmdparse: "max_movie_time" replaced with "movie_max_time" after version 4.1.1
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [ALR] [ALL] conf_cmdparse: "ffmpeg_bps" replaced with "movie_bps" after version 4.1.1
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [ALR] [ALL] conf_cmdparse: "ffmpeg_output_debug_movies" replaced with "movie_output_motion" after version 4.1.1
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [ALR] [ALL] conf_cmdparse: "output_debug_pictures" replaced with "picture_output_motion" after version 4.1.1
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [NTC] [ALL] motion_startup: Logging to syslog
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [NTC] [ALL] motion_startup: Motion 4.2 Started
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [NTC] [ALL] motion_startup: Using default log type (ALL)
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [NTC] [ALL] motion_startup: Using log type (ALL) log level (ALL)
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] conf_output_parms: Writing configuration parameters from all files (2):
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] Thread 0 - Config file: /etc/motioneye/motion.conf
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] daemon                    off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] setup_mode                off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] pid_file
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] log_file
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] log_level                 9
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] log_type                  ALL
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] quiet                     on
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] native_language           on
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] camera_name
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] camera_id                 0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] target_dir
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] videodevice               /dev/video0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] vid_control_params
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] v4l2_palette              17
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] input                     -1
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] norm                      0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] frequency                 0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] auto_brightness           0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] tunerdevice
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] roundrobin_frames         1
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] roundrobin_skip           1
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] roundrobin_switchfilter   off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] netcam_url
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] netcam_highres
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] netcam_userpass
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] netcam_keepalive          off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] netcam_proxy
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] netcam_tolerant_check     off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] netcam_use_tcp            on
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] mmalcam_name
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] mmalcam_control_params
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] width                     640
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] height                    480
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] framerate                 15
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] minimum_frame_time        0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] rotate                    0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] flip_axis                 none
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] locate_motion_mode        off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] locate_motion_style       box
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] text_left
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] text_right                %Y-%m-%d\n%T
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] text_changes              off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] text_scale                1
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] text_event                %Y%m%d%H%M%S
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] emulate_motion            off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] threshold                 1500
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] threshold_maximum         0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] threshold_tune            off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] noise_level               32
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] noise_tune                on
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] despeckle_filter
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] area_detect
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] mask_file
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] mask_privacy
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] smart_mask_speed          0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] lightswitch_percent       0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] lightswitch_frames        5
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] minimum_motion_frames     1
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] event_gap                 60
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] pre_capture               0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] post_capture              0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] on_event_start
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] on_event_end
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] on_picture_save
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] on_area_detected
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] on_motion_detected
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] on_movie_start
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] on_movie_end
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] on_camera_lost
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] on_camera_found
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] picture_output            off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] picture_output_motion     off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] picture_type              jpeg
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] picture_quality           75
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] picture_exif
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] picture_filename          %v-%Y%m%d%H%M%S-%q
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] snapshot_interval         0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] snapshot_filename         %v-%Y%m%d%H%M%S-snapshot
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] movie_output              on
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] movie_output_motion       off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] movie_max_time            120
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] movie_bps                 400000
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] movie_quality             60
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] movie_codec               mkv
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] movie_duplicate_frames    off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] movie_passthrough         off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] movie_filename            %v-%Y%m%d%H%M%S
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] movie_extpipe_use         off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] movie_extpipe
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] timelapse_interval        0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] timelapse_mode            daily
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] timelapse_fps             30
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] timelapse_codec           mpg
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] timelapse_filename        %Y%m%d-timelapse
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] video_pipe
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] video_pipe_motion
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] webcontrol_port           7999
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] webcontrol_ipv6           off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] webcontrol_localhost      on
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] webcontrol_parms          0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] webcontrol_interface      0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] webcontrol_auth_method    0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] webcontrol_authentication
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] webcontrol_tls            off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] webcontrol_cert
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] webcontrol_key
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] webcontrol_cors_header
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] stream_port               0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] stream_localhost          on
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] stream_auth_method        0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] stream_authentication
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] stream_tls                off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] stream_cors_header
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] stream_preview_scale      25
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] stream_preview_newline    off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] stream_preview_method     0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] stream_quality            50
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] stream_grey               off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] stream_motion             off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] stream_maxrate            1
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] stream_limit              0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] database_type
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] database_dbname
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] database_host             localhost
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] database_port             0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] database_user
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] database_password
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] database_busy_timeout     0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] sql_log_picture           off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] sql_log_snapshot          off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] sql_log_movie             off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] sql_log_timelapse         off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] sql_query_start
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] sql_query_stop
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] sql_query
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] track_type                0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] track_auto                off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] track_port
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] track_motorx              0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] track_motorx_reverse      off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] track_motory              0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] track_motory_reverse      off
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] track_maxx                0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] track_minx                0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] track_maxy                0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] track_miny                0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] track_homex               128
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] track_homey               128
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] track_iomojo_id           0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] track_step_angle_x        10
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] track_step_angle_y        10
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] track_move_wait           10
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] track_speed               255
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] track_stepsize            40
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] track_generic_move
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] camera
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] camera_dir
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] Thread 1 - Config file: thread-2.conf
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] log_level                 15
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] target_dir                /data/services/motioneye/media/Camera2
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] auto_brightness           1
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] netcam_url                <redacted>
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] netcam_userpass           <redacted>
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] netcam_tolerant_check     on
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] width                     1280
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] height                    720
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] framerate                 5
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] locate_motion_style       redbox
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] text_left                 Camera2
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] text_scale                2
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] threshold                 23040
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] noise_level               31
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] minimum_motion_frames     2
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] event_gap                 30
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] pre_capture               10
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] post_capture              10
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] on_event_start            /usr/lib/python2.7/site-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" start %t
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] on_event_end              /usr/lib/python2.7/site-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" stop %t
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] on_picture_save           /usr/lib/python2.7/site-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" picture_save %t %f
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] on_movie_end              /usr/lib/python2.7/site-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" movie_end %t %f
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] picture_quality           85
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] movie_max_time            0
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] movie_bps                 768000
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] movie_quality             75
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] movie_codec               mp4
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] movie_filename            %Y-%m-%d/%H-%M-%S
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] stream_port               8082
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] stream_authentication     <redacted>
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] stream_quality            85
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] stream_maxrate            30
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [NTC] [STR] webu_start_strm: Starting camera 1 stream on port 8082
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [NTC] [STR] webu_start_ctrl: Starting webcontrol on port 7999
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [DBG] [VID] bktr_mutex_init: BKTR is not enabled.
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] movie_codec               mp4
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] movie_filename            %Y-%m-%d/%H-%M-%S
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] stream_port               8082
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] stream_authentication     <redacted>
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] stream_quality            85
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [INF] [ALL] stream_maxrate            30
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [NTC] [STR] webu_start_strm: Starting camera 1 stream on port 8082
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [NTC] [STR] webu_start_ctrl: Starting webcontrol on port 7999
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [DBG] [VID] bktr_mutex_init: BKTR is not enabled.
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [NTC] [ENC] ffmpeg_global_init: ffmpeg libavcodec version 56.60.100 libavformat version 56.40.101
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [DBG] [DBL] dbse_global_init: Initializing database
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [NTC] [ALL] translate_init: Sprache: Deutsch
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 1 is from thread-2.conf
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 1 Camera Name: (null) Service: rtsp:
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [NTC] [ALL] motion_start_thread: Stream port 8082
Nov 14 23:41:38 m1-server motion[1175]: [0:motion] [NTC] [ALL] main: Waiting for threads to finish, pid: 1175
Nov 14 23:41:38 m1-server motion[1175]: [1:ml1] [NTC] [ALL] motion_init: Camera 1 started: motion detection Enabled
Nov 14 23:41:38 m1-server motion[1175]: [1:ml1] [NTC] [VID] vid_start: Opening Netcam RTSP
Nov 14 23:41:38 m1-server motion[1175]: [1:ml1] [INF] [NET] netcam_rtsp_set_parms: Setting up Normal resolution stream.
Nov 14 23:41:38 m1-server motion[1175]: [1:ml1] [INF] [NET] netcam_rtsp_set_path: Setting up rtsp via ffmpeg netcam
Nov 14 23:41:38 m1-server motion[1175]: [1:ml1] [INF] [NET] netcam_rtsp_set_rtsp: Normal resolution: Setting rtsp transport to tcp
Nov 14 23:41:38 m1-server motion[1175]: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: Failed to resolve hostname cam01.mac01.tuxsolutions.org: Der Name oder der Dienst ist nicht bekannt
Nov 14 23:41:38 m1-server motion[1175]: [1:ml1] [ERR] [NET] netcam_rtsp_open_context: Normal resolution: Unable to open camera((null)): Eingabe-/Ausgabefehler
Nov 14 23:41:38 m1-server motion[1175]: [1:ml1] [INF] [NET] netcam_rtsp_cleanup: Normal resolution: Shutting down network camera.
Nov 14 23:41:38 m1-server motion[1175]: [1:ml1] [NTC] [NET] netcam_rtsp_cleanup: Normal resolution: Shut down complete.
Nov 14 23:41:38 m1-server motion[1175]: [1:ml1] [ERR] [VID] vid_start: Netcam RTSP failed to open
Nov 14 23:41:38 m1-server motion[1175]: [1:ml1] [WRN] [ALL] motion_init: Could not fetch initial image from camera
Nov 14 23:41:38 m1-server motion[1175]: [1:ml1] [WRN] [ALL] motion_init: Motion continues using width and height from config file(s)
Nov 14 23:41:38 m1-server motion[1175]: [1:ml1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
Nov 14 23:41:38 m1-server motion[1175]: [1:ml1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 12 items
Nov 14 23:41:40 m1-server motion[1175]: [1:ml1] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera
Nov 14 23:41:40 m1-server motion[1175]: [1:ml1] [NTC] [VID] vid_start: Opening Netcam RTSP
Nov 14 23:41:40 m1-server motion[1175]: [1:ml1] [INF] [NET] netcam_rtsp_set_parms: Setting up Normal resolution stream.
Nov 14 23:41:40 m1-server motion[1175]: [1:ml1] [INF] [NET] netcam_rtsp_set_path: Setting up rtsp via ffmpeg netcam
Nov 14 23:41:40 m1-server motion[1175]: [1:ml1] [INF] [NET] netcam_rtsp_set_rtsp: Normal resolution: Setting rtsp transport to tcp
Nov 14 23:41:40 m1-server motion[1175]: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: Failed to resolve hostname cam01.mac01.tuxsolutions.org: Der Name oder der Dienst ist nicht bekannt
Nov 14 23:41:40 m1-server motion[1175]: [1:ml1] [ERR] [NET] netcam_rtsp_open_context: Normal resolution: Unable to open camera((null)): Eingabe-/Ausgabefehler
Nov 14 23:41:40 m1-server motion[1175]: [1:ml1] [INF] [NET] netcam_rtsp_cleanup: Normal resolution: Shutting down network camera.
Nov 14 23:41:40 m1-server motion[1175]: [1:ml1] [NTC] [NET] netcam_rtsp_cleanup: Normal resolution: Shut down complete.
Nov 14 23:41:40 m1-server motion[1175]: [1:ml1] [ERR] [VID] vid_start: Netcam RTSP failed to open
Nov 14 23:41:40 m1-server motion[1175]: [1:ml1] [NTC] [ALL] motion_loop: Thread exiting
Nov 14 23:41:40 m1-server motion[1175]: [1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/lib/python2.7/site-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" stop 1'

A rollback to motion 4.1 got the live camera working again.

ccrisan commented 5 years ago

motionEye does not yet work with motion 4.2

donvipre commented 5 years ago

ok, I'll be patient. Thank you for the fast response :)

deece commented 5 years ago

I'm not sure this is related to motioneye - that log mentions DNS resolution failures.

donvipre commented 5 years ago

so this could be related to motion 4.2 and DNS? ;) As the hostname is existing and resolvable on the machine. Thanks very much for the hint.

deece commented 5 years ago

That's my thoughts, those log messages look like they originate from motion

electron1979 commented 5 years ago

motionEye does not yet work with motion 4.2 Oh, that's why I am having issues!

I can only see one (local) motion cam out of 6 (3 on the Pi3 running motionOS and 3 on an Orange Pi PC+). Motion does not show any of the PC+ cams until I pkill motion on the local Pi3 running motionOS, weird? One of the "dependencies" was not installed before I had motion running (before I installed motionOS) and I'm using "daemon OFF" for motion.conf, because "ON" doesn't work for me (I'm using systemctl to manage motion, but have "daemon ON" for motionOS (as per this guide). I'm using the latest motion Debian repo and the October 2018 RPi desktop OS.

Very promising application! ;)

ttimasdf commented 5 years ago

use gdebi to automatically install missing motion 4.2 dependency libmicrohttpd12. It works for me but not helps much. motion 4.2 deprecated a lot of configuration parameter names and generates a lot of warnings. It also remove stream_motion which slows down the stream when no motion detected. In a word it breaks things.

rotrials commented 5 years ago

Hello, Is there still a problem with motion 4.2 and motioneye? Thank you

ccrisan commented 5 years ago

https://github.com/ccrisan/motioneye/releases/tag/0.40rc1 adds support for Motion 4.2.