Skip to content

NVR with realtime local object detection for IP cameras

Fixes (#18751)

Nicolas Mowen02f75d3b1fbd
diff --git a/frigate/util/services.py b/frigate/util/services.py
index b9d65ce2f3..137e3aa202 100644
--- a/frigate/util/services.py
+++ b/frigate/util/services.py
@@ -306,11 +306,14 @@ def get_intel_gpu_stats(sriov: bool) -> Optional[dict[str, str]]:
if sriov:
intel_gpu_top_command += ["-d", "sriov"]
- p = sp.run(
- intel_gpu_top_command,
- encoding="ascii",
- capture_output=True,
- )
+ try:
+ p = sp.run(
+ intel_gpu_top_command,
+ encoding="ascii",
+ capture_output=True,
+ )
+ except UnicodeDecodeError:
+ return None
# timeout has a non-zero returncode when timeout is reached
if p.returncode != 124:
diff --git a/web/src/lib/const.ts b/web/src/lib/const.ts
index 44bedc9c32..36103f77cf 100644
--- a/web/src/lib/const.ts
+++ b/web/src/lib/const.ts
@@ -10,6 +10,7 @@ export const supportedLanguageKeys = [
"nb-NO",
"zh-CN",
"yue-Hant",
+ "vi",
"th",
"he",
"ru",