0.18.0 Beta 2 #23827
Replies: 2 comments 2 replies
|
I know it's been available for a few versions now, but I've only just started using genAI features with this beta, using llama.cpp as the provider. I'm really impressed with the descriptions that have been generated, especially on a relatively old/underpowered GPU, but I noticed a few issues. The first issues was on this version: First: I'm using a custom multi-line prompt for object descriptions. I have genAI debug logging enabled for testing purposes, and found the logs to not handle this prompt very well. The prompt seems to get split at every line break, creating a lot of log entries. An excerpt of this is below. My prompt is longer, but I think this demonstrates what I'm trying to say. Second: I'm new to using llama.cpp and locally-hosted AI in general, so this might be my ignorance. But I was using a minimally-configured instance of llama.cpp that automatically set 4 slots with a shared context size of 8192 between all slots. Frigate picked this up automatically as an 8192 context size, and llama.cpp ended up crashing during a period of high activity, I believe because the 4 slots demanded more than 8192 total context. I have a minimal excerpt of Frigate logs from that period, which are below. I've since manually set the number of slots and context size per slot, instead of using the automatic shared context from llama.cpp, and I haven't had any issues. I don't think there's really much to do on the Frigate side here, since I believe Frigate sent proper requests based on the information it had, but this might be something worth adding as a warning in the docs. Again, I'm new to local AI, so this one might just be completely my mistake on the setup. |
|
Does ghcr.io/blakeblackshear/frigate:0.18.0-beta2-rk have support for ffmpeg 8.0 ? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Images
Changes since Beta 1
Security
expclaim (usemax_ageperJWT_SESSION_LENGTH) and prevent a new token being issued on logoutBackend
-vaapi_deviceto the birdseye restream vaapi encode preset so hwupload can init on ffmpeg 8openvino-devwith a modern package for OpenVINO model generationFrontend
required_zones, and delete allrequired_zonesreferences when the zone is deletedFull changelog: v0.18.0-beta1...v0.18.0-beta2
Major Changes for 0.18.0
Breaking Changes
There are several breaking changes in this release, Frigate will attempt to update the configuration automatically. In some cases manual changes may be required. It is always recommended to back up your current config and database before upgrading:
frigate.dbfilegenaiconfig is now a mapping of keys to GenAI provider setups, and a newrolesfield defines what tasks each provider will be used for (object descriptions, review summaries, embeddings, chat, etc.). Existing configs will be automatically migrated. Documentation<camera>-<id>-clean.webp) is now stored in/media/frigate/clips/. Theclean_copyconfiguration option has been removed — clean snapshots are always saved when snapshots are enabled. Thesnapshots.qualitydefault has changed from 70 to 60, reflecting the switch from JPEG to WebP encoding. Users who previously relied on the annotated.jpgfiles on disk should instead use the/api/events/<id>/snapshot.jpgendpoint, which now honorstimestamp,bounding_box,crop,height, andqualityquery parameters for both in-progress and completed tracked objects. When query parameters are omitted, the camera'ssnapshotsconfig values are used as defaults. Existing configs containingclean_copywill be automatically migrated. Documentationenabledandfriendly_namefields. A config migrator will make the necessary changes, but if migration fails you may need to edit your masks and zones manually.CAP_PERFMON, privileged mode, orperf_event_paranoid tuning, and adds support for newer Intel GPUs (including Battlemage). Reported usage values may differ from previous versions because the measurement method has changed; the underlying GPU workload is unchanged for the same configuration./api/exportDELETEHTTP API endpoint has been removed and refactored to support bulk deletion of exports. APOSTto/api/exportsshould be used instead. Documentationsync_recordingsconfig option has been removed and replaced by the new Media Sync pane in Settings.timelapse_argsexport config option has been removed and replaced by custom exporting ffmpeg arguments. Documentationui.date_formatandui.time_formatconfig options have been removed as these fields have been unused since date/time format and handling has been determined by i18n.New Features
Frigate 0.18 introduces several major new features.
Full UI Configuration
Frigate 0.18 introduces complete UI-based configuration management. The new Settings experience provides:
Reset to Default/Globalbutton on each section.See the documentation.
Profiles
Profiles let you define named overrides on top of your base camera configuration and switch between them on the fly — without restarting Frigate. Profiles can override a camera's detection, motion, recording, snapshots, review, zones, notifications, objects (including masks and filters), enrichments (face recognition, LPR), audio, and birdseye settings, as well as the camera's enabled state.
frigate/profile/setMQTT topic.See the documentation.
GenAI
Frigate 0.18 includes a major expansion of GenAI capabilities. In addition to multi-provider support (see Breaking Changes), there is a new dedicated llama.cpp provider with automatic model probing and context sizing, and GenAI configuration can now be updated dynamically without restarting Frigate.
See the documentation.
Chat
Frigate 0.18 introduces a Chat interface for talking to your configured GenAI provider directly from the Frigate UI. Chat is implemented as a tool-calling LLM agent with access to Frigate-specific tools, so you can ask natural language questions about your cameras, tracked objects, and review activity.
Remote Embeddings
Semantic Search embeddings can now be generated by an external GenAI provider instead of running locally. This is especially useful when you would prefer to offload embedding work to another machine or to a hosted provider.
See the documentation.
Motion Review and Motion Search
Frigate 0.18 introduces a redesigned Motion Review experience along with a new Motion Search feature.
See the documentation.
Debug Replay
Debug Replay is a new tool that lets you replay recorded video through Frigate's detection and motion pipelines as if it were a live camera. This makes it dramatically easier to tune motion settings and object filters against real footage rather than waiting for live activity to reproduce an issue.
See the documentation.
Exports
Frigate 0.18 brings substantial improvements to exports, including fast multi-camera exporting from History, single-click exporting of multiple review items in Review, and more.
See the exports documentation.
Case Management
Exports can now be organized into named cases, making it much easier to manage exports related to a single incident or investigation.
Custom Exports
Frigate 0.18 provides a dedicated exports API that accepts arbitrary ffmpeg arguments, allowing for fully custom export pipelines (custom filters, encoders, output formats, and so on). A CPU fallback path is automatically used if hardware-accelerated encoding fails. For security, custom ffmpeg arguments are restricted for non-admin users and a number of dangerous flags (such as
-filter_complex,-vf, and-attach) are blocklisted to prevent arbitrary file reads via filter sources.In addition, exports now use Frigate's
Jobinfrastructure end-to-end, providing more reliable progress reporting and better cleanup of interrupted jobs. Per-camerarecord.export.hwaccel_argssettings cascade up through camera and global configuration, allowing per-camera tuning of export hardware acceleration. See the recording documentation for export configuration details.Other Improvements
There are many other improvements to highlight in this release.
Backend
detectionsoralertsbased on the event label, can run indefinitely until explicitly ended, and support a configurablepre_capturevalue when created.tracked_object_updateMQTT messages. Documentationfrigate/<camera>/<role>/statustopic and astoppedvalue on the LWT topic make it easier to monitor camera health and Frigate availability. Documentationnetworkingconfig section for advanced use cases. Documentation/api/recordingsendpoints for deleting recordings, syncing media (replacing the old scheduledsync_recordingscleanup), and pulling review clips by review item ID.X-Frame-Timeheader.Frontend
/config/media_sync. Documentationqmaxparameter for higher-quality previews athighandvery_highsettings.useSyncExternalStorefor finer-grained, per-topic subscriptions and significantly fewer unnecessary re-renders.This discussion was created from the release 0.18.0 Beta 2.
All reactions