[Config Support]: #12165
-
Describe the problem you are havingFrom my log it seems my frigate or camera is not well configured or at least with ffmpeg Here are some context :
I try to change the preset between h264 and h265 but I have the same problems. Here is my docker-compose.yml
can I change the target "/tmp/cache" to a target located in my external hard drive ? Version0.13.2-6476F8A Frigate config filemqtt:
enabled: false
ffmpeg:
hwaccel_args: preset-rpi-64-h265
detectors:
coral:
type: edgetpu
device: usb
record:
enabled: true
retain:
days: 7
mode: motion
events:
retain:
default: 30
mode: motion
snapshots:
enabled: true
retain:
default: 30
audio:
enabled: false
cameras:
rosier:
enabled: true
ffmpeg:
inputs:
- path: rtsp:https://<user>:<mdp>@192.168.68.65:554/stream1
roles:
- detect
detect:
width: 2304
height: 1296
objects:
track:
- person
- dog
- cat
- car
- bicycle
filters:
person:
min_area: 20000
threshold: 0.72 # (default: 0.7)
car:
threshold: 0.72
motion:
threshold: 64
contour_area: 20
mask:
- 0,0,826,0,754,34,385,160,218,177,219,329,184,379,101,658,0,953,0,590
- 477,443,747,380,740,266,466,298
- 1376,154,1315,388,1346,634,1942,720,2122,321,1992,0,1469,0 Relevant log output2024-06-26 08:52:37.421648907 [INFO] Preparing Frigate...
2024-06-26 08:52:37.738127190 [INFO] Starting Frigate...
2024-06-26 08:52:41.863184338 [2024-06-26 08:52:41] frigate.app INFO : Starting Frigate (0.13.2-6476f8a)
2024-06-26 08:52:41.977259022 [2024-06-26 08:52:41] peewee_migrate.logs INFO : Starting migrations
2024-06-26 08:52:41.990367205 [2024-06-26 08:52:41] peewee_migrate.logs INFO : There is nothing to migrate
2024-06-26 08:52:42.003047172 [2024-06-26 08:52:42] frigate.app INFO : Recording process started: 297
2024-06-26 08:52:42.012887791 [2024-06-26 08:52:42] frigate.app INFO : go2rtc process pid: 92
2024-06-26 08:52:42.069381724 [2024-06-26 08:52:42] detector.coral INFO : Starting detection process: 306
2024-06-26 08:52:42.070509560 [2024-06-26 08:52:42] frigate.app INFO : Output process started: 308
2024-06-26 08:52:42.078338059 [2024-06-26 08:52:42] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
2024-06-26 08:52:44.750493230 [2024-06-26 08:52:42] frigate.app INFO : Camera processor started for rosier: 316
2024-06-26 08:52:44.751162535 [2024-06-26 08:52:42] frigate.app INFO : Capture process started for rosier: 317
2024-06-26 08:52:44.761271743 [2024-06-26 08:52:44] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2024-06-26 09:02:12.123636920 [h264 @ 0x7f90009b00] error while decoding MB 140 56, bytestream -8
2024-06-26 09:16:58.804159382 [2024-06-26 09:16:58] frigate.video ERROR : rosier: Unable to read frames from ffmpeg process.
2024-06-26 09:16:58.805902165 [2024-06-26 09:16:58] frigate.video ERROR : rosier: ffmpeg process is not running. exiting capture thread...
2024-06-26 09:17:02.329588164 [2024-06-26 09:17:02] watchdog.rosier ERROR : Ffmpeg process crashed unexpectedly for rosier.
2024-06-26 09:17:02.330121809 [2024-06-26 09:17:02] watchdog.rosier ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-26 09:17:02.330262604 [2024-06-26 09:17:02] ffmpeg.rosier.detect ERROR : Guessed Channel Layout for Input Stream #0.1 : mono
2024-06-26 09:17:02.330632323 [2024-06-26 09:17:02] ffmpeg.rosier.detect ERROR : [segment @ 0x559f934d70] Non-monotonous DTS in output stream 0:0; previous: 3707, current: 3707; changing to 3708. This may result in incorrect timestamps in the output file.
2024-06-26 09:17:02.331175930 [2024-06-26 09:17:02] ffmpeg.rosier.detect ERROR : [segment @ 0x559f934d70] Non-monotonous DTS in output stream 0:0; previous: 3711, current: 3711; changing to 3712. This may result in incorrect timestamps in the output file.
2024-06-26 09:17:02.331443632 [2024-06-26 09:17:02] ffmpeg.rosier.detect ERROR : [segment @ 0x559f934d70] Non-monotonous DTS in output stream 0:0; previous: 3712, current: 3712; changing to 3713. This may result in incorrect timestamps in the output file.
2024-06-26 09:17:02.331633667 [2024-06-26 09:17:02] ffmpeg.rosier.detect ERROR : [segment @ 0x559f934d70] Non-monotonous DTS in output stream 0:0; previous: 3713, current: 3712; changing to 3714. This may result in incorrect timestamps in the output file.
2024-06-26 09:17:02.331919832 [2024-06-26 09:17:02] ffmpeg.rosier.detect ERROR : [segment @ 0x559f934d70] Non-monotonous DTS in output stream 0:0; previous: 3714, current: 3713; changing to 3715. This may result in incorrect timestamps in the output file.
2024-06-26 09:17:02.332398902 [2024-06-26 09:17:02] ffmpeg.rosier.detect ERROR : [segment @ 0x559f934d70] Non-monotonous DTS in output stream 0:0; previous: 3715, current: 3714; changing to 3716. This may result in incorrect timestamps in the output file.
2024-06-26 09:17:02.341422093 [2024-06-26 09:17:02] ffmpeg.rosier.detect ERROR : [segment @ 0x559f934d70] Non-monotonous DTS in output stream 0:0; previous: 3716, current: 3714; changing to 3717. This may result in incorrect timestamps in the output file.
2024-06-26 09:17:02.342673268 [2024-06-26 09:17:02] ffmpeg.rosier.detect ERROR : [segment @ 0x559f934d70] Non-monotonous DTS in output stream 0:0; previous: 3717, current: 3715; changing to 3718. This may result in incorrect timestamps in the output file.
2024-06-26 09:17:02.343649465 [2024-06-26 09:17:02] ffmpeg.rosier.detect ERROR : [h264 @ 0x559f919870] error while decoding MB 140 56, bytestream -8
2024-06-26 09:17:02.344062721 [2024-06-26 09:17:02] ffmpeg.rosier.detect ERROR : rtsp:https://*:*@192.168.68.65:554/stream1: corrupt decoded frame in stream 0
2024-06-26 09:17:02.344418274 [2024-06-26 09:17:02] ffmpeg.rosier.detect ERROR : [h264 @ 0x559f919870] Increasing reorder buffer to 1
2024-06-26 09:17:02.344740864 [2024-06-26 09:17:02] ffmpeg.rosier.detect ERROR : rtsp:https://*:*@192.168.68.65:554/stream1: corrupt decoded frame in stream 0
2024-06-26 09:19:07.284131724 [h264 @ 0x7f9000f4f0] error while decoding MB 94 74, bytestream -5
2024-06-26 09:19:27.204435267 [h264 @ 0x7f9000f4f0] left block unavailable for requested intra4x4 mode -1
2024-06-26 09:19:27.204455286 [h264 @ 0x7f9000f4f0] error while decoding MB 0 16, bytestream 143251
2024-06-26 09:19:32.193560281 [h264 @ 0x7f9000f4f0] error while decoding MB 50 35, bytestream -6
2024-06-26 09:20:17.193023685 [h264 @ 0x7f9000f4f0] left block unavailable for requested intra4x4 mode -1
2024-06-26 09:20:17.193056296 [h264 @ 0x7f9000f4f0] error while decoding MB 0 29, bytestream 608
2024-06-26 09:20:32.320341205 [h264 @ 0x7f9000f4f0] error while decoding MB 66 65, bytestream -7
2024-06-26 09:20:47.552402629 [h264 @ 0x7f9000f4f0] error while decoding MB 17 70, bytestream -8
2024-06-26 09:21:52.246929435 [h264 @ 0x7f9000f4f0] left block unavailable for requested intra4x4 mode -1
2024-06-26 09:21:52.246950212 [h264 @ 0x7f9000f4f0] error while decoding MB 0 61, bytestream 132620
2024-06-26 09:22:07.471087148 [h264 @ 0x7f9000f4f0] left block unavailable for requested intra4x4 mode -1
2024-06-26 09:22:07.471100130 [h264 @ 0x7f9000f4f0] error while decoding MB 0 80, bytestream 77372
2024-06-26 09:22:07.503404425 [h264 @ 0x7f9000f4f0] error while decoding MB 114 13, bytestream -6
2024-06-26 10:37:33.557193023 [h264 @ 0x7f9000f4f0] error while decoding MB 115 74, bytestream -5
2024-06-26 10:46:12.752456000 [2024-06-26 10:46:12] watchdog.rosier INFO : No frames received from rosier in 20 seconds. Exiting ffmpeg...
2024-06-26 10:46:12.752854311 [2024-06-26 10:46:12] watchdog.rosier INFO : Waiting for ffmpeg to exit gracefully...
2024-06-26 10:46:12.814753932 [2024-06-26 10:46:12] frigate.video ERROR : rosier: Unable to read frames from ffmpeg process.
2024-06-26 10:46:12.815214909 [2024-06-26 10:46:12] frigate.video ERROR : rosier: ffmpeg process is not running. exiting capture thread...
2024-06-26 10:46:13.740582585 [h264 @ 0x7f9000f4f0] error while decoding MB 72 59, bytestream -6
2024-06-26 10:46:22.821894258 [2024-06-26 10:46:22] watchdog.rosier ERROR : Ffmpeg process crashed unexpectedly for rosier.
2024-06-26 10:46:22.827161001 [2024-06-26 10:46:22] watchdog.rosier ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-26 10:46:22.829602551 [2024-06-26 10:46:22] ffmpeg.rosier.detect ERROR : Guessed Channel Layout for Input Stream #0.1 : mono
2024-06-26 10:46:22.848842728 [2024-06-26 10:46:22] ffmpeg.rosier.detect ERROR : [h264 @ 0x55796ac7f0] Increasing reorder buffer to 1
2024-06-26 10:46:22.850436120 [2024-06-26 10:46:22] ffmpeg.rosier.detect ERROR : rtsp:https://*:*@192.168.68.65:554/stream1: corrupt decoded frame in stream 0
2024-06-26 10:46:22.850460638 [2024-06-26 10:46:22] ffmpeg.rosier.detect ERROR : [h264 @ 0x55796ac7f0] error while decoding MB 94 74, bytestream -5
2024-06-26 10:46:22.851329018 [2024-06-26 10:46:22] ffmpeg.rosier.detect ERROR : [h264 @ 0x55796aab40] left block unavailable for requested intra4x4 mode -1
2024-06-26 10:46:22.852049066 [2024-06-26 10:46:22] ffmpeg.rosier.detect ERROR : [h264 @ 0x55796aab40] error while decoding MB 0 28, bytestream 30165
2024-06-26 10:46:22.852702523 [2024-06-26 10:46:22] ffmpeg.rosier.detect ERROR : [h264 @ 0x55796aab40] cabac decode of qscale diff failed at 62 44
2024-06-26 10:46:22.853726494 [2024-06-26 10:46:22] ffmpeg.rosier.detect ERROR : [h264 @ 0x55796aab40] error while decoding MB 62 44, bytestream 60509
2024-06-26 10:46:22.854477357 [2024-06-26 10:46:22] ffmpeg.rosier.detect ERROR : rtsp:https://*:*@192.168.68.65:554/stream1: corrupt decoded frame in stream 0
2024-06-26 10:46:22.855802047 [2024-06-26 10:46:22] ffmpeg.rosier.detect ERROR : [h264 @ 0x55796aab40] left block unavailable for requested intra4x4 mode -1
2024-06-26 10:46:22.856201784 [2024-06-26 10:46:22] ffmpeg.rosier.detect ERROR : [h264 @ 0x55796aab40] error while decoding MB 0 16, bytestream 143251
2024-06-26 10:46:22.857126960 [2024-06-26 10:46:22] ffmpeg.rosier.detect ERROR : rtsp:https://*:*@192.168.68.65:554/stream1: corrupt decoded frame in stream 0
2024-06-26 10:46:22.858051951 [2024-06-26 10:46:22] ffmpeg.rosier.detect ERROR : [h264 @ 0x55796aab40] error while decoding MB 50 35, bytestream -6
2024-06-26 10:46:22.861381917 [2024-06-26 10:46:22] ffmpeg.rosier.detect ERROR : rtsp:https://*:*@192.168.68.65:554/stream1: corrupt decoded frame in stream 0
2024-06-26 10:46:22.861406676 [2024-06-26 10:46:22] ffmpeg.rosier.detect ERROR : [h264 @ 0x55796ac7f0] left block unavailable for requested intra4x4 mode -1
2024-06-26 10:46:22.861417639 [2024-06-26 10:46:22] ffmpeg.rosier.detect ERROR : [h264 @ 0x55796ac7f0] error while decoding MB 0 46, bytestream 19604
.
.
.
2024-06-26 10:58:45.284537691 [2024-06-26 10:58:45] ffmpeg.rosier.detect ERROR : Guessed Channel Layout for Input Stream #0.1 : mono
2024-06-26 10:58:45.287164792 [2024-06-26 10:58:45] ffmpeg.rosier.detect ERROR : [segment @ 0x558a921e30] Non-monotonous DTS in output stream 0:0; previous: 15138, current: 15138; changing to 15139. This may result in incorrect timestamps in the output file.
2024-06-26 10:58:45.287191477 [2024-06-26 10:58:45] ffmpeg.rosier.detect ERROR : [segment @ 0x558a921e30] Non-monotonous DTS in output stream 0:0; previous: 15139, current: 15139; changing to 15140. This may result in incorrect timestamps in the output file.
2024-06-26 10:58:45.287206736 [2024-06-26 10:58:45] ffmpeg.rosier.detect ERROR : [segment @ 0x558a921e30] Non-monotonous DTS in output stream 0:0; previous: 15140, current: 15140; changing to 15141. This may result in incorrect timestamps in the output file.
2024-06-26 10:58:45.287221181 [2024-06-26 10:58:45] ffmpeg.rosier.detect ERROR : [segment @ 0x558a921e30] Non-monotonous DTS in output stream 0:0; previous: 15141, current: 15141; changing to 15142. This may result in incorrect timestamps in the output file.
2024-06-26 10:58:45.287235366 [2024-06-26 10:58:45] ffmpeg.rosier.detect ERROR : [segment @ 0x558a921e30] Non-monotonous DTS in output stream 0:0; previous: 15142, current: 15142; changing to 15143. This may result in incorrect timestamps in the output file.
2024-06-26 10:58:45.287990321 [2024-06-26 10:58:45] ffmpeg.rosier.detect ERROR : [segment @ 0x558a921e30] Non-monotonous DTS in output stream 0:0; previous: 15143, current: 15143; changing to 15144. This may result in incorrect timestamps in the output file.
2024-06-26 10:58:45.288320873 [2024-06-26 10:58:45] ffmpeg.rosier.detect ERROR : [segment @ 0x558a921e30] Non-monotonous DTS in output stream 0:0; previous: 15144, current: 15144; changing to 15145. This may result in incorrect timestamps in the output file.
2024-06-26 10:58:45.288906385 [2024-06-26 10:58:45] ffmpeg.rosier.detect ERROR : [segment @ 0x558a921e30] Non-monotonous DTS in output stream 0:0; previous: 15145, current: 15144; changing to 15146. This may result in incorrect timestamps in the output file.
2024-06-26 10:59:25.334147746 [2024-06-26 10:59:25] watchdog.rosier INFO : No frames received from rosier in 20 seconds. Exiting ffmpeg...
2024-06-26 10:59:25.334170487 [2024-06-26 10:59:25] watchdog.rosier INFO : Waiting for ffmpeg to exit gracefully...
2024-06-26 10:59:40.443665361 [2024-06-26 10:59:40] frigate.video ERROR : rosier: Unable to read frames from ffmpeg process.
2024-06-26 10:59:40.443848840 [2024-06-26 10:59:40] frigate.video ERROR : rosier: ffmpeg process is not running. exiting capture thread...
2024-06-26 10:59:50.445114911 [2024-06-26 10:59:50] watchdog.rosier ERROR : Ffmpeg process crashed unexpectedly for rosier.
2024-06-26 10:59:50.445454889 [2024-06-26 10:59:50] watchdog.rosier ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-26 10:59:50.446183048 [2024-06-26 10:59:50] ffmpeg.rosier.detect ERROR : Guessed Channel Layout for Input Stream #0.1 : mono
2024-06-26 10:59:50.446194548 [2024-06-26 10:59:50] ffmpeg.rosier.detect ERROR : [h264 @ 0x5596828b40] error while decoding MB 106 62, bytestream -8
2024-06-26 10:59:50.446198937 [2024-06-26 10:59:50] ffmpeg.rosier.detect ERROR : rtsp:https://*:*@192.168.68.65:554/stream1: corrupt decoded frame in stream 0
2024-06-26 11:00:10.473303677 [2024-06-26 11:00:10] watchdog.rosier INFO : No frames received from rosier in 20 seconds. Exiting ffmpeg...
2024-06-26 11:00:10.473327343 [2024-06-26 11:00:10] watchdog.rosier INFO : Waiting for ffmpeg to exit gracefully...
2024-06-26 11:00:10.499287864 [2024-06-26 11:00:10] frigate.video ERROR : rosier: Unable to read frames from ffmpeg process.
2024-06-26 11:00:10.500676683 [2024-06-26 11:00:10] frigate.video ERROR : rosier: ffmpeg process is not running. exiting capture thread...
2024-06-26 11:00:13.585837983 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9000dea0] moov atom not found
2024-06-26 11:00:13.588648601 [ERROR:[email protected]] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2024-06-26 11:00:13.588664212
2024-06-26 11:00:13.588676027 OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2024-06-26 11:00:13.588680730
2024-06-26 11:00:13.588684823
2024-06-26 11:00:13.907876606 [2024-06-26 11:00:13] frigate.record.maintainer WARNING : Failed to probe corrupt segment /tmp/cache/rosier@20240626110010+0200.mp4
2024-06-26 11:00:13.909391035 [2024-06-26 11:00:13] frigate.record.maintainer WARNING : Discarding a corrupt recording segment: /tmp/cache/rosier@20240626110010+0200.mp4
2024-06-26 11:00:20.514027856 [2024-06-26 11:00:20] watchdog.rosier ERROR : Ffmpeg process crashed unexpectedly for rosier.
2024-06-26 11:00:20.514043948 [2024-06-26 11:00:20] watchdog.rosier ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-26 11:00:20.514048318 [2024-06-26 11:00:20] ffmpeg.rosier.detect ERROR : [h264 @ 0x55befef3d0] error while decoding MB 12 31, bytestream -8
2024-06-26 11:00:20.514052281 [2024-06-26 11:00:20] ffmpeg.rosier.detect ERROR : Guessed Channel Layout for Input Stream #0.1 : mono
2024-06-26 11:00:20.514056763 [2024-06-26 11:00:20] ffmpeg.rosier.detect ERROR : Could not write header for output file #0 (incorrect codec parameters ?): Immediate exit requested
2024-06-26 11:00:20.514059374 [2024-06-26 11:00:20] ffmpeg.rosier.detect ERROR :
2024-06-26 11:01:40.527368279 [2024-06-26 11:01:40] watchdog.rosier INFO : No frames received from rosier in 20 seconds. Exiting ffmpeg...
2024-06-26 11:01:40.527989588 [2024-06-26 11:01:40] watchdog.rosier INFO : Waiting for ffmpeg to exit gracefully...
2024-06-26 11:02:10.553209926 [2024-06-26 11:02:10] watchdog.rosier INFO : FFmpeg did not exit. Force killing...
2024-06-26 11:02:10.578511102 [2024-06-26 11:02:10] frigate.video ERROR : rosier: Unable to read frames from ffmpeg process.
2024-06-26 11:02:10.581138907 [2024-06-26 11:02:10] frigate.video ERROR : rosier: ffmpeg process is not running. exiting capture thread...
2024-06-26 11:02:13.591093953 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9000dea0] moov atom not found
2024-06-26 11:02:13.591630855 [ERROR:[email protected]] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2024-06-26 11:02:13.591643114
2024-06-26 11:02:13.591654817 OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2024-06-26 11:02:13.591659428
2024-06-26 11:02:13.591663262
2024-06-26 11:02:13.914951288 [2024-06-26 11:02:13] frigate.record.maintainer WARNING : Failed to probe corrupt segment /tmp/cache/rosier@20240626110029+0200.mp4
2024-06-26 11:02:13.916159757 [2024-06-26 11:02:13] frigate.record.maintainer WARNING : Discarding a corrupt recording segment: /tmp/cache/rosier@20240626110029+0200.mp4
2024-06-26 11:02:20.583709698 [2024-06-26 11:02:20] watchdog.rosier ERROR : Ffmpeg process crashed unexpectedly for rosier.
2024-06-26 11:02:20.584418283 [2024-06-26 11:02:20] watchdog.rosier ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-26 11:02:20.584952648 [2024-06-26 11:02:20] ffmpeg.rosier.detect ERROR : Guessed Channel Layout for Input Stream #0.1 : mono
2024-06-26 11:02:20.586671130 [2024-06-26 11:02:20] ffmpeg.rosier.detect ERROR : rtsp:https://*:*@192.168.68.65:554/stream1: corrupt decoded frame in stream 0
2024-06-26 11:02:20.586696037 [2024-06-26 11:02:20] ffmpeg.rosier.detect ERROR : [out_1_0 @ 0x55930198c0] 100 buffers queued in out_1_0, something may be wrong.
2024-06-26 11:02:20.586706426 [2024-06-26 11:02:20] ffmpeg.rosier.detect ERROR : [rtsp @ 0x5592e802c0] CSeq 9 expected, 0 received.
2024-06-26 11:03:00.630841020 [2024-06-26 11:03:00] watchdog.rosier INFO : No frames received from rosier in 20 seconds. Exiting ffmpeg...
2024-06-26 11:03:00.630853539 [2024-06-26 11:03:00] watchdog.rosier INFO : Waiting for ffmpeg to exit gracefully...
2024-06-26 11:03:30.639257945 [2024-06-26 11:03:30] watchdog.rosier INFO : FFmpeg did not exit. Force killing...
2024-06-26 11:03:30.662642826 [2024-06-26 11:03:30] frigate.video ERROR : rosier: Unable to read frames from ffmpeg process.
2024-06-26 11:03:30.663104451 [2024-06-26 11:03:30] frigate.video ERROR : rosier: ffmpeg process is not running. exiting capture thread...
2024-06-26 11:03:33.593991586 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9000dea0] moov atom not found
2024-06-26 11:03:33.594460840 [ERROR:[email protected]] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2024-06-26 11:03:33.594472988
2024-06-26 11:03:33.594483173 OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2024-06-26 11:03:33.594635301
2024-06-26 11:03:33.594641949
2024-06-26 11:03:33.904030860 [2024-06-26 11:03:33] frigate.record.maintainer WARNING : Failed to probe corrupt segment /tmp/cache/rosier@20240626110234+0200.mp4
2024-06-26 11:03:33.905467307 [2024-06-26 11:03:33] frigate.record.maintainer WARNING : Discarding a corrupt recording segment: /tmp/cache/rosier@20240626110234+0200.mp4
2024-06-26 11:03:40.664018988 [2024-06-26 11:03:40] watchdog.rosier ERROR : Ffmpeg process crashed unexpectedly for rosier.
2024-06-26 11:03:40.665322197 [2024-06-26 11:03:40] watchdog.rosier ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-26 11:03:40.665345252 [2024-06-26 11:03:40] ffmpeg.rosier.detect ERROR : Guessed Channel Layout for Input Stream #0.1 : mono
2024-06-26 11:04:20.709337663 [2024-06-26 11:04:20] watchdog.rosier INFO : No frames received from rosier in 20 seconds. Exiting ffmpeg...
2024-06-26 11:04:20.709357626 [2024-06-26 11:04:20] watchdog.rosier INFO : Waiting for ffmpeg to exit gracefully...
2024-06-26 11:04:50.740066590 [2024-06-26 11:04:50] watchdog.rosier INFO : FFmpeg did not exit. Force killing...
2024-06-26 11:04:50.761733841 [2024-06-26 11:04:50] frigate.video ERROR : rosier: Unable to read frames from ffmpeg process.
2024-06-26 11:04:50.764295739 [2024-06-26 11:04:50] frigate.video ERROR : rosier: ffmpeg process is not running. exiting capture thread...
2024-06-26 11:04:53.585622224 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9000dea0] moov atom not found
2024-06-26 11:04:53.585849944 [ERROR:[email protected]] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2024-06-26 11:04:53.585856055
2024-06-26 11:04:53.585860833 OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2024-06-26 11:04:53.585862555
2024-06-26 11:04:53.585864073
2024-06-26 11:04:53.855877584 [2024-06-26 11:04:53] frigate.record.maintainer WARNING : Failed to probe corrupt segment /tmp/cache/rosier@20240626110350+0200.mp4
2024-06-26 11:04:53.857741675 [2024-06-26 11:04:53] frigate.record.maintainer WARNING : Discarding a corrupt recording segment: /tmp/cache/rosier@20240626110350+0200.mp4
2024-06-26 11:05:00.766867159 [2024-06-26 11:05:00] watchdog.rosier ERROR : Ffmpeg process crashed unexpectedly for rosier.
2024-06-26 11:05:00.766880474 [2024-06-26 11:05:00] watchdog.rosier ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-26 11:05:00.766884530 [2024-06-26 11:05:00] ffmpeg.rosier.detect ERROR : Guessed Channel Layout for Input Stream #0.1 : mono
2024-06-26 11:05:00.766890678 [2024-06-26 11:05:00] ffmpeg.rosier.detect ERROR : [segment @ 0x55af19de30] Non-monotonous DTS in output stream 0:0; previous: 14147, current: 14147; changing to 14148. This may result in incorrect timestamps in the output file.
2024-06-26 11:05:00.766896418 [2024-06-26 11:05:00] ffmpeg.rosier.detect ERROR : [segment @ 0x55af19de30] Non-monotonous DTS in output stream 0:0; previous: 14148, current: 14148; changing to 14149. This may result in incorrect timestamps in the output file.
2024-06-26 11:05:00.766902085 [2024-06-26 11:05:00] ffmpeg.rosier.detect ERROR : [segment @ 0x55af19de30] Non-monotonous DTS in output stream 0:0; previous: 15023, current: 15023; changing to 15024. This may result in incorrect timestamps in the output file.
2024-06-26 11:05:50.792362822 [2024-06-26 11:05:50] watchdog.rosier INFO : No frames received from rosier in 20 seconds. Exiting ffmpeg...
2024-06-26 11:05:50.792375044 [2024-06-26 11:05:50] watchdog.rosier INFO : Waiting for ffmpeg to exit gracefully...
2024-06-26 11:06:20.823557373 [2024-06-26 11:06:20] watchdog.rosier INFO : FFmpeg did not exit. Force killing...
2024-06-26 11:06:20.845837987 [2024-06-26 11:06:20] frigate.video ERROR : rosier: Unable to read frames from ffmpeg process.
2024-06-26 11:06:20.847295583 [2024-06-26 11:06:20] frigate.video ERROR : rosier: ffmpeg process is not running. exiting capture thread... Frigate statsNo response Operating systemOther Linux Install methodDocker Compose Object DetectorCoral Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The pi is not powerful enough to run detect at such a high resolution. You will want to use a sub stream |
Beta Was this translation helpful? Give feedback.
the coral reduces the overhead for object detection, it has nothing to do with decoding of the video or running motion detection on that video. I would expect that the camera supports the main stream and a secondary stream with a lower resolution.
if you have network issues that will definitely contribute to the errors