frigate: Beta 1.4 - Still many ffmpeg errors

Remade and simplified my whole add-on config based on beta 1.4 documentation. While the system is working (still testing), i am still getting continuous ffmpeg errors:

 * Starting nginx nginx
   ...done.
frigate.app                    INFO    : Creating directory: /tmp/cache
Starting migrations
peewee_migrate                 INFO    : Starting migrations
There is nothing to migrate
peewee_migrate                 INFO    : There is nothing to migrate
frigate.app                    INFO    : Camera processor started for Garage: 38
detector.coral                 INFO    : Starting detection process: 36
frigate.edgetpu                INFO    : Attempting to load TPU as usb:0
frigate.app                    INFO    : Capture process started for Garage: 40
frigate.edgetpu                INFO    : TPU found
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
watchdog.Garage                INFO    : No frames received from Garage in 20 seconds. Exiting ffmpeg...
watchdog.Garage                INFO    : Waiting for ffmpeg to exit gracefully...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
watchdog.Garage                INFO    : No frames received from Garage in 20 seconds. Exiting ffmpeg...
watchdog.Garage                INFO    : Waiting for ffmpeg to exit gracefully...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
watchdog.Garage                INFO    : No frames received from Garage in 20 seconds. Exiting ffmpeg...
watchdog.Garage                INFO    : Waiting for ffmpeg to exit gracefully...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
watchdog.Garage                INFO    : No frames received from Garage in 20 seconds. Exiting ffmpeg...
watchdog.Garage                INFO    : Waiting for ffmpeg to exit gracefully...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...
frigate.video                  INFO    : Garage: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Garage: ffmpeg process is not running. exiting capture thread...

My config is as follows:

detectors:
  coral:
    type: edgetpu
    device: 'usb:0'
mqtt:
  host: core-mosquitto.local.hass.io
  port: 1883
  topic_prefix: frigate
  client_id: frigate
  user: xxx
  password: xxx
ffmpeg: {}
cameras:
  Garage:
    ffmpeg:
      inputs:
        - path: 'rtsp://xxx....'
          roles:
            - detect
            - rtmp
    width: 1920
    height: 1080
    fps: 5
    motion:
      mask: >-
        0,1072,2,1,1919,7,1917,1070,1495,1072,1678,653,547,227,528,89,357,109,370,292,116,340,316,1072
snapshots:
  retain:
    default: 10
    objects:
      person: 15
clips:
  max_seconds: 300
  retain:
    default: 10
    objects:
      person: 15
objects:
  track:
    - person
  filters:
    person:
      min_area: 5000
      max_area: 100000
      min_score: 0.5
      threshold: 0.7
database:
  path: /media/frigate/clips/frigate.db
logger:
  default: info
  logs:
    frigate.mqtt: error

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 27 (3 by maintainers)

Commits related to this issue

Most upvoted comments

guys, its been a few hours now since my update and guess what?

  • No ffmpeg errors or any other errors in the log. Fully clean.
  • Ingress works perfectly well
  • Clips recorded and available in the media browser

You did it!!! And i probably jinxed it now 😃