[Support]: History Playback Hanging in Firefox #22072
-
Describe the problem you are havingWhen playing back historical recordings by clicking on a camera feed and then clicking the "History" button, I regularly experience hanging playback in Firefox on Windows 11. This pretty much always occurs when playback starts on a new hour. For example, if I'm playing back video from 10:00am - 10:59am, the hang occurs when playback reaches 11:00am. When playback hangs, the video feed appears low resolution and a circular loading indicator appears over it. It never seems to finish buffering, however, as playback doesn't continue and the history view needs to be exited to resume normal function. Based on some quick testing, it seems this issue may only manifest when running playback speed at 16x, which is generally the speed I use in the history view, as I'll only use it to scan for any events of interest that object detection may have missed. My use case for that is when a neighbor reports an incident at an approximate date/time and I want to verify that I didn't capture anything relevant. I've tried out the 16x playback in Microsoft Edge and it works flawlessly, but I'd like to figure out how to get it functioning properly in Firefox, as that's generally the only browser I use. Version0.17.0-4dcd296 What browser(s) are you using?Firefox 147.0.4 Frigate config filemqtt:
host: ***
user: ***
password: ***
database:
path: /db/frigate.db
model:
path: plus://c7b38453956cda87076baba4aca213e6
auth:
# cookie_secure: true
session_length: 604800
refresh_time: 518400
tls:
enabled: false
semantic_search:
enabled: true
reindex: false
model_size: small
lpr:
enabled: true
device: CPU
min_area: 1500
match_distance: 1
debug_save_plates: true
known_plates:
***:
- "***"
***:
- "***"
***:
- "***"
cameras:
front_door:
lpr:
enabled: false
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/front_door
roles:
- record
- detect
input_args: preset-rtsp-restream
output_args:
record: preset-record-generic-audio-copy
detect:
height: 960
width: 1280
fps: 5
annotation_offset: -1250
zones:
front_yard:
coordinates:
0,1,1,1,1,0.599,0.921,0.593,0.748,0.599,0.562,0.608,0.345,0.608,0.131,0.593,0,0.609
inertia: 3
loitering_time: 0
motion:
mask:
- 0.23,0,0.23,0.03,0.128,0.03,0.128,0
- 0,0.249,0.153,0.152,0.309,0.087,0.415,0.067,0.396,0.443,0.321,0.394,0.266,0.446,0.263,0.477,0.155,0.477,0.123,0.455,0.066,0.462,0,0.456
- 0.496,0.44,0.495,0.052,0.66,0.067,0.767,0.097,0.849,0.125,0.878,0.256,0.893,0.389,0.896,0.446,0.794,0.454,0.72,0.455,0.653,0.455,0.594,0.455,0.545,0.461
- 0.966,0.415,0.947,0.262,0.922,0.152,0.906,0.095,0.878,0,1,0,1,0.41
threshold: 30
contour_area: 10
improve_contrast: 'true'
objects:
filters:
person:
mask:
- 0.236,0.562,0.261,0.563,0.26,0.554,0.236,0.554
# - 0.305,0.559,0.364,0.559,0.364,0.541,0.305,0.54
car:
mask:
- 0.164,0.556,0.26,0.564,0.371,0.567,0.371,0.496,0.238,0.497
- 0.587,0.631,0.697,0.596,1,0.572,1,1,0.617,1
review:
alerts:
labels:
- person
required_zones:
- front_yard
detections:
labels:
- dog
- cat
- bird
- squirrel
- rabbit
- deer
- bicycle
- motorcycle
- boat
- package
- waste_bin
- robot_lawnmower
driveway:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/driveway
roles:
- record
- detect
input_args: preset-rtsp-restream
output_args:
record: preset-record-generic-audio-copy
detect:
height: 1080
width: 1920
fps: 5
annotation_offset: -1250
motion:
mask:
- 0.71,0,0.71,0.05,1,0.05,1,0
- 0.815,0.066,0.914,0.111,1,0.179,1,0.038,0.762,0.042
- 0,0,0,0.151,0.034,0.154,0.062,0.114,0.066,0.076,0.162,0.038,0.162,0
threshold: 50
contour_area: 10
improve_contrast: true
live:
streams:
Main Stream: driveway
Sub Stream: driveway_sub
objects:
filters:
car:
mask: 0.064,0.201,0.159,0.159,0.248,0.128,0.216,0.061,0.102,0.125
zones:
front_yard:
coordinates:
0.051,0.279,0.163,0.235,0.27,0.212,0.378,0.193,0.505,0.184,0.632,0.191,0.754,0.211,0.893,0.253,1,0.398,1,1,0,1,0,0.33
loitering_time: 0
inertia: 3
review:
alerts:
labels:
- person
required_zones:
- front_yard
record:
enabled: true
alerts:
retain:
days: 30
detections:
retain:
days: 30
continuous:
days: 0
motion:
days: 30
snapshots:
enabled: true
retain:
default: 30
objects:
track:
- person
- face
- car
- dog
- cat
- bird
- squirrel
- rabbit
- deer
- bicycle
- motorcycle
- boat
- license_plate
- amazon
- ups
- fedex
- usps
- dhl
- package
- waste_bin
- robot_lawnmower
- school_bus
filters:
face:
min_score: .7
license_plate:
min_score: .7
min_area: 1000
amazon:
min_score: .75
ups:
min_score: .75
fedex:
min_score: .75
car:
min_score: .65
threshold: .8
waste_bin:
min_score: .6
threshold: .8
ffmpeg:
hwaccel_args: preset-vaapi
detectors:
coral:
type: edgetpu
device: pci:0
timestamp_style:
position: tl
format: '%m/%d/%Y %H:%M:%S'
color:
red: 255
green: 255
blue: 255
thickness: 1
effect: solid
go2rtc:
streams:
front_door:
- rtsp://***:***@192.168.1.30:554/cam/realmonitor?channel=1&subtype=0&authbasic=64#backchannel=0
- ffmpeg:front_door#audio=opus
driveway:
- rtsp://***:***@192.168.1.31:554/cam/realmonitor?channel=1&subtype=0&authbasic=64
- ffmpeg:driveway#audio=opus
driveway_sub:
- rtsp://***:***@192.168.1.31:554/cam/realmonitor?channel=1&subtype=1&authbasic=64
webrtc:
candidates:
- 192.168.1.99:8555
- stun:8555
version: 0.17-0
camera_groups:
Stack:
order: 1
icon: LuZoomIn
cameras:
- front_door
- driveway
detect:
enabled: trueRelevant Frigate log outputNo relevant logs generatedRelevant go2rtc log outputNo relevant logs generatedFFprobe output from your camera[{"return_code":0,"stderr":[],"stdout":{"programs":[],"stream_groups":[],"streams":[{"codec_long_name":"AAC (Advanced Audio Coding)","avg_frame_rate":"0/0"},{"codec_long_name":"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10","width":2960,"height":1668,"avg_frame_rate":"20/1"}]}}]Frigate statsNo response Install methodDocker CLI docker-compose file or Docker CLI commanddocker run
-d
--name='frigate'
--net='bridge'
--pids-limit 2048
-e TZ="America/New_York"
-e HOST_OS="Unraid"
-e HOST_HOSTNAME="Tower"
-e HOST_CONTAINERNAME="frigate"
-e 'FRIGATE_RTSP_PASSWORD'='***'
-e 'PLUS_API_KEY'='***'
-e 'LIBVA_DRVIER_NAME'='i965'
-l net.unraid.docker.managed=dockerman
-l net.unraid.docker.webui='http://[IP]:[PORT:5000]'
-l net.unraid.docker.icon='https://raw.githubusercontent.com/yayitazale/unraid-templates/main/frigate.png'
-p '5000:5000/tcp'
-p '8554:8554/tcp'
-p '8555:8555/tcp'
-p '8555:8555/udp'
-p '1984:1984/tcp'
-p '8971:8971/tcp'
-v '/mnt/user/appdata/frigate':'/config':'rw,slave'
-v '/mnt/disks/Surveillance/frigate':'/media/frigate':'rw,slave'
-v '/mnt/user/frigatedb':'/db':'rw,slave'
-v '/etc/localtime':'/etc/localtime':'rw'
--device='/dev/apex_0'
--device='/dev/dri/renderD128'
--shm-size=256mb
--mount type=tmpfs,target=/tmp/cache,tmpfs-size=1000000000
--restart unless-stopped
--cap-add=CAP_PERFMON 'ghcr.io/blakeblackshear/frigate:0.17.0-rc2'Object DetectorCoral Network connectionWired Camera make and modelAmcrest POE Turret/AD410 Doorbell Screenshots of the Frigate UI's System metrics pagesNo response Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Based on the available documentation, Firefox's behavior with playback buffering at hour boundaries during 16x speed playback isn't directly addressed in the official Frigate documentation. However, there are several relevant considerations: Firefox has specific codec and streaming technology requirements. Firefox supports h.264 only for MSE (Media Source Extensions) streaming(1), and the MSE live view technology requires specific audio codecs - either PCMA/PCMU or AAC(1). Your configuration shows you're using AAC audio with the Some browser-specific playback issues have been reported. A GitHub issue describes Firefox working better than Chrome for certain camera streams(3), but this was related to live view rather than historical playback at high speeds. Since Edge works flawlessly at 16x speed but Firefox hangs at hour boundaries, this suggests a browser-specific handling of HLS segments or MSE buffering. The documentation notes that Frigate made HLS optimizations to improve playback startup times(4), but high-speed playback at segment boundaries may still present challenges in Firefox's implementation. Potential troubleshooting steps:
Unfortunately, the available documentation doesn't provide a specific Firefox configuration fix for this scenario. You may want to report this as a browser-specific playback issue on the Frigate GitHub repository. 📚 Sources:
Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
Frigate doesn't have any specific handling for playback speed other than using the browser's native feature, so if your issue manifests specifically on Firefox at 16x speed, then the issue is not with Frigate but rather something within Firefox's rendering engine. |
Beta Was this translation helpful? Give feedback.
Frigate doesn't have any specific handling for playback speed other than using the browser's native feature, so if your issue manifests specifically on Firefox at 16x speed, then the issue is not with Frigate but rather something within Firefox's rendering engine.