# Minimal Frigate config с cuframes integration. # Полный guide: docs/integrations/frigate.md mqtt: enabled: false detectors: # Замени на свой detector (tensorrt / onnx / cpu). Здесь — placeholder. cpu: type: cpu # CRITICAL: hwaccel cuda отключён — наш patched ffmpeg без --enable-cuda-llvm # (не работает на glibc < 2.38 что у Debian 12, на котором Frigate runtime). # Без cuda-llvm нет scale_cuda filter. Detect-path использует CPU scale, но # decode уже сделан у publisher'а — net выигрыш всё равно. ffmpeg: hwaccel_args: [] output_args: record: preset-record-generic-audio-aac cameras: parking_overview: enabled: true friendly_name: Парковка ffmpeg: inputs: # main (full-res) — только запись в архив через прямой RTSP (`-c:v copy`, no decode у Frigate) # После cuframes v0.2 этот path тоже может через cuframes_packets:// (encoded share) - path: rtsp://admin:${FRIGATE_RTSP_PASSWORD}@parking-cam-ip:554/cam/realmonitor?channel=1&subtype=0 roles: [record] # sub-stream → через cuframes (decoded у publisher'а, без второго NVDEC) - path: cuframes://cam-parking input_args: -f cuframes roles: [detect] detect: width: 640 height: 480 fps: 5 record: enabled: true retain: days: 7 snapshots: enabled: true retain: default: 7