frigate: [Support]: orangepi 5B run ghcr.io/blakeblackshear/frigate:0.13.0-beta6-rk fail

Describe the problem you are having

cannot get rtsp stream in web ui

Version

Frigate/0.13.0-614a36a

Frigate config file

mqtt:
  enabled: false

go2rtc:
  streams:
    rtsp_cam: # <- for RTSP streams
      - rtsp://10.0.79.32:8554/mystream # <- stream which supports video & aac audio
      # - "ffmpeg:rtsp_cam#audio=opus" # <- copy of the stream which transcodes audio to the missing codec (usually will be opus)

detectors:                            # required
  rknn:                               # required
    type: rknn                        # required
    # core mask for npu
    core_mask: 0

model:                                # required
  # name of yolov8 model or path to your own .rknn model file
  # possible values are:
  # - default-yolov8n
  # - default-yolov8s
  # - default-yolov8m
  # - default-yolov8l
  # - default-yolov8x
  # - /config/model_cache/rknn/your_custom_model.rknn
  path: default-yolov8n
  # width and height of detection frames
  width: 320
  height: 320
  # pixel format of detection frame
  # default value is rgb but yolov models usually use bgr format
  input_pixel_format: bgr             # required
  # shape of detection frame
  input_tensor: nhwc

ffmpeg:
  hwaccel_args: preset-rk-h264

detect:
  enabled: true
  width: 1920
  height: 1080
  fps: 5

record:
  enabled: true
  events:
    retain:
      default: 10
      mode: motion

cameras:
  test:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/rtsp_cam
          input_args: "preset-rtsp-generic" #-re -stream_loop -1 -fflags +genpts
          roles:
            - detect
            - record

Relevant log output

2023-11-30 17:55:33.750481157  [INFO] Preparing Frigate...
2023-11-30 17:55:33.768306242  [INFO] Starting Frigate...
2023-11-30 17:55:35.618685519  [2023-11-30 17:55:35] frigate.app                    INFO    : Starting Frigate (0.13.0-614a36a)
2023-11-30 17:55:35.618864890  [2023-11-30 17:55:35] frigate.app                    INFO    : Creating directory: /config/model_cache
2023-11-30 17:55:35.641243077  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Starting migrations
2023-11-30 17:55:35.755312921  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Migrate "001_create_events_table"
2023-11-30 17:55:35.756182359  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : sql ('CREATE TABLE IF NOT EXISTS "event" ("id" VARCHAR(30) NOT NULL PRIMARY KEY, "label" VARCHAR(20) NOT NULL, "camera" VARCHAR(20) NOT NULL, "start_time" DATETIME NOT NULL, "end_time" DATETIME NOT NULL, "top_score" REAL NOT NULL, "false_positive" INTEGER NOT NULL, "zones" JSON NOT NULL, "thumbnail" TEXT NOT NULL)',)
2023-11-30 17:55:35.756873884  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : sql ('CREATE INDEX IF NOT EXISTS "event_label" ON "event" ("label")',)
2023-11-30 17:55:35.757506203  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : sql ('CREATE INDEX IF NOT EXISTS "event_camera" ON "event" ("camera")',)
2023-11-30 17:55:35.758699092  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Done 001_create_events_table
2023-11-30 17:55:35.779202323  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Migrate "002_add_clip_snapshot"
2023-11-30 17:55:35.779563106  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : add_column ('event', 'has_clip', <BooleanField: Event.has_clip>)
2023-11-30 17:55:35.787594544  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : add_column ('event', 'has_snapshot', <BooleanField: Event.has_snapshot>)
2023-11-30 17:55:35.794152224  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Done 002_add_clip_snapshot
2023-11-30 17:55:35.812054016  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Migrate "003_create_recordings_table"
2023-11-30 17:55:35.812418591  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : sql ('CREATE TABLE IF NOT EXISTS "recordings" ("id" VARCHAR(30) NOT NULL PRIMARY KEY, "camera" VARCHAR(20) NOT NULL, "path" VARCHAR(255) NOT NULL, "start_time" DATETIME NOT NULL, "end_time" DATETIME NOT NULL, "duration" REAL NOT NULL)',)
2023-11-30 17:55:35.812939203  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : sql ('CREATE INDEX IF NOT EXISTS "recordings_camera" ON "recordings" ("camera")',)
2023-11-30 17:55:35.813546731  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : sql ('CREATE UNIQUE INDEX IF NOT EXISTS "recordings_path" ON "recordings" ("path")',)
2023-11-30 17:55:35.814129467  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : sql ('CREATE INDEX IF NOT EXISTS "recordings_start_time_end_time" ON "recordings" (start_time, end_time)',)
2023-11-30 17:55:35.815480144  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Done 003_create_recordings_table
2023-11-30 17:55:35.836295034  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Migrate "004_add_bbox_region_area"
2023-11-30 17:55:35.836619944  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : add_column ('event', 'region', <JSONField: Event.region>)
2023-11-30 17:55:35.843361370  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : add_column ('event', 'box', <JSONField: Event.box>)
2023-11-30 17:55:35.849454728  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : add_column ('event', 'area', <IntegerField: Event.area>)
2023-11-30 17:55:35.856196154  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Done 004_add_bbox_region_area
2023-11-30 17:55:35.874951926  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Migrate "005_make_end_time_nullable"
2023-11-30 17:55:35.875273627  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : drop_not_null ('event', 'end_time')
2023-11-30 17:55:35.882227381  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Done 005_make_end_time_nullable
2023-11-30 17:55:35.897819810  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Migrate "006_add_motion_active_objects"
2023-11-30 17:55:35.898148511  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : add_column ('recordings', 'objects', <IntegerField: Recordings.objects>)
2023-11-30 17:55:35.899432106  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : add_column ('recordings', 'motion', <IntegerField: Recordings.motion>)
2023-11-30 17:55:35.901281229  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Done 006_add_motion_active_objects
2023-11-30 17:55:35.913527152  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Migrate "007_add_retain_indefinitely"
2023-11-30 17:55:35.913824354  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : add_column ('event', 'retain_indefinitely', <BooleanField: Event.retain_indefinitely>)
2023-11-30 17:55:35.921217057  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Done 007_add_retain_indefinitely
2023-11-30 17:55:35.936467660  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Migrate "008_add_sub_label"
2023-11-30 17:55:35.936791694  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : add_column ('event', 'sub_label', <CharField: Event.sub_label>)
2023-11-30 17:55:35.938247077  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Done 008_add_sub_label
2023-11-30 17:55:35.950467917  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Migrate "009_add_object_filter_ratio"
2023-11-30 17:55:35.950764827  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : add_column ('event', 'ratio', <FloatField: Event.ratio>)
2023-11-30 17:55:35.958109989  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Done 009_add_object_filter_ratio
2023-11-30 17:55:35.972697066  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Migrate "010_add_plus_image_id"
2023-11-30 17:55:35.973018183  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : add_column ('event', 'plus_id', <CharField: Event.plus_id>)
2023-11-30 17:55:35.974581189  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Done 010_add_plus_image_id
2023-11-30 17:55:35.985624306  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Migrate "011_update_indexes"
2023-11-30 17:55:35.985917716  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : sql ('CREATE INDEX "event_start_time_end_time" ON "event" ("start_time" DESC, "end_time" DESC)',)
2023-11-30 17:55:35.986607200  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : sql ('DROP INDEX recordings_start_time_end_time',)
2023-11-30 17:55:35.987217936  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : sql ('CREATE INDEX "recordings_end_time_start_time" ON "recordings" ("end_time" DESC, "start_time" DESC)',)
2023-11-30 17:55:35.988386909  [2023-11-30 17:55:35] peewee_migrate.logs            INFO    : Done 011_update_indexes
2023-11-30 17:55:36.001695640  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : Migrate "012_add_segment_size"
2023-11-30 17:55:36.001999842  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : add_column ('recordings', 'segment_size', <FloatField: Recordings.segment_size>)
2023-11-30 17:55:36.010202192  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : Done 012_add_segment_size
2023-11-30 17:55:36.029176417  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : Migrate "013_create_timeline_table"
2023-11-30 17:55:36.029711905  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : sql ('CREATE TABLE IF NOT EXISTS "timeline" ("timestamp" DATETIME NOT NULL, "camera" VARCHAR(20) NOT NULL, "source" VARCHAR(20) NOT NULL, "source_id" VARCHAR(30), "class_type" VARCHAR(50) NOT NULL, "data" JSON)',)
2023-11-30 17:55:36.030137436  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : sql ('CREATE INDEX IF NOT EXISTS "timeline_camera" ON "timeline" ("camera")',)
2023-11-30 17:55:36.030736214  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : sql ('CREATE INDEX IF NOT EXISTS "timeline_source" ON "timeline" ("source")',)
2023-11-30 17:55:36.031312242  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : sql ('CREATE INDEX IF NOT EXISTS "timeline_source_id" ON "timeline" ("source_id")',)
2023-11-30 17:55:36.032655336  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : Done 013_create_timeline_table
2023-11-30 17:55:36.052452042  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : Migrate "014_event_updates_for_fp"
2023-11-30 17:55:36.052792700  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : add_column ('event', 'score', <FloatField: Event.score>)
2023-11-30 17:55:36.053817593  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : add_column ('event', 'model_hash', <CharField: Event.model_hash>)
2023-11-30 17:55:36.054887402  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : add_column ('event', 'detector_type', <CharField: Event.detector_type>)
2023-11-30 17:55:36.055875837  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : add_column ('event', 'model_type', <CharField: Event.model_type>)
2023-11-30 17:55:36.056698318  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : drop_not_null ('event', 'area')
2023-11-30 17:55:36.063660822  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : drop_not_null ('event', 'false_positive')
2023-11-30 17:55:36.070913237  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : apply_default ('event', 'false_positive', <BooleanField: Event.false_positive>)
2023-11-30 17:55:36.071230271  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : Done 014_event_updates_for_fp
2023-11-30 17:55:36.092760311  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : Migrate "015_event_refactor"
2023-11-30 17:55:36.093072387  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : drop_not_null ('event', 'top_score')
2023-11-30 17:55:36.099867771  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : drop_not_null ('event', 'score')
2023-11-30 17:55:36.105866923  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : drop_not_null ('event', 'region')
2023-11-30 17:55:36.111837784  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : drop_not_null ('event', 'box')
2023-11-30 17:55:36.117813311  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : drop_not_null ('event', 'area')
2023-11-30 17:55:36.127510418  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : drop_not_null ('event', 'ratio')
2023-11-30 17:55:36.135727060  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : add_column ('event', 'data', <JSONField: Event.data>)
2023-11-30 17:55:36.138479455  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : Done 015_event_refactor
2023-11-30 17:55:36.155377936  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : Migrate "016_sublabel_increase"
2023-11-30 17:55:36.155701387  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : change_column ('event', 'sub_label', <CharField: Event.sub_label>)
2023-11-30 17:55:36.169873140  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : Done 016_sublabel_increase
2023-11-30 17:55:36.187391524  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : Migrate "017_update_indexes"
2023-11-30 17:55:36.187859638  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : sql ('CREATE INDEX "recordings_camera_segment_size" ON "recordings" ("camera", "segment_size")',)
2023-11-30 17:55:36.189980297  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : Done 017_update_indexes
2023-11-30 17:55:36.204477334  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : Migrate "018_add_dbfs"
2023-11-30 17:55:36.204782702  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : add_column ('recordings', 'dBFS', <IntegerField: Recordings.dBFS>)
2023-11-30 17:55:36.206538203  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : Done 018_add_dbfs
2023-11-30 17:55:36.218592505  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : Migrate "019_create_regions_table"
2023-11-30 17:55:36.218894373  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : sql ('CREATE TABLE IF NOT EXISTS "regions" ("camera" VARCHAR(20) NOT NULL PRIMARY KEY, "last_update" DATETIME NOT NULL, "grid" JSON)',)
2023-11-30 17:55:36.220163094  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : Done 019_create_regions_table
2023-11-30 17:55:36.236267677  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : Migrate "020_update_index_recordings"
2023-11-30 17:55:36.236570128  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : sql ('DROP INDEX recordings_end_time_start_time',)
2023-11-30 17:55:36.237017535  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : sql ('CREATE INDEX "recordings_camera_start_time_end_time" ON "recordings" ("camera", "start_time" DESC, "end_time" DESC)',)
2023-11-30 17:55:36.237634687  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : sql ('CREATE INDEX "recordings_api_recordings_summary" ON "recordings" ("camera", "start_time" DESC, "duration", "motion", "objects")',)
2023-11-30 17:55:36.238314254  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : sql ('CREATE INDEX "recordings_start_time" ON "recordings" ("start_time")',)
2023-11-30 17:55:36.239701680  [2023-11-30 17:55:36] peewee_migrate.logs            INFO    : Done 020_update_index_recordings
2023-11-30 17:55:36.302452302  [2023-11-30 17:55:36] frigate.app                    INFO    : Recording process started: 455
2023-11-30 17:55:36.312103036  [2023-11-30 17:55:36] frigate.app                    INFO    : go2rtc process pid: 89
2023-11-30 17:55:36.349870365  [2023-11-30 17:55:36] detector.rknn                  INFO    : Starting detection process: 464
2023-11-30 17:55:36.352461763  [2023-11-30 17:55:36] frigate.app                    INFO    : Output process started: 465
2023-11-30 17:55:36.368025608  [2023-11-30 17:55:36] frigate.app                    INFO    : Camera processor started for test: 470
2023-11-30 17:55:36.369296662  [2023-11-30 17:55:36] frigate.app                    INFO    : Capture process started for test: 471
2023-11-30 17:55:36.421636776  [2023-11-30 17:55:36] frigate.video                  ERROR   : test: Unable to read frames from ffmpeg process.
2023-11-30 17:55:36.422099641  [2023-11-30 17:55:36] frigate.video                  ERROR   : test: ffmpeg process is not running. exiting capture thread...
2023-11-30 17:55:36.825661533  I RKNN: [17:55:36.825] RKNN Runtime Information: librknnrt version: 1.5.2 (c6b7b351a@2023-08-23T15:28:22)
2023-11-30 17:55:36.825741739  I RKNN: [17:55:36.825] RKNN Driver Information: version: 0.8.2
2023-11-30 17:55:36.825768280  W RKNN: [17:55:36.825] Current driver version: 0.8.2, recommend to upgrade the driver to the new version: >= 0.8.8
2023-11-30 17:55:36.826164355  I RKNN: [17:55:36.826] RKNN Model Information: version: 6, toolkit version: 1.5.2+b642f30c(compiler version: 1.5.2 (c6b7b351a@2023-08-23T07:39:01)), target: RKNPU v2, target platform: rk3588, framework name: ONNX, framework layout: NCHW, model inference type: static_shape
2023-11-30 17:55:56.461664401  [2023-11-30 17:55:56] watchdog.test                  ERROR   : Ffmpeg process crashed unexpectedly for test.
2023-11-30 17:55:56.463561065  [2023-11-30 17:55:56] watchdog.test                  ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-11-30 17:55:56.465272817  [2023-11-30 17:55:56] ffmpeg.test.detect             ERROR   : [rtsp @ 0x55a8f67f30] method DESCRIBE failed: 404 Not Found
2023-11-30 17:55:56.466934695  [2023-11-30 17:55:56] ffmpeg.test.detect             ERROR   : rtsp://127.0.0.1:8554/rtsp_cam: Server returned 404 Not Found

FFprobe output from your camera

root@orangepi5b:/opt/frigate# ffprobe rtsp://10.0.79.32:8554/mystream
ffprobe version e243e8d001-20231113 Copyright (c) 2007-2023 the FFmpeg developers
  built with gcc 13.2.0 (crosstool-NG 1.25.0.232_c175b21)
  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=aarch64-ffbuild-linux-gnu- --arch=aarch64 --target-os=linux --enable-nonfree --enable-gpl --enable-version3 --disable-debug --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-openssl --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libpulse --enable-libvmaf --enable-libxcb --enable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-chromaprint --enable-libdav1d --disable-libdavs2 --enable-libdrm --enable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar --enable-libass --enable-libbluray --disable-libjxl --enable-libmp3lame --enable-libopus --enable-librist --enable-libssh --enable-libtheora --disable-libvpx --enable-libwebp --enable-lv2 --enable-rkmpp --disable-libvpl --enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --disable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libdrm --disable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --disable-libplacebo --enable-libx264 --enable-libx265 --disable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags=-pie --extra-libs='-ldl -lstdc++ -lgomp' --extra-version=20231113
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
[rtsp @ 0x55d5007010] method SETUP failed: 461 Unsupported Transport
Input #0, rtsp, from 'rtsp://10.0.79.32:8554/mystream':
  Metadata:
    title           : No Name
  Duration: N/A, start: 0.138435, bitrate: N/A
  Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn
  Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp
[h264_rkmpp_decoder @ 0x55d5055a00] Picture format is yuv420p.

Frigate stats

{
    "cameras": {
        "test": {
            "audio_dBFS": 0,
            "audio_rms": 0,
            "camera_fps": 0,
            "capture_pid": 471,
            "detection_enabled": 1,
            "detection_fps": 0,
            "ffmpeg_pid": 678,
            "pid": 470,
            "process_fps": 0,
            "skipped_fps": 0
        }
    },
    "cpu_usages": {
        "1": {
            "cmdline": "/package/admin/s6/command/s6-svscan -d4 -- /run/service",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "15": {
            "cmdline": "s6-supervise s6-linux-init-shutdownd",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "17": {
            "cmdline": "/package/admin/s6-linux-init/command/s6-linux-init-shutdownd -c /run/s6/basedir -g 3000 -C -B",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "24": {
            "cmdline": "s6-supervise go2rtc-healthcheck",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "25": {
            "cmdline": "s6-supervise frigate",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "26": {
            "cmdline": "s6-supervise nginx-log",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "27": {
            "cmdline": "s6-supervise nginx",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "28": {
            "cmdline": "s6-supervise frigate-log",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "29": {
            "cmdline": "s6-supervise s6rc-oneshot-runner",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "30": {
            "cmdline": "s6-supervise s6rc-fdholder",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "31": {
            "cmdline": "s6-supervise go2rtc",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "32": {
            "cmdline": "s6-supervise go2rtc-log",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "41": {
            "cmdline": "/package/admin/s6-2.11.3.2/command/s6-fdholderd -1 -i data/rules",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "42": {
            "cmdline": "/package/admin/s6/command/s6-ipcserverd -1 -- /package/admin/s6/command/s6-ipcserver-access -v0 -E -l0 -i data/rules -- /package/admin/s6/command/s6-sudod -t 30000 -- /package/admin/s6-rc/command/s6-rc-oneshot-run -l ../.. --",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "77": {
            "cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "80": {
            "cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "84": {
            "cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "89": {
            "cmdline": "/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml",
            "cpu": "2.6",
            "cpu_average": "2",
            "mem": "0.2"
        },
        "110": {
            "cmdline": "bash ./run.user go2rtc-healthcheck",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "113": {
            "cmdline": "python3 -u -m frigate",
            "cpu": "0.6",
            "cpu_average": "2",
            "mem": "1.3"
        },
        "119": {
            "cmdline": "nginx: master process nginx",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.1"
        },
        "145": {
            "cmdline": "nginx: worker process",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "146": {
            "cmdline": "nginx: worker process",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "147": {
            "cmdline": "nginx: worker process",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "150": {
            "cmdline": "nginx: worker process",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "167": {
            "cmdline": "nginx: worker process",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "220": {
            "cmdline": "nginx: worker process",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "286": {
            "cmdline": "nginx: worker process",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "310": {
            "cmdline": "nginx: worker process",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "327": {
            "cmdline": "nginx: cache manager process",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "453": {
            "cmdline": "frigate.logger       ",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.7"
        },
        "455": {
            "cmdline": "frigate.recording_manager",
            "cpu": "0.9",
            "cpu_average": "0",
            "mem": "0.8"
        },
        "463": {
            "cmdline": "/usr/bin/python3 -c from multiprocessing.resource_tracker import main;main(38)",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.1"
        },
        "464": {
            "cmdline": "frigate.detector.rknn",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.9"
        },
        "465": {
            "cmdline": "frigate.output       ",
            "cpu": "0.2",
            "cpu_average": "0",
            "mem": "0.7"
        },
        "470": {
            "cmdline": "frigate.process:test ",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.7"
        },
        "471": {
            "cmdline": "frigate.capture:test ",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.7"
        },
        "473": {
            "cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.1"
        },
        "476": {
            "cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.1"
        },
        "649": {
            "cmdline": "/bin/bash",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        },
        "678": {
            "cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -c:v h264_rkmpp_decoder -user_agent FFmpeg Frigate/0.13.0-614a36a -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/rtsp_cam -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/test@%Y%m%d%H%M%S%z.mp4 -r 5 -vf fps=5,scale=1920:1080 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.1"
        },
        "693": {
            "cmdline": "sleep 30s",
            "cpu": "0.0",
            "cpu_average": "0",
            "mem": "0.0"
        }
    },
    "detection_fps": 0,
    "detectors": {
        "rknn": {
            "detection_start": 0,
            "inference_speed": 10,
            "pid": 464
        }
    },
    "processes": {
        "go2rtc": {
            "pid": 89
        },
        "logger": {
            "pid": 453
        },
        "recording": {
            "pid": 455
        }
    },
    "service": {
        "last_updated": 1701338325,
        "latest_version": "0.12.1",
        "storage": {
            "/dev/shm": {
                "free": 63.5,
                "mount_type": "tmpfs",
                "total": 64,
                "used": 0.5
            },
            "/media/frigate/clips": {
                "free": 208527.6,
                "mount_type": "ext4",
                "total": 233791.6,
                "used": 13320
            },
            "/media/frigate/recordings": {
                "free": 208527.6,
                "mount_type": "ext4",
                "total": 233791.6,
                "used": 13320
            },
            "/tmp/cache": {
                "free": 939.6,
                "mount_type": "tmpfs",
                "total": 953.7,
                "used": 14
            }
        },
        "temperatures": {},
        "uptime": 189,
        "version": "0.13.0-614a36a"
    }
}

Operating system

Debian

Install method

Docker Compose

Coral version

Other

Network connection

Wired

Camera make and model

rtsp stream

Any other information that may be helpful

No response

About this issue

  • Original URL
  • State: closed
  • Created 7 months ago
  • Comments: 26 (4 by maintainers)

Most upvoted comments

@MarcA711 Ok, I will install latest ubuntu and have a try, I close this issue for now and reopen this when run into problems.

@hardtosay123 I’m confused whether ffmpeg use hw for accelerating video decodeing.I will download a ffmpeg-cpu docker image, and pull a rtsp stream to verify the cpu usage.

Could you post the content of your docker_compose.yml file and the output of uname -a and cat /proc/device-tree/compatible