[Bug]: Infinite loading when trying to access video of event for which there is no video recording #16570
-
Checklist
Describe the problem you are havingMy Frigate setup did not include continuous recording, but only motion-based recording record:
enabled: true
retain:
days: 1
mode: motionWhen creating an event in HA using However, in the event detail panel, the Video tab was accessible and, instead of telling me there's no available recording, it just loads forever. Steps to reproduce
Expected: a notice saying that "no video recording is available for this event" or, even better, a recording for that manually-generated event exists. Version0.15.0 In which browser(s) are you experiencing the issue with?No response Frigate config filemqtt:
host: homeassistant.home
port: 1883
topic_prefix: frigate
client_id: frigate
user: xxxxxxxxxxxxxxxxxxxxx
password: xxxxxxxxxxxxxxxxxxxxxx
detectors:
coral:
type: edgetpu
device: pci
detect:
width: 1280
height: 720
fps: 5
enabled: true
database:
path: /db/frigate.db
model:
path: plus://xxxxxxxxxxxxxxxxxxxxxxx
labelmap:
18: other_animal # horse
19: other_animal # sheep
20: other_animal # cow
21: other_animal # elephant
22: other_animal # bear
23: other_animal # zebra
24: other_animal # giraffe
objects:
filters:
person:
# min_area: 15000
# max_ratio: 0.85
min_score: 0.7
threshold: 0.8
car:
min_score: 0.75
threshold: 0.9
cat:
min_score: 0.8
threshold: 0.87
dog:
min_score: 0.8
threshold: 0.87
other_animal:
min_score: 0.8
threshold: 0.9
semantic_search:
enabled: True
reindex: False
genai:
enabled: False
provider: openai
api_key: "{FRIGATE_OPENAI_API_KEY}"
model: gpt-4o
record:
enabled: true
retain:
days: 1
mode: all
alerts:
pre_capture: 10
post_capture: 5
retain:
days: 30
mode: active_objects
detections:
pre_capture: 10
post_capture: 5
retain:
days: 10
mode: active_objects
snapshots:
enabled: true
retain:
default: 7
# Optional: birdseye configuration
# NOTE: Can (enabled, mode) be overridden at the camera level
birdseye:
# Optional: Enable birdseye view (default: shown below)
enabled: true
# Optional: Restream birdseye via RTSP (default: shown below)
# NOTE: Enabling this will set birdseye to run 24/7 which may increase CPU usage somewhat.
restream: false
# Optional: Width of the output resolution (default: shown below)
width: 1280
# Optional: Height of the output resolution (default: shown below)
height: 720
# Optional: Encoding quality of the mpeg1 feed (default: shown below)
# 1 is the highest quality, and 31 is the lowest. Lower quality feeds utilize less CPU resources.
quality: 8
# Optional: Mode of the view. Available options are: objects, motion, and continuous
# objects - cameras are included if they have had a tracked object within the last 30 seconds
# motion - cameras are included if motion was detected in the last 30 seconds
# continuous - all cameras are included always
mode: motion
timestamp_style:
position: tl
format: '%d.%m.%Y %H:%M:%S'
go2rtc:
streams:
parking:
- rtsp://{FRIGATE_CAMERA_1}/Streaming/Channels/1 # <- stream which supports video & aac audio. This is only supported for rtsp streams, http must use ffmpeg
parking_sub:
- rtsp://{FRIGATE_CAMERA_1}/Streaming/Channels/102 # <- stream which supports video & aac audio. This is only supported for rtsp streams, http must use ffmpeg
entrance:
- rtsp://{FRIGATE_CAMERA_2}/Streaming/Channels/1 # <- stream which supports video & aac audio. This is only supported for rtsp streams, http must use ffmpeg
entrance_sub:
- rtsp://{FRIGATE_CAMERA_2}/Streaming/Channels/102 # <- stream which supports video & aac audio. This is only supported for rtsp streams, http must use ffmpeg
backyard:
- rtsp://{FRIGATE_CAMERA_3}/Streaming/Channels/1 # <- stream which supports video & aac audio. This is only supported for rtsp streams, http must use ffmpeg
backyard_sub:
- rtsp://{FRIGATE_CAMERA_3}/Streaming/Channels/102 # <- stream which supports video & aac audio. This is only supported for rtsp streams, http must use ffmpeg
karlas_room:
- ffmpeg:rtsp://{FRIGATE_CAMERA_5}/Streaming/Channels/1#video=copy#audio=copy#audio=aac # <- stream which supports video & aac audio. This is only supported for rtsp streams, http must use ffmpeg
karlas_room_sub:
- ffmpeg:rtsp://{FRIGATE_CAMERA_5}/Streaming/Channels/102#video=copy#audio=copy#audio=aac # <- stream which supports video & aac audio. This is only supported for rtsp streams, http must use ffmpeg
frontyard:
- rtsp://{FRIGATE_CAMERA_6}/Streaming/Channels/1 # <- stream which supports video & aac audio. This is only supported for rtsp streams, http must use ffmpeg
frontyard_sub:
- rtsp://{FRIGATE_CAMERA_6}/Streaming/Channels/102 # <- stream which supports video & aac audio. This is only supported for rtsp streams, http must use ffmpeg
webrtc:
candidates:
- 172.25.0.2:8555
- 10.16.9.2:8555
- stun:8555
cameras:
parking: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/parking_sub
input_args: preset-rtsp-restream
roles:
- detect
- path: rtsp://127.0.0.1:8554/parking
input_args: preset-rtsp-restream
roles:
- record
detect:
width: 1280
height: 720
record:
enabled: true
snapshots:
enabled: true
objects:
track:
- person
- car
- bicycle
zones:
gate:
inertia: 5
coordinates: xxxxxxxxxxxxxxxx
objects:
- person
tudors_parking_spot:
inertia: 5
coordinates: xxxxxxxxxxxxxx
objects:
- person
- car
- bicycle
katis_parking_spot:
inertia: 5
coordinates: xxxxxxxxxxxxxxxx
objects:
- person
- car
- bicycle
genai:
use_snapshot: True
# prompt: "Analyze the {label} in these images from the {camera} security camera at the front door. Focus on the actions and potential intent of the {label}."
object_prompts:
person: "Examine the person in these images taken from a security camera mounted 2.5 meters above a couple of parking spaces. In the lower-right corner of the image is the gate to a frontyard. Regarding the person in the image, What are they doing, and how might their actions suggest their purpose (e.g., delivering something, approaching, leaving)? Summarize their outfit."
car: "Examine the cars in these images taken from a security camera mounted 2.5 meters above a couple of parking spaces. Describe their color. If possible, name their make and model."
objects:
- person
- car
entrance: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/entrance_sub
input_args: preset-rtsp-restream
roles:
- detect
- path: rtsp://127.0.0.1:8554/entrance
input_args: preset-rtsp-restream
roles:
- record
detect:
width: 1280
height: 720
record:
enabled: true
snapshots:
enabled: true
objects:
track:
- person
- bicycle
- cat
- dog
- other_animal
zones:
front_entrance:
inertia: 5
coordinates: xxxxxxxxxxxxxxxx
objects:
- person
- bicycle
- cat
- dog
- other_animal
gate:
inertia: 5
coordinates: xxxxxxxxxxxxxxxx
objects:
- person
- bicycle
- cat
- dog
- other_animal
lawn:
inertia: 10
coordinates: xxxxxxxxxxxxxxxx
objects:
- person
- bicycle
- cat
- dog
- other_animal
backyard: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/backyard_sub
input_args: preset-rtsp-restream
roles:
- detect
- path: rtsp://127.0.0.1:8554/backyard
input_args: preset-rtsp-restream
roles:
- record
detect:
width: 1280
height: 720
record:
enabled: true
snapshots:
enabled: true
objects:
track:
- person
- cat
- dog
- other_animal
karlas_room: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/karlas_room_sub
input_args: preset-rtsp-restream
roles:
- audio
- detect
- path: rtsp://127.0.0.1:8554/karlas_room
input_args: preset-rtsp-restream
roles:
- record
output_args:
record: preset-record-generic-audio-aac
onvif:
host: karlas-room.camera
port: 80
user: '{FRIGATE_KARLA_ONVIF_USERNAME}'
password: '{FRIGATE_KARLA_ONVIF_PASSWORD}'
audio:
enabled: true
listen:
- speech
- crying
- yell
- scream
- whispering
- snoring
detect:
width: 640
height: 360
record:
enabled: true
snapshots:
enabled: true
objects:
track:
- person
filters:
person:
min_area: 4000
max_ratio: 0.9
threshold: 0.75
frontyard: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/frontyard_sub
input_args: preset-rtsp-restream
roles:
- detect
- path: rtsp://127.0.0.1:8554/frontyard
input_args: preset-rtsp-restream
roles:
- record
detect:
width: 1280
height: 720
record:
enabled: true
snapshots:
enabled: true
motion:
mask:
- xxxxxxxxxxxxxxxx
objects:
track:
- person
- bicycle
- cat
- dog
- other_animal
filters:
person:
min_area: 4000
max_ratio: 0.9
threshold: 0.75
zones:
gate:
inertia: 5
coordinates: xxxxxxxxxxxxxxxx
objects:
- person
- bicycle
- cat
- dog
- other_animal
patio:
inertia: 5
coordinates: xxxxxxxxxxxxxxxx
objects:
- person
- cat
- dog
- other_animal
front_entrance:
inertia: 5
coordinates: xxxxxxxxxxxxxxxx
objects:
- person
- bicycle
- cat
- dog
- other_animal
lawn:
inertia: 10
coordinates: xxxxxxxxxxxxxxxx
objects:
- person
- bicycle
- cat
- dog
- other_animal
logger:
logs:
frigate.ptz.onvif: debug
version: 0.15-1docker-compose file or Docker CLI commandversion: "3.9"
services:
frigate:
container_name: frigate
image: ghcr.io/blakeblackshear/frigate:stable
restart: unless-stopped
shm_size: "224mb"
devices:
- /dev/apex_0:/dev/apex_0
volumes:
- /etc/localtime:/etc/localtime:ro
- /mnt/dev/container-apps/frigate/:/config/
- /mnt/recordings/cameras/frigate:/media/frigate
- /home/frigate/db:/db
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1500000000
ports:
- "5000:5000"
- "8554:8554" # RTSP feeds
- "8555:8555/tcp" # WebRTC over tcp
- "8555:8555/udp" # WebRTC over udp
environment:
LIBVA_DRIVER_NAME: i965 # https://github.com/blakeblackshear/frigate/issues/4131#issuecomment-1286328869
FRIGATE_RTSP_PASSWORD: "xxxxxxxxxxxxxxxxx"
FRIGATE_OPENAI_API_KEY: "xxxxxxxxxxxxxxxxx"
FRIGATE_CAMERA_1: "xxxxxxxxxxxxxxxxx"
FRIGATE_CAMERA_2: "xxxxxxxxxxxxxxxxx"
FRIGATE_CAMERA_3: "xxxxxxxxxxxxxxxxx"
FRIGATE_CAMERA_5: "xxxxxxxxxxxxxxxxx"
FRIGATE_CAMERA_6: "xxxxxxxxxxxxxxxxx"
PLUS_API_KEY: "xxxxxxxxxxxxxxxxx"
FRIGATE_KARLA_ONVIF_USERNAME: "xxxxxxxxxxxxxxxxx"
FRIGATE_KARLA_ONVIF_PASSWORD: "xxxxxxxxxxxxxxxxx"Relevant Frigate log outputsorry, I've lost those log entriesRelevant go2rtc log outputnoneOperating systemDebian Install methodDocker Compose Network connectionWired Camera make and modelnot relevant Screenshots of the Frigate UI's System metrics pagesnot relevant Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Your Frigate log actually indicates that there is no recording available, which is expected if you are creating a manual event and don't have recording enabled in a way that Frigate will retain it. Nonetheless, this is a duplicate of #16534 |
Beta Was this translation helpful? Give feedback.
-
|
Right! Sorry, i missed that. |
Beta Was this translation helpful? Give feedback.
-
|
Fixed in #16586 |
Beta Was this translation helpful? Give feedback.

Fixed in #16586