motioneye-project / motioneye

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

camera stream sporadically lost #946

Closed wendy2702 closed 6 years ago

wendy2702 commented 6 years ago

Hi,

i installed motioneye a few days ago on my Debian Jessie Homeserver. Installation went fine without any issues but now i faced a problem that my camera stream seems to stop working as i did not get any camera picture from motioneye WEB-IF or any client.

As soon as i change anything on WEB-IF it starts to work again for some hours.

Installed Motioneye Version: 0.39.2 Motion: 4.1.1 Debian: 8.11 (up to date)

System Disk Kingston SSD 120GB with 70GB free space Storage Device: Samsung 500GB WDU 75% usage Camera: Hikvision DS-2CD2042WD-I

Attached you can find a logfile. Problem starts at:

Jul 16 17:10:53 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085

Maybe somebody can tell me if this is a setup issue or how to fix. Thansk for help


Jul 16 17:04:13 openmediavault meyectl[12137]: DEBUG: saving tasks to "/etc/motioneye/tasks.pickle"...
Jul 16 17:04:13 openmediavault meyectl[12137]: DEBUG: 200 POST /_relay_event/?_username=admin&event=movie_end&thread_id=1&_signature=dcf1f047486846057cbeb5a57511cdf49dd2d74e (127.0.0.1) 1.02ms
Jul 16 17:04:13 openmediavault motion: [1:ml1] [NTC] [EVT] event_newfile: File of type 8 saved to: /srv/dev-disk-by-label-Cameras/2018-07-16/17-04-11.mp4
Jul 16 17:04:13 openmediavault motion: [1:ml1] [NTC] [ALL] motion_detected: Motion detected - starting event 879
Jul 16 17:04:13 openmediavault meyectl[12137]: DEBUG: received relayed event start for thread id 1 (camera id 1)
Jul 16 17:04:13 openmediavault meyectl[12137]: DEBUG: ignoring start event for camera with id 1 and motion detection disabled
Jul 16 17:04:13 openmediavault meyectl[12137]: DEBUG: 200 POST /_relay_event/?_username=admin&event=start&thread_id=1&_signature=eca3cdc2b0194c21ec09b507c8db91fbd1c14937 (127.0.0.1) 0.63ms
Jul 16 17:04:14 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 0 is not compatible with keyframe interval
Jul 16 17:04:18 openmediavault meyectl[12137]: DEBUG: executing task "make_movie_preview(/srv/dev-disk-by-label-Cameras/2018-07-16/17-02-11.mp4)"
Jul 16 17:04:18 openmediavault meyectl[12137]: DEBUG: saving tasks to "/etc/motioneye/tasks.pickle"...
Jul 16 17:04:18 openmediavault meyectl[12137]: DEBUG: creating movie preview for /srv/dev-disk-by-label-Cameras/2018-07-16/17-02-11.mp4 with an offset of 4 seconds...
Jul 16 17:04:18 openmediavault meyectl[12137]: DEBUG: running command "ffmpeg -i /srv/dev-disk-by-label-Cameras/2018-07-16/17-02-11.mp4 -f mjpeg -vframes 1 -ss 4 -y /srv/dev-disk-by-label-Cameras/2018-07-16/17-02-11.mp4.thumb"
Jul 16 17:06:13 openmediavault motion: [1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" stop 1'
Jul 16 17:06:13 openmediavault motion: [1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" movie_end 1 /srv/dev-disk-by-label-Cameras/2018-07-16/17-04-11.mp4'
Jul 16 17:06:13 openmediavault motion: [1:ml1] [NTC] [ALL] mlp_actions: End of event 879
Jul 16 17:06:13 openmediavault meyectl[12137]: DEBUG: received relayed event stop for thread id 1 (camera id 1)
Jul 16 17:06:13 openmediavault meyectl[12137]: DEBUG: clearing motion detected for camera with id 1
Jul 16 17:06:13 openmediavault meyectl[12137]: DEBUG: 200 POST /_relay_event/?_username=admin&event=stop&thread_id=1&_signature=50a22f432f6c34897d0f5a6129d691051629c20a (127.0.0.1) 0.76ms
Jul 16 17:06:13 openmediavault meyectl[12137]: DEBUG: received relayed event movie_end for thread id 1 (camera id 1)
Jul 16 17:06:13 openmediavault meyectl[12137]: DEBUG: adding task "make_movie_preview(/srv/dev-disk-by-label-Cameras/2018-07-16/17-04-11.mp4)" in 5 seconds
Jul 16 17:06:13 openmediavault meyectl[12137]: DEBUG: saving tasks to "/etc/motioneye/tasks.pickle"...
Jul 16 17:06:13 openmediavault meyectl[12137]: DEBUG: 200 POST /_relay_event/?_username=admin&event=movie_end&thread_id=1&_signature=b75f46399f545ad9e48f5fc3a52fc368ae9b8615 (127.0.0.1) 0.90ms
Jul 16 17:06:13 openmediavault motion: [1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" start 1'
Jul 16 17:06:13 openmediavault motion: [1:ml1] [INF] [EVT] event_new_video: Source FPS 15
Jul 16 17:06:13 openmediavault motion: [1:ml1] [WRN] [ENC] ffmpeg_set_codec: Preferred codec h264_omx has been blacklisted
Jul 16 17:06:13 openmediavault motion: [1:ml1] [NTC] [ENC] ffmpeg_set_codec: Using codec libx264
Jul 16 17:06:13 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_set_quality: libx264 codec vbr/crf/bit_rate: 12
Jul 16 17:06:13 openmediavault motion: [1:ml1] [NTC] [EVT] event_newfile: File of type 8 saved to: /srv/dev-disk-by-label-Cameras/2018-07-16/17-06-11.mp4
Jul 16 17:06:13 openmediavault motion: [1:ml1] [NTC] [ALL] motion_detected: Motion detected - starting event 880
Jul 16 17:06:13 openmediavault meyectl[12137]: DEBUG: received relayed event start for thread id 1 (camera id 1)
Jul 16 17:06:13 openmediavault meyectl[12137]: DEBUG: ignoring start event for camera with id 1 and motion detection disabled
Jul 16 17:06:13 openmediavault meyectl[12137]: DEBUG: 200 POST /_relay_event/?_username=admin&event=start&thread_id=1&_signature=eca3cdc2b0194c21ec09b507c8db91fbd1c14937 (127.0.0.1) 1.20ms
Jul 16 17:06:14 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 0 is not compatible with keyframe interval
Jul 16 17:06:18 openmediavault meyectl[12137]: DEBUG: executing task "make_movie_preview(/srv/dev-disk-by-label-Cameras/2018-07-16/17-04-11.mp4)"
Jul 16 17:06:18 openmediavault meyectl[12137]: DEBUG: saving tasks to "/etc/motioneye/tasks.pickle"...
Jul 16 17:06:18 openmediavault meyectl[12137]: DEBUG: creating movie preview for /srv/dev-disk-by-label-Cameras/2018-07-16/17-04-11.mp4 with an offset of 4 seconds...
Jul 16 17:06:18 openmediavault meyectl[12137]: DEBUG: running command "ffmpeg -i /srv/dev-disk-by-label-Cameras/2018-07-16/17-04-11.mp4 -f mjpeg -vframes 1 -ss 4 -y /srv/dev-disk-by-label-Cameras/2018-07-16/17-04-11.mp4.thumb"
Jul 16 17:07:11 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 851 is not compatible with keyframe interval
Jul 16 17:08:13 openmediavault motion: [1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" stop 1'
Jul 16 17:08:13 openmediavault motion: [1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" movie_end 1 /srv/dev-disk-by-label-Cameras/2018-07-16/17-06-11.mp4'
Jul 16 17:08:13 openmediavault motion: [1:ml1] [NTC] [ALL] mlp_actions: End of event 880
Jul 16 17:08:13 openmediavault motion: [1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" start 1'
Jul 16 17:08:13 openmediavault motion: [1:ml1] [INF] [EVT] event_new_video: Source FPS 15
Jul 16 17:08:13 openmediavault motion: [1:ml1] [WRN] [ENC] ffmpeg_set_codec: Preferred codec h264_omx has been blacklisted
Jul 16 17:08:13 openmediavault motion: [1:ml1] [NTC] [ENC] ffmpeg_set_codec: Using codec libx264
Jul 16 17:08:13 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_set_quality: libx264 codec vbr/crf/bit_rate: 12
Jul 16 17:08:13 openmediavault meyectl[12137]: DEBUG: received relayed event stop for thread id 1 (camera id 1)
Jul 16 17:08:13 openmediavault meyectl[12137]: DEBUG: clearing motion detected for camera with id 1
Jul 16 17:08:13 openmediavault meyectl[12137]: DEBUG: 200 POST /_relay_event/?_username=admin&event=stop&thread_id=1&_signature=50a22f432f6c34897d0f5a6129d691051629c20a (127.0.0.1) 0.64ms
Jul 16 17:08:13 openmediavault meyectl[12137]: DEBUG: received relayed event movie_end for thread id 1 (camera id 1)
Jul 16 17:08:13 openmediavault meyectl[12137]: DEBUG: adding task "make_movie_preview(/srv/dev-disk-by-label-Cameras/2018-07-16/17-06-11.mp4)" in 5 seconds
Jul 16 17:08:13 openmediavault meyectl[12137]: DEBUG: saving tasks to "/etc/motioneye/tasks.pickle"...
Jul 16 17:08:13 openmediavault meyectl[12137]: DEBUG: 200 POST /_relay_event/?_username=admin&event=movie_end&thread_id=1&_signature=bb53fa857aca33fcf7a3d209146e16f97dc9b01e (127.0.0.1) 1.00ms
Jul 16 17:08:13 openmediavault motion: [1:ml1] [NTC] [EVT] event_newfile: File of type 8 saved to: /srv/dev-disk-by-label-Cameras/2018-07-16/17-08-11.mp4
Jul 16 17:08:13 openmediavault motion: [1:ml1] [NTC] [ALL] motion_detected: Motion detected - starting event 881
Jul 16 17:08:13 openmediavault meyectl[12137]: DEBUG: received relayed event start for thread id 1 (camera id 1)
Jul 16 17:08:13 openmediavault meyectl[12137]: DEBUG: ignoring start event for camera with id 1 and motion detection disabled
Jul 16 17:08:13 openmediavault meyectl[12137]: DEBUG: 200 POST /_relay_event/?_username=admin&event=start&thread_id=1&_signature=eca3cdc2b0194c21ec09b507c8db91fbd1c14937 (127.0.0.1) 0.65ms
Jul 16 17:08:14 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 0 is not compatible with keyframe interval
Jul 16 17:08:18 openmediavault meyectl[12137]: DEBUG: executing task "make_movie_preview(/srv/dev-disk-by-label-Cameras/2018-07-16/17-06-11.mp4)"
Jul 16 17:08:18 openmediavault meyectl[12137]: DEBUG: saving tasks to "/etc/motioneye/tasks.pickle"...
Jul 16 17:08:18 openmediavault meyectl[12137]: DEBUG: creating movie preview for /srv/dev-disk-by-label-Cameras/2018-07-16/17-06-11.mp4 with an offset of 4 seconds...
Jul 16 17:08:18 openmediavault meyectl[12137]: DEBUG: running command "ffmpeg -i /srv/dev-disk-by-label-Cameras/2018-07-16/17-06-11.mp4 -f mjpeg -vframes 1 -ss 4 -y /srv/dev-disk-by-label-Cameras/2018-07-16/17-06-11.mp4.thumb"
Jul 16 17:10:13 openmediavault motion: [1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" stop 1'
Jul 16 17:10:13 openmediavault motion: [1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" movie_end 1 /srv/dev-disk-by-label-Cameras/2018-07-16/17-08-11.mp4'
Jul 16 17:10:13 openmediavault motion: [1:ml1] [NTC] [ALL] mlp_actions: End of event 881
Jul 16 17:10:13 openmediavault meyectl[12137]: DEBUG: received relayed event stop for thread id 1 (camera id 1)
Jul 16 17:10:13 openmediavault meyectl[12137]: DEBUG: clearing motion detected for camera with id 1
Jul 16 17:10:13 openmediavault meyectl[12137]: DEBUG: 200 POST /_relay_event/?_username=admin&event=stop&thread_id=1&_signature=50a22f432f6c34897d0f5a6129d691051629c20a (127.0.0.1) 0.72ms
Jul 16 17:10:13 openmediavault meyectl[12137]: DEBUG: received relayed event movie_end for thread id 1 (camera id 1)
Jul 16 17:10:13 openmediavault meyectl[12137]: DEBUG: adding task "make_movie_preview(/srv/dev-disk-by-label-Cameras/2018-07-16/17-08-11.mp4)" in 5 seconds
Jul 16 17:10:13 openmediavault meyectl[12137]: DEBUG: saving tasks to "/etc/motioneye/tasks.pickle"...
Jul 16 17:10:13 openmediavault meyectl[12137]: DEBUG: 200 POST /_relay_event/?_username=admin&event=movie_end&thread_id=1&_signature=991154d9880a33eac968d97aa70661cb23ce84d9 (127.0.0.1) 1.78ms
Jul 16 17:10:13 openmediavault motion: [1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" start 1'
Jul 16 17:10:13 openmediavault motion: [1:ml1] [INF] [EVT] event_new_video: Source FPS 14
Jul 16 17:10:13 openmediavault motion: [1:ml1] [WRN] [ENC] ffmpeg_set_codec: Preferred codec h264_omx has been blacklisted
Jul 16 17:10:13 openmediavault motion: [1:ml1] [NTC] [ENC] ffmpeg_set_codec: Using codec libx264
Jul 16 17:10:13 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_set_quality: libx264 codec vbr/crf/bit_rate: 12
Jul 16 17:10:13 openmediavault motion: [1:ml1] [NTC] [EVT] event_newfile: File of type 8 saved to: /srv/dev-disk-by-label-Cameras/2018-07-16/17-10-11.mp4
Jul 16 17:10:13 openmediavault motion: [1:ml1] [NTC] [ALL] motion_detected: Motion detected - starting event 882
Jul 16 17:10:13 openmediavault meyectl[12137]: DEBUG: received relayed event start for thread id 1 (camera id 1)
Jul 16 17:10:13 openmediavault meyectl[12137]: DEBUG: ignoring start event for camera with id 1 and motion detection disabled
Jul 16 17:10:13 openmediavault meyectl[12137]: DEBUG: 200 POST /_relay_event/?_username=admin&event=start&thread_id=1&_signature=eca3cdc2b0194c21ec09b507c8db91fbd1c14937 (127.0.0.1) 0.71ms
Jul 16 17:10:14 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 0 is not compatible with keyframe interval
Jul 16 17:10:18 openmediavault meyectl[12137]: DEBUG: executing task "make_movie_preview(/srv/dev-disk-by-label-Cameras/2018-07-16/17-08-11.mp4)"
Jul 16 17:10:18 openmediavault meyectl[12137]: DEBUG: saving tasks to "/etc/motioneye/tasks.pickle"...
Jul 16 17:10:18 openmediavault meyectl[12137]: DEBUG: creating movie preview for /srv/dev-disk-by-label-Cameras/2018-07-16/17-08-11.mp4 with an offset of 4 seconds...
Jul 16 17:10:18 openmediavault meyectl[12137]: DEBUG: running command "ffmpeg -i /srv/dev-disk-by-label-Cameras/2018-07-16/17-08-11.mp4 -f mjpeg -vframes 1 -ss 4 -y /srv/dev-disk-by-label-Cameras/2018-07-16/17-08-11.mp4.thumb"
Jul 16 17:10:30 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 246 is not compatible with keyframe interval
Jul 16 17:10:33 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 285 is not compatible with keyframe interval
Jul 16 17:10:35 openmediavault meyectl[12137]: DEBUG: creating mjpg client for camera 1
Jul 16 17:10:35 openmediavault meyectl[12137]: DEBUG: mjpg client for camera 1 connected on port 8085
Jul 16 17:10:43 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 425 is not compatible with keyframe interval
Jul 16 17:10:45 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 445 is not compatible with keyframe interval
Jul 16 17:10:53 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:11:02 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 684 is not compatible with keyframe interval
Jul 16 17:11:03 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:11:13 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:11:20 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 937 is not compatible with keyframe interval
Jul 16 17:11:23 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:11:30 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 1077 is not compatible with keyframe interval
Jul 16 17:11:33 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:11:36 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 1164 is not compatible with keyframe interval
Jul 16 17:11:38 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 1197 is not compatible with keyframe interval
Jul 16 17:11:43 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 1256 is not compatible with keyframe interval
Jul 16 17:11:43 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:11:47 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 1316 is not compatible with keyframe interval
Jul 16 17:11:50 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 1356 is not compatible with keyframe interval
Jul 16 17:11:51 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 1376 is not compatible with keyframe interval
Jul 16 17:11:53 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:11:56 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 1449 is not compatible with keyframe interval
Jul 16 17:12:03 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:12:06 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 1581 is not compatible with keyframe interval
Jul 16 17:12:07 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 1601 is not compatible with keyframe interval
Jul 16 17:12:09 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 1620 is not compatible with keyframe interval
Jul 16 17:12:11 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 1646 is not compatible with keyframe interval
Jul 16 17:12:13 openmediavault motion: [1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" stop 1'
Jul 16 17:12:13 openmediavault motion: [1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" movie_end 1 /srv/dev-disk-by-label-Cameras/2018-07-16/17-10-11.mp4'
Jul 16 17:12:13 openmediavault motion: [1:ml1] [NTC] [ALL] mlp_actions: End of event 882
Jul 16 17:12:13 openmediavault meyectl[12137]: DEBUG: received relayed event stop for thread id 1 (camera id 1)
Jul 16 17:12:13 openmediavault meyectl[12137]: DEBUG: clearing motion detected for camera with id 1
Jul 16 17:12:13 openmediavault meyectl[12137]: DEBUG: 200 POST /_relay_event/?_username=admin&event=stop&thread_id=1&_signature=50a22f432f6c34897d0f5a6129d691051629c20a (127.0.0.1) 0.73ms
Jul 16 17:12:13 openmediavault motion: [1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" start 1'
Jul 16 17:12:13 openmediavault motion: [1:ml1] [INF] [EVT] event_new_video: Source FPS 14
Jul 16 17:12:13 openmediavault motion: [1:ml1] [WRN] [ENC] ffmpeg_set_codec: Preferred codec h264_omx has been blacklisted
Jul 16 17:12:13 openmediavault motion: [1:ml1] [NTC] [ENC] ffmpeg_set_codec: Using codec libx264
Jul 16 17:12:13 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_set_quality: libx264 codec vbr/crf/bit_rate: 12
Jul 16 17:12:13 openmediavault motion: [1:ml1] [NTC] [EVT] event_newfile: File of type 8 saved to: /srv/dev-disk-by-label-Cameras/2018-07-16/17-12-11.mp4
Jul 16 17:12:13 openmediavault motion: [1:ml1] [NTC] [ALL] motion_detected: Motion detected - starting event 883
Jul 16 17:12:13 openmediavault meyectl[12137]: DEBUG: received relayed event movie_end for thread id 1 (camera id 1)
Jul 16 17:12:13 openmediavault meyectl[12137]: DEBUG: adding task "make_movie_preview(/srv/dev-disk-by-label-Cameras/2018-07-16/17-10-11.mp4)" in 5 seconds
Jul 16 17:12:13 openmediavault meyectl[12137]: DEBUG: saving tasks to "/etc/motioneye/tasks.pickle"...
Jul 16 17:12:13 openmediavault meyectl[12137]: DEBUG: 200 POST /_relay_event/?_username=admin&event=movie_end&thread_id=1&_signature=26071df3b26fa64441604520dd09db701212a8fa (127.0.0.1) 0.90ms
Jul 16 17:12:13 openmediavault meyectl[12137]: DEBUG: received relayed event start for thread id 1 (camera id 1)
Jul 16 17:12:13 openmediavault meyectl[12137]: DEBUG: ignoring start event for camera with id 1 and motion detection disabled
Jul 16 17:12:13 openmediavault meyectl[12137]: DEBUG: 200 POST /_relay_event/?_username=admin&event=start&thread_id=1&_signature=eca3cdc2b0194c21ec09b507c8db91fbd1c14937 (127.0.0.1) 0.64ms
Jul 16 17:12:13 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:12:14 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 0 is not compatible with keyframe interval
Jul 16 17:12:16 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 53 is not compatible with keyframe interval
Jul 16 17:12:18 openmediavault meyectl[12137]: DEBUG: executing task "make_movie_preview(/srv/dev-disk-by-label-Cameras/2018-07-16/17-10-11.mp4)"
Jul 16 17:12:18 openmediavault meyectl[12137]: DEBUG: saving tasks to "/etc/motioneye/tasks.pickle"...
Jul 16 17:12:18 openmediavault meyectl[12137]: DEBUG: creating movie preview for /srv/dev-disk-by-label-Cameras/2018-07-16/17-10-11.mp4 with an offset of 4 seconds...
Jul 16 17:12:18 openmediavault meyectl[12137]: DEBUG: running command "ffmpeg -i /srv/dev-disk-by-label-Cameras/2018-07-16/17-10-11.mp4 -f mjpeg -vframes 1 -ss 4 -y /srv/dev-disk-by-label-Cameras/2018-07-16/17-10-11.mp4.thumb"
Jul 16 17:12:19 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 86 is not compatible with keyframe interval
Jul 16 17:12:23 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:12:33 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 279 is not compatible with keyframe interval
Jul 16 17:12:33 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:12:38 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 358 is not compatible with keyframe interval
Jul 16 17:12:43 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:12:53 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:12:54 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 584 is not compatible with keyframe interval
Jul 16 17:13:03 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:13:04 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 717 is not compatible with keyframe interval
Jul 16 17:13:08 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 777 is not compatible with keyframe interval
Jul 16 17:13:13 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:13:23 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:13:33 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:13:40 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 1221 is not compatible with keyframe interval
Jul 16 17:13:42 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 1241 is not compatible with keyframe interval
Jul 16 17:13:43 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:13:53 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:13:57 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 1460 is not compatible with keyframe interval
Jul 16 17:14:03 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 1539 is not compatible with keyframe interval
Jul 16 17:14:03 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:14:06 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 1577 is not compatible with keyframe interval
Jul 16 17:14:10 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 1637 is not compatible with keyframe interval
Jul 16 17:14:13 openmediavault motion: [1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" stop 1'
Jul 16 17:14:13 openmediavault motion: [1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" movie_end 1 /srv/dev-disk-by-label-Cameras/2018-07-16/17-12-11.mp4'
Jul 16 17:14:13 openmediavault motion: [1:ml1] [NTC] [ALL] mlp_actions: End of event 883
Jul 16 17:14:13 openmediavault meyectl[12137]: DEBUG: received relayed event stop for thread id 1 (camera id 1)
Jul 16 17:14:13 openmediavault meyectl[12137]: DEBUG: clearing motion detected for camera with id 1
Jul 16 17:14:13 openmediavault meyectl[12137]: DEBUG: 200 POST /_relay_event/?_username=admin&event=stop&thread_id=1&_signature=50a22f432f6c34897d0f5a6129d691051629c20a (127.0.0.1) 0.67ms
Jul 16 17:14:13 openmediavault motion: [1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" start 1'
Jul 16 17:14:13 openmediavault motion: [1:ml1] [INF] [EVT] event_new_video: Source FPS 15
Jul 16 17:14:13 openmediavault motion: [1:ml1] [WRN] [ENC] ffmpeg_set_codec: Preferred codec h264_omx has been blacklisted
Jul 16 17:14:13 openmediavault motion: [1:ml1] [NTC] [ENC] ffmpeg_set_codec: Using codec libx264
Jul 16 17:14:13 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_set_quality: libx264 codec vbr/crf/bit_rate: 12
Jul 16 17:14:13 openmediavault motion: [1:ml1] [NTC] [EVT] event_newfile: File of type 8 saved to: /srv/dev-disk-by-label-Cameras/2018-07-16/17-14-11.mp4
Jul 16 17:14:13 openmediavault motion: [1:ml1] [NTC] [ALL] motion_detected: Motion detected - starting event 884
Jul 16 17:14:13 openmediavault meyectl[12137]: DEBUG: received relayed event movie_end for thread id 1 (camera id 1)
Jul 16 17:14:13 openmediavault meyectl[12137]: DEBUG: adding task "make_movie_preview(/srv/dev-disk-by-label-Cameras/2018-07-16/17-12-11.mp4)" in 5 seconds
Jul 16 17:14:13 openmediavault meyectl[12137]: DEBUG: saving tasks to "/etc/motioneye/tasks.pickle"...
Jul 16 17:14:13 openmediavault meyectl[12137]: DEBUG: 200 POST /_relay_event/?_username=admin&event=movie_end&thread_id=1&_signature=d3c91114a5c563534ac8a0c283b65ab3f8ff83b9 (127.0.0.1) 0.96ms
Jul 16 17:14:13 openmediavault meyectl[12137]: DEBUG: received relayed event start for thread id 1 (camera id 1)
Jul 16 17:14:13 openmediavault meyectl[12137]: DEBUG: ignoring start event for camera with id 1 and motion detection disabled
Jul 16 17:14:13 openmediavault meyectl[12137]: DEBUG: 200 POST /_relay_event/?_username=admin&event=start&thread_id=1&_signature=eca3cdc2b0194c21ec09b507c8db91fbd1c14937 (127.0.0.1) 0.67ms
Jul 16 17:14:13 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:14:14 openmediavault motion: [1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 0 is not compatible with keyframe interval
Jul 16 17:14:18 openmediavault meyectl[12137]: DEBUG: executing task "make_movie_preview(/srv/dev-disk-by-label-Cameras/2018-07-16/17-12-11.mp4)"
Jul 16 17:14:18 openmediavault meyectl[12137]: DEBUG: saving tasks to "/etc/motioneye/tasks.pickle"...
Jul 16 17:14:18 openmediavault meyectl[12137]: DEBUG: creating movie preview for /srv/dev-disk-by-label-Cameras/2018-07-16/17-12-11.mp4 with an offset of 4 seconds...
Jul 16 17:14:18 openmediavault meyectl[12137]: DEBUG: running command "ffmpeg -i /srv/dev-disk-by-label-Cameras/2018-07-16/17-12-11.mp4 -f mjpeg -vframes 1 -ss 4 -y /srv/dev-disk-by-label-Cameras/2018-07-16/17-12-11.mp4.thumb"
Jul 16 17:14:23 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:14:33 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:14:43 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:14:53 openmediavault meyectl[12137]: ERROR: mjpg client timed out receiving data for camera 1 on port 8085
Jul 16 17:15:01 openmediavault rrdcached[1472]: Received FLUSHALL`
wendy2702 commented 6 years ago

Few minutes ago stream stopped again.

This is from motion log after changing any value at WEB-IF.


[0:motion] [ALR] [ALL] conf_cmdparse: Deprecated config option "thread" since after version 3.4.1:
[0:motion] [ALR] [ALL] conf_cmdparse: The "thread" option has been replaced by the "camera" option.
[0:motion] [NTC] [ALL] config_camera: Processing camera config file thread-1.conf
[0:motion] [NTC] [ALL] motion_startup: Motion 4.1.1 Started
[0:motion] [NTC] [ALL] motion_startup: Logging to syslog
[0:motion] [NTC] [ALL] motion_startup: Using default log type (ALL)
[0:motion] [NTC] [ALL] motion_startup: Using log type (ALL) log level (ALL)
[0:motion] [INF] [ALL] conf_output_parms: Writing configuration parameters from all files (2):
[0:motion] [INF] [ALL] Thread 0 - Config file: /etc/motioneye/motion.conf
[0:motion] [INF] [ALL] daemon                    off
[0:motion] [INF] [ALL] setup_mode                off
[0:motion] [INF] [ALL] log_level                 9
[0:motion] [INF] [ALL] log_type                  ALL
[0:motion] [INF] [ALL] videodevice               /dev/video0
[0:motion] [INF] [ALL] v4l2_palette              17
[0:motion] [INF] [ALL] input                     -1
[0:motion] [INF] [ALL] norm                      0
[0:motion] [INF] [ALL] frequency                 0
[0:motion] [INF] [ALL] flip_axis                 none
[0:motion] [INF] [ALL] rotate                    0
[0:motion] [INF] [ALL] width                     352
[0:motion] [INF] [ALL] height                    288
[0:motion] [INF] [ALL] framerate                 100
[0:motion] [INF] [ALL] minimum_frame_time        0
[0:motion] [INF] [ALL] netcam_keepalive          off
[0:motion] [INF] [ALL] netcam_tolerant_check     off
[0:motion] [INF] [ALL] rtsp_uses_tcp             on
[0:motion] [INF] [ALL] auto_brightness           off
[0:motion] [INF] [ALL] brightness                0
[0:motion] [INF] [ALL] contrast                  0
[0:motion] [INF] [ALL] saturation                0
[0:motion] [INF] [ALL] hue                       0
[0:motion] [INF] [ALL] power_line_frequency      -1
[0:motion] [INF] [ALL] roundrobin_frames         1
[0:motion] [INF] [ALL] roundrobin_skip           1
[0:motion] [INF] [ALL] switchfilter              off
[0:motion] [INF] [ALL] threshold                 1500
[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] smart_mask_speed          0
[0:motion] [INF] [ALL] lightswitch               0
[0:motion] [INF] [ALL] minimum_motion_frames     1
[0:motion] [INF] [ALL] pre_capture               0
[0:motion] [INF] [ALL] post_capture              0
[0:motion] [INF] [ALL] event_gap                 60
[0:motion] [INF] [ALL] max_movie_time            3600
[0:motion] [INF] [ALL] emulate_motion            off
[0:motion] [INF] [ALL] output_pictures           on
[0:motion] [INF] [ALL] output_debug_pictures     off
[0:motion] [INF] [ALL] quality                   75
[0:motion] [INF] [ALL] camera_id                 0
[0:motion] [INF] [ALL] picture_type              jpeg
[0:motion] [INF] [ALL] ffmpeg_output_movies      off
[0:motion] [INF] [ALL] ffmpeg_output_debug_movies off
[0:motion] [INF] [ALL] ffmpeg_bps                400000
[0:motion] [INF] [ALL] ffmpeg_variable_bitrate   0
[0:motion] [INF] [ALL] ffmpeg_video_codec        mpeg4
[0:motion] [INF] [ALL] ffmpeg_passthrough        off
[0:motion] [INF] [ALL] ffmpeg_duplicate_frames   off
[0:motion] [INF] [ALL] use_extpipe               off
[0:motion] [INF] [ALL] snapshot_interval         0
[0:motion] [INF] [ALL] locate_motion_mode        off
[0:motion] [INF] [ALL] locate_motion_style       box
[0:motion] [INF] [ALL] text_right                %Y-%m-%d\n%T
[0:motion] [INF] [ALL] text_changes              off
[0:motion] [INF] [ALL] text_event                %Y%m%d%H%M%S
[0:motion] [INF] [ALL] text_double               off
[0:motion] [INF] [ALL] snapshot_filename         %v-%Y%m%d%H%M%S-snapshot
[0:motion] [INF] [ALL] picture_filename          %v-%Y%m%d%H%M%S-%q
[0:motion] [INF] [ALL] movie_filename            %v-%Y%m%d%H%M%S
[0:motion] [INF] [ALL] timelapse_interval        0
[0:motion] [INF] [ALL] timelapse_mode            daily
[0:motion] [INF] [ALL] timelapse_codec           mpeg4
[0:motion] [INF] [ALL] timelapse_fps             30
[0:motion] [INF] [ALL] timelapse_filename        %Y%m%d-timelapse
[0:motion] [INF] [ALL] ipv6_enabled              off
[0:motion] [INF] [ALL] stream_port               0
[0:motion] [INF] [ALL] substream_port            0
[0:motion] [INF] [ALL] stream_quality            50
[0:motion] [INF] [ALL] stream_motion             off
[0:motion] [INF] [ALL] stream_maxrate            1
[0:motion] [INF] [ALL] stream_localhost          on
[0:motion] [INF] [ALL] stream_limit              0
[0:motion] [INF] [ALL] stream_auth_method        0
[0:motion] [INF] [ALL] stream_preview_scale      25
[0:motion] [INF] [ALL] stream_preview_newline    off
[0:motion] [INF] [ALL] webcontrol_port           7999
[0:motion] [INF] [ALL] webcontrol_localhost      off
[0:motion] [INF] [ALL] webcontrol_html_output    on
[0:motion] [INF] [ALL] webcontrol_parms          2
[0:motion] [INF] [ALL] track_type                0
[0:motion] [INF] [ALL] track_auto                off
[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] quiet                     on
[0:motion] [INF] [ALL] sql_log_picture           on
[0:motion] [INF] [ALL] sql_log_snapshot          on
[0:motion] [INF] [ALL] sql_log_movie             off
[0:motion] [INF] [ALL] sql_log_timelapse         off
[0:motion] [INF] [ALL] sql_query_start           sql_query_start insert into security_events(camera, event_time_stamp) values('%t', '%Y-%m-%d %T')
[0: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')
[0:motion] [INF] [ALL] database_host             localhost
[0:motion] [INF] [ALL] database_port             0
[0:motion] [INF] [ALL] database_busy_timeout     0
[0:motion] [INF] [ALL] Thread 1 - Config file: thread-1.conf
[0:motion] [INF] [ALL] log_level                 15
[0:motion] [INF] [ALL] width                     1920
[0:motion] [INF] [ALL] height                    1080
[0:motion] [INF] [ALL] framerate                 10
[0:motion] [INF] [ALL] netcam_url                <redacted>
[0:motion] [INF] [ALL] netcam_userpass           <redacted>
[0:motion] [INF] [ALL] netcam_tolerant_check     on
[0:motion] [INF] [ALL] threshold                 101606
[0:motion] [INF] [ALL] noise_level               31
[0:motion] [INF] [ALL] despeckle_filter          EedDl
[0:motion] [INF] [ALL] mask_file                 /etc/motioneye/mask_1.pgm
[0:motion] [INF] [ALL] lightswitch               75
[0:motion] [INF] [ALL] minimum_motion_frames     20
[0:motion] [INF] [ALL] pre_capture               1
[0:motion] [INF] [ALL] post_capture              1
[0:motion] [INF] [ALL] event_gap                 30
[0:motion] [INF] [ALL] max_movie_time            120
[0:motion] [INF] [ALL] emulate_motion            on
[0:motion] [INF] [ALL] output_pictures           off
[0:motion] [INF] [ALL] quality                   85
[0:motion] [INF] [ALL] ffmpeg_output_movies      on
[0:motion] [INF] [ALL] ffmpeg_variable_bitrate   75
[0:motion] [INF] [ALL] ffmpeg_video_codec        mp4:h264_omx
[0:motion] [INF] [ALL] locate_motion_mode        on
[0:motion] [INF] [ALL] locate_motion_style       redbox
[0:motion] [INF] [ALL] text_left                 Garage Gross
[0:motion] [INF] [ALL] text_changes              on
[0:motion] [INF] [ALL] text_double               on
[0:motion] [INF] [ALL] target_dir                /srv/dev-disk-by-label-Cameras
[0:motion] [INF] [ALL] movie_filename            %Y-%m-%d/%H-%M-%S
[0:motion] [INF] [ALL] stream_port               8085
[0:motion] [INF] [ALL] stream_quality            75
[0:motion] [INF] [ALL] stream_maxrate            24
[0:motion] [INF] [ALL] stream_localhost          off
[0:motion] [INF] [ALL] stream_authentication     <redacted>
[0:motion] [INF] [ALL] on_event_start            /usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" start %t
[0:motion] [INF] [ALL] on_event_end              /usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" stop %t
[0:motion] [INF] [ALL] on_picture_save           /usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" picture_save %t %f
[0:motion] [INF] [ALL] on_movie_end              /usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" movie_end %t %f
[0:motion] [DBG] [VID] bktr_mutex_init: BKTR is not enabled.
[0:motion] [NTC] [ENC] ffmpeg_global_init: ffmpeg libavcodec version 56.1.0 libavformat version 56.1.0
[0:motion] [NTC] [ALL] main: Camera ID: 1 is from thread-1.conf
[0:motion] [NTC] [ALL] main: Camera ID: 1 Camera Name: (null) Service: rtsp:
[0:motion] [NTC] [ALL] main: Stream port 8085
[0:motion] [NTC] [ALL] main: Waiting for threads to finish, pid: 30286
[0:wc0] [NTC] [STR] http_bindsock: listening on any IPv4 address port 7999
[0:wc0] [NTC] [STR] httpd_run: Started motion-httpd server on port 7999 (auth Disabled)
[1:ml1] [NTC] [ALL] motion_init: Camera 1 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] [NET] netcam_rtsp_open_context: Normal resolution: Opened camera((null))
[1:ml1] [INF] [ENC] ffmpeg_avcodec_log: Estimating duration from bitrate, this may be inaccurate
[1:ml1] [DBG] [NET] netcam_check_buffsize: expanding buffer from [0/0] to [0/3112960] bytes.
[1:ml1] [DBG] [NET] Above message repeats 1 times
[1:ml1] [DBG] [NET] netcam_check_buffsize: expanding buffer from [0/3112960] to [0/6131712] bytes.
[1:ml1] [NTC] [NET] netcam_rtsp_resize_ntc: 
[1:ml1] [NTC] [NET] netcam_rtsp_resize_ntc: ****************************************************************
[1:ml1] [NTC] [NET] netcam_rtsp_resize_ntc: The network camera is sending pictures in a different
[1:ml1] [NTC] [NET] netcam_rtsp_resize_ntc: size than specified in the configuration file.
[1:ml1] [NTC] [NET] netcam_rtsp_resize_ntc: The picture is being transcoded into the size 
[1:ml1] [NTC] [NET] netcam_rtsp_resize_ntc: requested in the configuration.  If possible change
[1:ml1] [NTC] [NET] netcam_rtsp_resize_ntc: netcam or configuration to indicate the same size
[1:ml1] [NTC] [NET] netcam_rtsp_resize_ntc: to possibly lower CPU usage.
[1:ml1] [NTC] [NET] netcam_rtsp_resize_ntc: Netcam: 2688 x 1520 => Config: 1920 x 1080
[1:ml1] [NTC] [NET] netcam_rtsp_resize_ntc: ****************************************************************
[1:ml1] [NTC] [NET] netcam_rtsp_resize_ntc: 
[1:ml1] [DBG] [NET] netcam_check_buffsize: expanding buffer from [0/3112960] to [0/6131712] bytes.
[1:ml1] [NTC] [NET] netcam_rtsp_connect: Normal resolution: Camera ((null)) connected
[1:ml1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[3:nc3] [NTC] [NET] netcam_rtsp_handler: Normal resolution: Camera handler thread [3] started
[1:ml1] [INF] [ALL] motion_init: Maskfile "/etc/motioneye/mask_1.pgm" loaded.
[1:ml1] [NTC] [STR] http_bindsock: listening on any IPv4 address port 8085
[1:ml1] [NTC] [ALL] motion_init: Started motion-stream server on port 8085 (auth Disabled)
[1:ml1] [INF] [ALL] motion_init: Emulating motion
[1:ml1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 21 items
[3:nc3] [INF] [NET] netcam_rtsp_open_context: Normal resolution: Opened camera((null))
[0:wc0] [INF] [STR] httpd_run: motion-httpd - Read from client (127.0.0.1)
[3:nc3] [INF] [ENC] ffmpeg_avcodec_log: Estimating duration from bitrate, this may be inaccurate
[3:nc3] [DBG] [NET] netcam_check_buffsize: expanding buffer from [3110400/6131712] to [3110400/6221824] bytes.
[3:nc3] [NTC] [NET] Above message repeats 1 times
[3:nc3] [NTC] [NET] netcam_rtsp_connect: Normal resolution: Camera ((null)) connected
[1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" start 1'
[1:ml1] [INF] [EVT] event_new_video: Source FPS 10
[1:ml1] [WRN] [ENC] ffmpeg_set_codec: Preferred codec h264_omx has been blacklisted
[1:ml1] [NTC] [ENC] ffmpeg_set_codec: Using codec libx264
[1:ml1] [INF] [ENC] ffmpeg_set_quality: libx264 codec vbr/crf/bit_rate: 12
[1:ml1] [NTC] [EVT] event_newfile: File of type 8 saved to: /srv/dev-disk-by-label-Cameras/2018-07-17/10-05-19.mp4
[1:ml1] [NTC] [ALL] motion_detected: Motion detected - starting event 1
[1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 0 is not compatible with keyframe interval
[1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" stop 1'
[1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" movie_end 1 /srv/dev-disk-by-label-Cameras/2018-07-17/10-05-19.mp4'
[1:ml1] [NTC] [ALL] mlp_actions: End of event 1
[1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" start 1'
[1:ml1] [INF] [EVT] event_new_video: Source FPS 10
[1:ml1] [WRN] [ENC] ffmpeg_set_codec: Preferred codec h264_omx has been blacklisted
[1:ml1] [NTC] [ENC] ffmpeg_set_codec: Using codec libx264
[1:ml1] [INF] [ENC] ffmpeg_set_quality: libx264 codec vbr/crf/bit_rate: 12
[1:ml1] [NTC] [EVT] event_newfile: File of type 8 saved to: /srv/dev-disk-by-label-Cameras/2018-07-17/10-07-19.mp4
[1:ml1] [NTC] [ALL] motion_detected: Motion detected - starting event 2
[1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 0 is not compatible with keyframe interval
[1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" stop 1'
[1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" movie_end 1 /srv/dev-disk-by-label-Cameras/2018-07-17/10-07-19.mp4'
[1:ml1] [NTC] [ALL] mlp_actions: End of event 2
[1:ml1] [DBG] [EVT] exec_command: Executing external command '/usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh "/etc/motioneye/motioneye.conf" start 1'
[1:ml1] [INF] [EVT] event_new_video: Source FPS 10
[1:ml1] [WRN] [ENC] ffmpeg_set_codec: Preferred codec h264_omx has been blacklisted
[1:ml1] [NTC] [ENC] ffmpeg_set_codec: Using codec libx264
[1:ml1] [INF] [ENC] ffmpeg_set_quality: libx264 codec vbr/crf/bit_rate: 12
[1:ml1] [NTC] [EVT] event_newfile: File of type 8 saved to: /srv/dev-disk-by-label-Cameras/2018-07-17/10-09-19.mp4
[1:ml1] [NTC] [ALL] motion_detected: Motion detected - starting event 3
[1:ml1] [INF] [ENC] ffmpeg_avcodec_log: specified frame type (3) at 0 is not compatible with keyframe interval
`
wendy2702 commented 6 years ago

Problem solved after changing client configuration.

ximus commented 5 years ago

@wendy2702 howdie

can you share what you changed to fix it?

i'm getting the same sporatic cutoffs, along with: mjpg client timed out receiving data

wendy2702 commented 5 years ago

Hi,

I‘m using ioBroker to visualize and control my Smarthome. To get the Camera picture on my wall mounted IPAD i select a so called Widget. Everytime the IPAD Screen is switched on the widget send a refresh command to motioneye which lead to loss of feed. After disabling the refresh it works without problem.