question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Support]: Clips without an object but snapshots contains

See original GitHub issue

Describe the problem you are having

I have some events clips with no objects in them (I only use person) while the associated clip contains the object. It is happening on both cameras

Version

0.9.1-800f33e

Frigate config file

{
  "birdseye": {
    "enabled": true,
    "height": 720,
    "mode": "continuous",
    "quality": 8,
    "width": 1280
  },
  "cameras": {
    "driveway": {
      "best_image_timeout": 60,
      "detect": {
        "enabled": true,
        "fps": 5,
        "height": 352,
        "max_disappeared": 25,
        "width": 640
      },
      "ffmpeg": {
        "global_args": [
          "-hide_banner",
          "-loglevel",
          "warning"
        ],
        "hwaccel_args": [],
        "input_args": [
          "-avoid_negative_ts",
          "make_zero",
          "-fflags",
          "+genpts+discardcorrupt",
          "-rtsp_transport",
          "tcp",
          "-stimeout",
          "5000000",
          "-use_wallclock_as_timestamps",
          "1"
        ],
        "inputs": [
          {
            "global_args": [],
            "hwaccel_args": [],
            "input_args": [],
            "path": "rtsp://admin:xxxx@192.168.6.140/2",
            "roles": [
              "detect"
            ]
          },
          {
            "global_args": [],
            "hwaccel_args": [],
            "input_args": [],
            "path": "rtsp://admin:xxxx@192.168.6.140/1",
            "roles": [
              "record"
            ]
          }
        ],
        "output_args": {
          "detect": [
            "-f",
            "rawvideo",
            "-pix_fmt",
            "yuv420p"
          ],
          "record": [
            "-f",
            "segment",
            "-segment_time",
            "10",
            "-segment_format",
            "mp4",
            "-reset_timestamps",
            "1",
            "-strftime",
            "1",
            "-c",
            "copy",
            "-an"
          ],
          "rtmp": [
            "-c",
            "copy",
            "-f",
            "flv"
          ]
        }
      },
      "ffmpeg_cmds": [
        {
          "cmd": "ffmpeg -hide_banner -loglevel warning -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://admin:xxxx@192.168.6.140/2 -r 5 -s 640x352 -f rawvideo -pix_fmt yuv420p pipe:",
          "roles": [
            "detect"
          ]
        },
        {
          "cmd": "ffmpeg -hide_banner -loglevel warning -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://admin:xxxx@192.168.6.140/1 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/driveway-%Y%m%d%H%M%S.mp4",
          "roles": [
            "record"
          ]
        }
      ],
      "live": {
        "height": 720,
        "quality": 8
      },
      "motion": {
        "contour_area": 100,
        "delta_alpha": 0.2,
        "frame_alpha": 0.2,
        "frame_height": 80,
        "mask": [
          "95,38,317,64,640,130,640,0,0,0,0,42"
        ],
        "threshold": 25
      },
      "mqtt": {
        "bounding_box": true,
        "crop": true,
        "enabled": true,
        "height": 270,
        "quality": 70,
        "required_zones": [],
        "timestamp": true
      },
      "name": "driveway",
      "objects": {
        "filters": {
          "person": {
            "mask": [
              "95,38,317,64,640,130,640,0,0,0,0,42"
            ],
            "max_area": 24000000,
            "min_area": 1000,
            "min_score": 0.49,
            "threshold": 0.54
          }
        },
        "mask": "",
        "track": [
          "person"
        ]
      },
      "record": {
        "enabled": true,
        "events": {
          "max_seconds": 300,
          "objects": null,
          "post_capture": 5,
          "pre_capture": 5,
          "required_zones": [],
          "retain": {
            "default": 5,
            "objects": {}
          }
        },
        "retain_days": 0
      },
      "rtmp": {
        "enabled": false
      },
      "snapshots": {
        "bounding_box": true,
        "clean_copy": true,
        "crop": false,
        "enabled": true,
        "height": null,
        "quality": 70,
        "required_zones": [],
        "retain": {
          "default": 7,
          "objects": {}
        },
        "timestamp": true
      },
      "timestamp_style": {
        "color": {
          "blue": 255,
          "green": 255,
          "red": 255
        },
        "effect": null,
        "format": "%m/%d/%Y %H:%M:%S",
        "position": "tl",
        "thickness": 2
      },
      "zones": {}
    },
    "front_porch_camera": {
      "best_image_timeout": 60,
      "detect": {
        "enabled": true,
        "fps": 5,
        "height": 480,
        "max_disappeared": 25,
        "width": 640
      },
      "ffmpeg": {
        "global_args": [
          "-hide_banner",
          "-loglevel",
          "warning"
        ],
        "hwaccel_args": [],
        "input_args": [
          "-avoid_negative_ts",
          "make_zero",
          "-fflags",
          "+genpts+discardcorrupt",
          "-rtsp_transport",
          "tcp",
          "-stimeout",
          "5000000",
          "-use_wallclock_as_timestamps",
          "1"
        ],
        "inputs": [
          {
            "global_args": [],
            "hwaccel_args": [],
            "input_args": [
              "-avoid_negative_ts",
              "make_zero",
              "-fflags",
              "nobuffer",
              "-flags",
              "low_delay",
              "-strict",
              "experimental",
              "-fflags",
              "+genpts+discardcorrupt",
              "-use_wallclock_as_timestamps",
              "1"
            ],
            "path": "http://admin:xxxx@192.168.6.19/video.cgi",
            "roles": [
              "detect",
              "record"
            ]
          }
        ],
        "output_args": {
          "detect": [
            "-f",
            "rawvideo",
            "-pix_fmt",
            "yuv420p"
          ],
          "record": "-f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -pix_fmt yuv420p -an",
          "rtmp": [
            "-c",
            "copy",
            "-f",
            "flv"
          ]
        }
      },
      "ffmpeg_cmds": [
        {
          "cmd": "ffmpeg -hide_banner -loglevel warning -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1 -i http://admin:xxxx@192.168.6.19/video.cgi -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -pix_fmt yuv420p -an /tmp/cache/front_porch_camera-%Y%m%d%H%M%S.mp4 -r 5 -s 640x480 -f rawvideo -pix_fmt yuv420p pipe:",
          "roles": [
            "detect",
            "record"
          ]
        }
      ],
      "live": {
        "height": 720,
        "quality": 8
      },
      "motion": {
        "contour_area": 100,
        "delta_alpha": 0.2,
        "frame_alpha": 0.2,
        "frame_height": 80,
        "mask": "",
        "threshold": 25
      },
      "mqtt": {
        "bounding_box": true,
        "crop": true,
        "enabled": true,
        "height": 270,
        "quality": 70,
        "required_zones": [],
        "timestamp": true
      },
      "name": "front_porch_camera",
      "objects": {
        "filters": {
          "person": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          }
        },
        "mask": "",
        "track": [
          "person"
        ]
      },
      "record": {
        "enabled": true,
        "events": {
          "max_seconds": 300,
          "objects": null,
          "post_capture": 5,
          "pre_capture": 5,
          "required_zones": [],
          "retain": {
            "default": 7,
            "objects": {}
          }
        },
        "retain_days": 0
      },
      "rtmp": {
        "enabled": false
      },
      "snapshots": {
        "bounding_box": true,
        "clean_copy": true,
        "crop": false,
        "enabled": true,
        "height": null,
        "quality": 70,
        "required_zones": [],
        "retain": {
          "default": 7,
          "objects": {}
        },
        "timestamp": false
      },
      "timestamp_style": {
        "color": {
          "blue": 255,
          "green": 255,
          "red": 255
        },
        "effect": null,
        "format": "%m/%d/%Y %H:%M:%S",
        "position": "tl",
        "thickness": 2
      },
      "zones": {}
    }
  },
  "database": {
    "path": "/media/frigate/frigate.db"
  },
  "detect": {
    "enabled": true,
    "fps": 5,
    "height": 720,
    "max_disappeared": null,
    "width": 1280
  },
  "detectors": {
    "cpu1": {
      "device": "usb",
      "num_threads": 3,
      "type": "cpu"
    }
  },
  "environment_vars": {},
  "ffmpeg": {
    "global_args": [
      "-hide_banner",
      "-loglevel",
      "warning"
    ],
    "hwaccel_args": [],
    "input_args": [
      "-avoid_negative_ts",
      "make_zero",
      "-fflags",
      "+genpts+discardcorrupt",
      "-rtsp_transport",
      "tcp",
      "-stimeout",
      "5000000",
      "-use_wallclock_as_timestamps",
      "1"
    ],
    "output_args": {
      "detect": [
        "-f",
        "rawvideo",
        "-pix_fmt",
        "yuv420p"
      ],
      "record": [
        "-f",
        "segment",
        "-segment_time",
        "10",
        "-segment_format",
        "mp4",
        "-reset_timestamps",
        "1",
        "-strftime",
        "1",
        "-c",
        "copy",
        "-an"
      ],
      "rtmp": [
        "-c",
        "copy",
        "-f",
        "flv"
      ]
    }
  },
  "live": {
    "height": 720,
    "quality": 8
  },
  "logger": {
    "default": "info",
    "logs": {}
  },
  "model": {
    "height": 320,
    "labelmap": {},
    "labelmap_path": null,
    "path": null,
    "width": 320
  },
  "motion": {
    "contour_area": 100,
    "delta_alpha": 0.2,
    "frame_alpha": 0.2,
    "frame_height": 80,
    "mask": "",
    "threshold": 25
  },
  "mqtt": {
    "client_id": "frigate",
    "host": "caha.duckdns.org",
    "password": "Fr1g@te21",
    "port": 1883,
    "stats_interval": 60,
    "tls_ca_certs": null,
    "tls_client_cert": null,
    "tls_client_key": null,
    "tls_insecure": null,
    "topic_prefix": "frigate",
    "user": "frigate"
  },
  "objects": {
    "filters": null,
    "mask": "",
    "track": [
      "person"
    ]
  },
  "record": {
    "enabled": false,
    "events": {
      "max_seconds": 300,
      "objects": null,
      "post_capture": 5,
      "pre_capture": 5,
      "required_zones": [],
      "retain": {
        "default": 10,
        "objects": {}
      }
    },
    "retain_days": 0
  },
  "rtmp": {
    "enabled": false
  },
  "snapshots": {
    "bounding_box": true,
    "clean_copy": true,
    "crop": false,
    "enabled": false,
    "height": null,
    "quality": 70,
    "required_zones": [],
    "retain": {
      "default": 10,
      "objects": {}
    },
    "timestamp": false
  },
  "timestamp_style": {
    "color": {
      "blue": 255,
      "green": 255,
      "red": 255
    },
    "effect": null,
    "format": "%m/%d/%Y %H:%M:%S",
    "position": "tl",
    "thickness": 2
  }
}

Relevant log output

[2022-05-31 17:19:08] watchdog.driveway              INFO    : No frames received from driveway in 20 seconds. Exiting ffmpeg...
[2022-05-31 17:19:08] watchdog.driveway              INFO    : Waiting for ffmpeg to exit gracefully...
[2022-05-31 17:19:13] frigate.video                  INFO    : driveway: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
[2022-05-31 17:19:13] frigate.video                  INFO    : driveway: ffmpeg sent a broken frame. read of closed file
[2022-05-31 17:19:13] frigate.video                  INFO    : driveway: ffmpeg process is not running. exiting capture thread...
[2022-05-31 17:19:13] ffmpeg.driveway.record         ERROR   : [rtsp @ 0x55f9e753b980] Could not find codec parameters for stream 0 (Video: h264, none, 1920x1080): unspecified pixel format
[2022-05-31 17:19:13] ffmpeg.driveway.record         ERROR   : Consider increasing the value for the 'analyzeduration' and 'probesize' options
[2022-05-31 17:19:13] ffmpeg.driveway.record         ERROR   : Guessed Channel Layout for Input Stream #0.1 : mono
[2022-05-31 17:19:13] ffmpeg.driveway.record         ERROR   : [segment @ 0x55f9e755e600] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[2022-05-31 17:19:13] watchdog.driveway              INFO    : Terminating the existing ffmpeg process...
[2022-05-31 17:19:13] watchdog.driveway              INFO    : Waiting for ffmpeg to exit gracefully...
[2022-05-31 17:19:23] watchdog.driveway              ERROR   : FFMPEG process crashed unexpectedly for driveway.
[2022-05-31 17:19:23] watchdog.driveway              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-05-31 17:19:23] watchdog.driveway              ERROR   : You may have invalid args defined for this camera.
[2022-05-31 17:19:23] ffmpeg.driveway.detect         ERROR   : [h264 @ 0x55bd68f14a00] error while decoding MB 37 4, bytestream -57
[2022-05-31 17:19:23] ffmpeg.driveway.detect         ERROR   : [h264 @ 0x55bd68f2c840] error while decoding MB 37 4, bytestream -57
[2022-05-31 17:19:23] ffmpeg.driveway.detect         ERROR   : rtsp://admin:xxxx@192.168.6.140/2: corrupt decoded frame in stream 0
[2022-05-31 17:19:23] ffmpeg.driveway.detect         ERROR   : [swscaler @ 0x55bd68f50580] deprecated pixel format used, make sure you did set range correctly
[2022-05-31 17:19:43] watchdog.driveway              INFO    : No frames received from driveway in 20 seconds. Exiting ffmpeg...
[2022-05-31 17:19:43] watchdog.driveway              INFO    : Waiting for ffmpeg to exit gracefully...
[2022-05-31 17:19:52] frigate.video                  INFO    : driveway: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
[2022-05-31 17:19:52] frigate.video                  INFO    : driveway: ffmpeg process is not running. exiting capture thread...
[2022-05-31 17:19:52] ffmpeg.driveway.record         ERROR   : [h264 @ 0x5559d998bbc0] error while decoding MB 94 10, bytestream -43
[2022-05-31 17:19:52] ffmpeg.driveway.record         ERROR   : Guessed Channel Layout for Input Stream #0.1 : mono
[2022-05-31 17:19:52] ffmpeg.driveway.record         ERROR   : [segment @ 0x5559d99ac800] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[2022-05-31 17:19:52] watchdog.driveway              INFO    : Terminating the existing ffmpeg process...
[2022-05-31 17:19:52] watchdog.driveway              INFO    : Waiting for ffmpeg to exit gracefully...
[2022-05-31 17:20:02] watchdog.driveway              ERROR   : FFMPEG process crashed unexpectedly for driveway.
[2022-05-31 17:20:02] watchdog.driveway              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-05-31 17:20:02] watchdog.driveway              ERROR   : You may have invalid args defined for this camera.
[2022-05-31 17:20:02] ffmpeg.driveway.detect         ERROR   : [h264 @ 0x55fe42cc5a00] error while decoding MB 32 2, bytestream -33
[2022-05-31 17:20:02] ffmpeg.driveway.detect         ERROR   : [h264 @ 0x55fe42ce3c40] error while decoding MB 32 2, bytestream -33
[2022-05-31 17:20:02] ffmpeg.driveway.detect         ERROR   : rtsp://admin:xxxx@192.168.6.140/2: corrupt decoded frame in stream 0
[2022-05-31 17:20:02] ffmpeg.driveway.detect         ERROR   : [swscaler @ 0x55fe42dbb000] deprecated pixel format used, make sure you did set range correctly
[2022-05-31 17:20:02] ffmpeg.driveway.detect         ERROR   : Finishing stream 0:0 without any data written to it.
[2022-05-31 17:20:02] ffmpeg.driveway.detect         ERROR   : Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
[2022-05-31 17:20:08] frigate.video                  INFO    : driveway: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
[2022-05-31 17:20:08] frigate.video                  INFO    : driveway: ffmpeg process is not running. exiting capture thread...
[2022-05-31 17:20:12] watchdog.driveway              ERROR   : FFMPEG process crashed unexpectedly for driveway.
[2022-05-31 17:20:12] watchdog.driveway              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-05-31 17:20:12] watchdog.driveway              ERROR   : You may have invalid args defined for this camera.
[2022-05-31 17:20:12] ffmpeg.driveway.detect         ERROR   : rtsp://admin:xxxx@192.168.6.140/2: Invalid data found when processing input
[2022-05-31 17:20:18] frigate.video                  INFO    : driveway: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
[2022-05-31 17:20:18] frigate.video                  INFO    : driveway: ffmpeg process is not running. exiting capture thread...
[2022-05-31 17:20:22] watchdog.driveway              ERROR   : FFMPEG process crashed unexpectedly for driveway.
[2022-05-31 17:20:22] watchdog.driveway              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-05-31 17:20:22] watchdog.driveway              ERROR   : You may have invalid args defined for this camera.
[2022-05-31 17:20:22] ffmpeg.driveway.detect         ERROR   : rtsp://admin:xxxx@192.168.6.140/2: Invalid data found when processing input
[2022-05-31 17:20:28] frigate.video                  INFO    : driveway: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
[2022-05-31 17:20:28] frigate.video                  INFO    : driveway: ffmpeg process is not running. exiting capture thread...
[2022-05-31 17:20:32] watchdog.driveway              ERROR   : FFMPEG process crashed unexpectedly for driveway.
[2022-05-31 17:20:32] watchdog.driveway              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-05-31 17:20:32] watchdog.driveway              ERROR   : You may have invalid args defined for this camera.
[2022-05-31 17:20:32] ffmpeg.driveway.detect         ERROR   : rtsp://admin:xxxx@192.168.6.140/2: Invalid data found when processing input
[2022-05-31 17:20:38] frigate.video                  INFO    : driveway: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
[2022-05-31 17:20:38] frigate.video                  INFO    : driveway: ffmpeg process is not running. exiting capture thread...
[2022-05-31 17:20:42] watchdog.driveway              ERROR   : FFMPEG process crashed unexpectedly for driveway.
[2022-05-31 17:20:42] watchdog.driveway              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-05-31 17:20:42] watchdog.driveway              ERROR   : You may have invalid args defined for this camera.
[2022-05-31 17:20:42] ffmpeg.driveway.detect         ERROR   : rtsp://admin:xxxx@192.168.6.140/2: Invalid data found when processing input
[2022-05-31 17:20:48] frigate.video                  INFO    : driveway: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
[2022-05-31 17:20:48] frigate.video                  INFO    : driveway: ffmpeg process is not running. exiting capture thread...
[2022-05-31 17:20:52] watchdog.driveway              ERROR   : FFMPEG process crashed unexpectedly for driveway.
[2022-05-31 17:20:52] watchdog.driveway              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-05-31 17:20:52] watchdog.driveway              ERROR   : You may have invalid args defined for this camera.
[2022-05-31 17:20:52] ffmpeg.driveway.detect         ERROR   : rtsp://admin:xxxx@192.168.6.140/2: Invalid data found when processing input
[2022-05-31 17:20:52] ffmpeg.driveway.record         ERROR   : [h264 @ 0x556c57dafbc0] error while decoding MB 106 15, bytestream -19
[2022-05-31 17:20:52] ffmpeg.driveway.record         ERROR   : Guessed Channel Layout for Input Stream #0.1 : mono
[2022-05-31 17:20:52] ffmpeg.driveway.record         ERROR   : [segment @ 0x556c57df66c0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[2022-05-31 17:20:52] watchdog.driveway              INFO    : Terminating the existing ffmpeg process...
[2022-05-31 17:20:52] watchdog.driveway              INFO    : Waiting for ffmpeg to exit gracefully...
[2022-05-31 17:21:30] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:47128]
[2022-05-31 17:21:59] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:47128]
[2022-05-31 17:25:22] ffmpeg.driveway.record         ERROR   : Guessed Channel Layout for Input Stream #0.1 : mono
[2022-05-31 17:25:22] ffmpeg.driveway.record         ERROR   : [segment @ 0x56080a9a1e00] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[2022-05-31 17:25:22] ffmpeg.driveway.record         ERROR   : [segment @ 0x56080a9a1e00] Non-monotonous DTS in output stream 0:0; previous: 11396301, current: 11396301; changing to 11396302. This may result in incorrect timestamps in the output file.
[2022-05-31 17:25:22] ffmpeg.driveway.record         ERROR   : [segment @ 0x56080a9a1e00] Non-monotonous DTS in output stream 0:0; previous: 17645554, current: 17645554; changing to 17645555. This may result in incorrect timestamps in the output file.
[2022-05-31 17:25:22] ffmpeg.driveway.record         ERROR   : [NULL @ 0x56080a982bc0] missing picture in access unit with size 50256
[2022-05-31 17:25:22] ffmpeg.driveway.record         ERROR   : [segment @ 0x56080a9a1e00] Non-monotonous DTS in output stream 0:0; previous: 20077343, current: 20077343; changing to 20077344. This may result in incorrect timestamps in the output file.
[2022-05-31 17:25:22] watchdog.driveway              INFO    : Terminating the existing ffmpeg process...
[2022-05-31 17:25:22] watchdog.driveway              INFO    : Waiting for ffmpeg to exit gracefully...
[2022-05-31 17:25:22] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:48420]
[2022-05-31 17:25:37] frigate.video                  INFO    : driveway: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
[2022-05-31 17:25:37] frigate.video                  INFO    : driveway: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
[2022-05-31 17:25:37] frigate.video                  INFO    : driveway: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
[2022-05-31 17:25:37] frigate.video                  INFO    : driveway: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
[2022-05-31 17:25:37] frigate.video                  INFO    : driveway: ffmpeg process is not running. exiting capture thread...
[2022-05-31 17:25:42] watchdog.driveway              ERROR   : FFMPEG process crashed unexpectedly for driveway.
[2022-05-31 17:25:42] watchdog.driveway              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-05-31 17:25:42] watchdog.driveway              ERROR   : You may have invalid args defined for this camera.
[2022-05-31 17:25:42] ffmpeg.driveway.detect         ERROR   : [swscaler @ 0x5562bb056f40] deprecated pixel format used, make sure you did set range correctly
[2022-05-31 17:25:42] ffmpeg.driveway.record         ERROR   : rtsp://admin:xxxx@192.168.6.140/1: Invalid data found when processing input
[2022-05-31 17:25:42] watchdog.driveway              INFO    : Terminating the existing ffmpeg process...
[2022-05-31 17:25:42] watchdog.driveway              INFO    : Waiting for ffmpeg to exit gracefully...
[2022-05-31 17:26:02] ffmpeg.driveway.record         ERROR   : Guessed Channel Layout for Input Stream #0.1 : mono
[2022-05-31 17:26:02] ffmpeg.driveway.record         ERROR   : [segment @ 0x55c646151e00] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[2022-05-31 17:26:02] watchdog.driveway              INFO    : Terminating the existing ffmpeg process...
[2022-05-31 17:26:02] watchdog.driveway              INFO    : Waiting for ffmpeg to exit gracefully...
[2022-05-31 17:26:30] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:48420]

FFprobe output from your camera

ffprobe version 4.4.2 Copyright (c) 2007-2021 the FFmpeg developers
  built with gcc 11 (GCC)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --extra-ldflags='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' --extra-cflags=' -I/usr/include/rav1e' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --enable-chromaprint --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libdav1d --enable-libass --enable-libbluray --enable-libbs2b --enable-libcdio --enable-libdrm --enable-libjack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libmysofa --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librav1e --enable-librtmp --enable-librubberband --enable-libsmbclient --enable-version3 --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-version3 --enable-vapoursynth --enable-libvpx --enable-vulkan --enable-libglslang --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libxml2 --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-avfilter --enable-avresample --enable-libmodplug --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-lto --enable-libmfx --enable-runtime-cpudetect
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
[rtsp @ 0x5558ca887e80] max delay reached. need to consume packet
[rtsp @ 0x5558ca887e80] RTP: missed 2 packets
[rtsp @ 0x5558ca887e80] max delay reached. need to consume packet
[rtsp @ 0x5558ca887e80] RTP: missed 3 packets
Input #0, rtsp, from 'rtsp://admin:xxx@192.168.6.140/1':
  Metadata:
    title           : 10
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 1920x1080, 30 tbr, 90k tbn, 180k tbc
  Stream #0:1: Audio: pcm_alaw, 8000 Hz, 1 channels, s16, 64 kb/s




ffprobe version 4.4.2 Copyright (c) 2007-2021 the FFmpeg developers
  built with gcc 11 (GCC)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --extra-ldflags='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' --extra-cflags=' -I/usr/include/rav1e' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --enable-chromaprint --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libdav1d --enable-libass --enable-libbluray --enable-libbs2b --enable-libcdio --enable-libdrm --enable-libjack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libmysofa --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librav1e --enable-librtmp --enable-librubberband --enable-libsmbclient --enable-version3 --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-version3 --enable-vapoursynth --enable-libvpx --enable-vulkan --enable-libglslang --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libxml2 --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-avfilter --enable-avresample --enable-libmodplug --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-lto --enable-libmfx --enable-runtime-cpudetect
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
Input #0, mpjpeg, from 'http://admin:xxx@192.168.6.19/video.cgi':
  Duration: N/A, bitrate: N/A
  Stream #0:0: Video: mjpeg (Baseline), yuvj422p(pc, bt470bg/unknown/unknown), 640x480, 25 tbr, 25 tbn, 25 tbc

Frigate stats

No response

Operating system

HassOS

Install method

HassOS Addon

Coral version

CPU (no coral)

Network connection

Wireless

Camera make and model

Dlink

Any other information that may be helpful

It was working fine with the previous versions

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:21

github_iconTop GitHub Comments

1reaction
B0ndo2commented, Jun 1, 2022

I will have to see if there are breaking changes before upgrading. Will see that in the morning. Thank you for your help

0reactions
stale[bot]commented, Jul 8, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use the Snapshot Feature in CaseGuard, Videos
The Snapshot tool within CaseGuard Studio gives users the ability to take snapshots of video recordings in a matter of seconds. No matter...
Read more >
MATLAB is taking endless snapshots instead of a video, when ...
So I am trying to track 2 different colored objects in a webcam video, one yellow tag and one red tag. I assigned...
Read more >
Snapshot Testing - Jest
Snapshot tests are a very useful tool whenever you want to make sure your UI does not change unexpectedly.
Read more >
Prepare Reporting Snapshots - Salesforce Help
To set up a reporting snapshot, you need a source report and a target object with fields to contain the data in the...
Read more >
How To Write Snapshot Tests For React Components With Jest
In this tutorial, we will be looking at what snapshot tests are and ... React components as JavaScript objects without the need for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found