diff --git a/stacks/cameras/frigate/config.yml b/stacks/cameras/frigate/config.yml index 119b7c4..4add84c 100644 --- a/stacks/cameras/frigate/config.yml +++ b/stacks/cameras/frigate/config.yml @@ -29,12 +29,15 @@ model: path: /openvino-model/ssdlite_mobilenet_v2.xml labelmap_path: /openvino-model/coco_91cl_bkgr.txt +# neolink delivers the E1's audio as raw PCM (L16/16000/2). Browser MSE only plays AAC or +# PCMA/PCMU, so the live player stalled and Frigate fell back to the low-res view until a +# manual "refresh stream". go2rtc's ffmpeg copies the video and transcodes audio to AAC. go2rtc: streams: e1: - - rtsp://neolink:8554/e1/mainStream + - "ffmpeg:rtsp://neolink:8554/e1/mainStream#video=copy#audio=aac" e1_sub: - - rtsp://neolink:8554/e1/subStream + - "ffmpeg:rtsp://neolink:8554/e1/subStream#video=copy#audio=aac" # Recordings → /media/frigate/recordings = /storage1/labdata/frigate/recordings. # Main stream 24/7 ≈ 4.2 Mbps ≈ 44 GB/day (measured 2026-10-08) → ~310 GB rolling at 7 d. @@ -68,12 +71,12 @@ cameras: - path: rtsp://127.0.0.1:8554/e1_sub input_args: preset-rtsp-restream roles: [detect] - # Record full res. E1 audio is pcm_s16be, which mp4 can't carry → transcode to AAC. + # Record full res. The e1 restream already carries AAC (see go2rtc above) → copy it. - path: rtsp://127.0.0.1:8554/e1 input_args: preset-rtsp-restream roles: [record] output_args: - record: preset-record-generic-audio-aac + record: preset-record-generic-audio-copy detect: # Frigate >=0.14 defaults detect.enabled to false — without this nothing is detected. enabled: true