[Support]: Recordings don't play (but preview is working when hoover mause on it) #14721
-
Describe the problem you are havingHello I have strange problem when I try to "review" my detections its never ending loading like in screen (what more I think its using wrong stream to record it cause its not live stream): Im using https://www.bee-link.com/products/beelink-gti14-ultra9-185h with coral on USB Version0.14.1-f4f3cfa What browser(s) are you using?Firefox / Chrome Frigate config filemqtt:
enabled: false
detectors:
coral:
type: edgetpu
device: usb
cameras:
# garaz: # <------ Name the camera
# enabled: true
# ffmpeg:
# hwaccel_args: preset-vaapi
# inputs:
# - path: rtsp://192.168.1.2:554
# roles:
# - detect
# detect:
# enabled: true
przod-srodek:
ffmpeg:
hwaccel_args: preset-vaapi
inputs:
- path: rtsp://xxx:[email protected]:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif
roles:
- detect
- path: rtsp://xxx:[email protected]:554 # High quality stream
roles:
- record
przod-lewa:
ffmpeg:
hwaccel_args: preset-vaapi
inputs:
- path: rtsp://xxx:[email protected]:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif
roles:
- detect
- path: rtsp://xxx:[email protected]:554 # High quality stream
roles:
- record
detect:
enabled: true
objects:
track:
- person
- car
- bicycle
- bus
review:
alerts:
labels:
- car
- person
- bicycle
- bus
detections:
labels:
- car
- person
- bicycle
- bus
record:
enabled: true
expire_interval: 60
retain:
# Optional: Number of days to retain recordings regardless of events (default: shown below)
# NOTE: This should be set to 0 and retention should be defined in events section below
# if you only want to retain recordings of events.
days: 2
# Optional: Mode for retention. Available options are: all, motion, and active_objects
# all - save all recording segments regardless of activity
# motion - save all recordings segments with any detected motion
# active_objects - save all recording segments with active/moving objects
# NOTE: this mode only applies when the days setting above is greater than 0
mode: all
preview:
# Optional: Quality of recording preview (default: shown below).
# Options are: very_low, low, medium, high, very_high
quality: medium
events:
pre_capture: 10
post_capture: 30
objects:
- car
- person
- bicycle
- bus
retain:
default: 10
mode: motion
snapshots:
enabled: true
clean_copy: true
bounding_box: true
quality: 70
motion:
enabled: true
version: 0.14 Relevant Frigate log output2024-11-01 14:02:46.047772216 [INFO] Preparing Frigate...
2024-11-01 14:02:46.054064492 [INFO] Starting Frigate...
2024-11-01 14:02:46.864628296 [2024-11-01 14:02:46] frigate.app INFO : Starting Frigate (0.14.1-f4f3cfa)
2024-11-01 14:02:46.864645659 [2024-11-01 14:02:46] frigate.app INFO : Creating directory: /media/frigate/recordings
2024-11-01 14:02:46.864668290 [2024-11-01 14:02:46] frigate.app INFO : Creating directory: /media/frigate/clips/cache
2024-11-01 14:02:46.864684741 [2024-11-01 14:02:46] frigate.app INFO : Creating directory: /media/frigate/exports
2024-11-01 14:02:46.864712126 [2024-11-01 14:02:46] frigate.util.config INFO : Checking if frigate config needs migration...
2024-11-01 14:02:46.873624721 [2024-11-01 14:02:46] frigate.util.config INFO : frigate config does not need migration...
2024-11-01 14:02:47.029412872 [2024-11-01 14:02:47] frigate.util.services INFO : Automatically detected vaapi hwaccel for video decoding
2024-11-01 14:02:50.357104328 [2024-11-01 14:02:50] peewee_migrate.logs INFO : Starting migrations
2024-11-01 14:02:50.357243233 [2024-11-01 14:02:50] peewee_migrate.logs INFO : There is nothing to migrate
2024-11-01 14:02:50.373313620 [2024-11-01 14:02:50] frigate.app INFO : Recording process started: 628
2024-11-01 14:02:50.373319136 [2024-11-01 14:02:50] frigate.app INFO : Recording process started: 637
2024-11-01 14:02:50.374292792 [2024-11-01 14:02:50] frigate.app INFO : go2rtc process pid: 98
2024-11-01 14:02:50.386998450 [2024-11-01 14:02:50] detector.coral INFO : Starting detection process: 656
2024-11-01 14:02:53.206690439 [2024-11-01 14:02:50] frigate.app INFO : Output process started: 658
2024-11-01 14:02:53.206838593 [2024-11-01 14:02:50] frigate.app INFO : Camera processor started for przod-srodek: 681
2024-11-01 14:02:53.206841724 [2024-11-01 14:02:50] frigate.app INFO : Camera processor started for przod-lewa: 684
2024-11-01 14:02:53.206843070 [2024-11-01 14:02:50] frigate.app INFO : Capture process started for przod-srodek: 694
2024-11-01 14:02:53.206865177 [2024-11-01 14:02:50] frigate.app INFO : Capture process started for przod-lewa: 705
2024-11-01 14:02:53.207258989 [2024-11-01 14:02:52] frigate.api.media ERROR : b'/media/frigate/clips/previews/przod-lewa/1730466054.385061-1730469600.020909.mp4: No such file or directory\n'
2024-11-01 14:02:53.211299393 [2024-11-01 14:02:50] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
2024-11-01 14:02:53.211483617 [2024-11-01 14:02:53] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found Relevant go2rtc log output2024-11-01 14:02:46.047772216 [INFO] Preparing Frigate...
2024-11-01 14:02:46.054064492 [INFO] Starting Frigate...
2024-11-01 14:02:46.864628296 [2024-11-01 14:02:46] frigate.app INFO : Starting Frigate (0.14.1-f4f3cfa)
2024-11-01 14:02:46.864645659 [2024-11-01 14:02:46] frigate.app INFO : Creating directory: /media/frigate/recordings
2024-11-01 14:02:46.864668290 [2024-11-01 14:02:46] frigate.app INFO : Creating directory: /media/frigate/clips/cache
2024-11-01 14:02:46.864684741 [2024-11-01 14:02:46] frigate.app INFO : Creating directory: /media/frigate/exports
2024-11-01 14:02:46.864712126 [2024-11-01 14:02:46] frigate.util.config INFO : Checking if frigate config needs migration...
2024-11-01 14:02:46.873624721 [2024-11-01 14:02:46] frigate.util.config INFO : frigate config does not need migration...
2024-11-01 14:02:47.029412872 [2024-11-01 14:02:47] frigate.util.services INFO : Automatically detected vaapi hwaccel for video decoding
2024-11-01 14:02:50.357104328 [2024-11-01 14:02:50] peewee_migrate.logs INFO : Starting migrations
2024-11-01 14:02:50.357243233 [2024-11-01 14:02:50] peewee_migrate.logs INFO : There is nothing to migrate
2024-11-01 14:02:50.373313620 [2024-11-01 14:02:50] frigate.app INFO : Recording process started: 628
2024-11-01 14:02:50.373319136 [2024-11-01 14:02:50] frigate.app INFO : Recording process started: 637
2024-11-01 14:02:50.374292792 [2024-11-01 14:02:50] frigate.app INFO : go2rtc process pid: 98
2024-11-01 14:02:50.386998450 [2024-11-01 14:02:50] detector.coral INFO : Starting detection process: 656
2024-11-01 14:02:53.206690439 [2024-11-01 14:02:50] frigate.app INFO : Output process started: 658
2024-11-01 14:02:53.206838593 [2024-11-01 14:02:50] frigate.app INFO : Camera processor started for przod-srodek: 681
2024-11-01 14:02:53.206841724 [2024-11-01 14:02:50] frigate.app INFO : Camera processor started for przod-lewa: 684
2024-11-01 14:02:53.206843070 [2024-11-01 14:02:50] frigate.app INFO : Capture process started for przod-srodek: 694
2024-11-01 14:02:53.206865177 [2024-11-01 14:02:50] frigate.app INFO : Capture process started for przod-lewa: 705
2024-11-01 14:02:53.207258989 [2024-11-01 14:02:52] frigate.api.media ERROR : b'/media/frigate/clips/previews/przod-lewa/1730466054.385061-1730469600.020909.mp4: No such file or directory\n'
2024-11-01 14:02:53.211299393 [2024-11-01 14:02:50] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
2024-11-01 14:02:53.211483617 [2024-11-01 14:02:53] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found FFprobe output from your cameraNo need Frigate stats{"cameras":{"przod-lewa":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.0,"capture_pid":705,"detection_enabled":true,"detection_fps":4.4,"ffmpeg_pid":719,"pid":684,"process_fps":5.0,"skipped_fps":0.0},"przod-srodek":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.1,"capture_pid":694,"detection_enabled":true,"detection_fps":4.8,"ffmpeg_pid":718,"pid":681,"process_fps":5.1,"skipped_fps":0.0}},"cpu_usages":{"1":{"cmdline":"/package/admin/s6/command/s6-svscan -d4 -- /run/service","cpu":"0.0","cpu_average":"0","mem":"0.0"},"106":{"cmdline":"bash ./run.user go2rtc-healthcheck","cpu":"0.0","cpu_average":"0","mem":"0.0"},"107":{"cmdline":"python3 -u -m frigate","cpu":"1.0","cpu_average":"2","mem":"0.9"},"1077":{"cmdline":"/usr/bin/python3 -c from multiprocessing.resource_tracker import main;main(48)","cpu":"0.0","cpu_average":"0","mem":"0.0"},"119":{"cmdline":"nginx: master process nginx","cpu":"0.0","cpu_average":"0","mem":"0.0"},"15":{"cmdline":"s6-supervise s6-linux-init-shutdownd","cpu":"0.0","cpu_average":"0","mem":"0.0"},"158":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"159":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"16":{"cmdline":"/package/admin/s6-linux-init/command/s6-linux-init-shutdownd -c /run/s6/basedir -g 3000 -C -B","cpu":"0.0","cpu_average":"0","mem":"0.0"},"160":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"161":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"162":{"cmdline":"nginx: cache manager process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"2149":{"cmdline":"sleep 60","cpu":"0.0","cpu_average":"0","mem":"0.0"},"2388":{"cmdline":"sleep 30s","cpu":"0.0","cpu_average":"0","mem":"0.0"},"24":{"cmdline":"s6-supervise s6rc-oneshot-runner","cpu":"0.0","cpu_average":"0","mem":"0.0"},"25":{"cmdline":"s6-supervise go2rtc","cpu":"0.0","cpu_average":"0","mem":"0.0"},"26":{"cmdline":"s6-supervise nginx-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"27":{"cmdline":"s6-supervise frigate-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"28":{"cmdline":"s6-supervise certsync-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"29":{"cmdline":"s6-supervise go2rtc-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"296":{"cmdline":"bash ./run.user certsync","cpu":"0.0","cpu_average":"0","mem":"0.0"},"30":{"cmdline":"s6-supervise certsync","cpu":"0.0","cpu_average":"0","mem":"0.0"},"31":{"cmdline":"s6-supervise frigate","cpu":"0.0","cpu_average":"0","mem":"0.0"},"32":{"cmdline":"s6-supervise go2rtc-healthcheck","cpu":"0.0","cpu_average":"0","mem":"0.0"},"33":{"cmdline":"s6-supervise s6rc-fdholder","cpu":"0.0","cpu_average":"0","mem":"0.0"},"34":{"cmdline":"s6-supervise nginx","cpu":"0.0","cpu_average":"0","mem":"0.0"},"391":{"cmdline":"frigate.logger ","cpu":"0.0","cpu_average":"0","mem":"0.4"},"45":{"cmdline":"/package/admin/s6-2.11.3.2/command/s6-fdholderd -1 -i data/rules","cpu":"0.0","cpu_average":"0","mem":"0.0"},"46":{"cmdline":"/package/admin/s6/command/s6-ipcserverd -1 -- /package/admin/s6/command/s6-ipcserver-access -v0 -E -l0 -i data/rules -- /package/admin/s6/command/s6-sudod -t 30000 -- /package/admin/s6-rc/command/s6-rc-oneshot-run -l ../.. --","cpu":"0.0","cpu_average":"0","mem":"0.0"},"628":{"cmdline":"frigate.recording_manager","cpu":"0.5","cpu_average":"0","mem":"0.5"},"637":{"cmdline":"frigate.review_segment_manager","cpu":"0.1","cpu_average":"0","mem":"0.4"},"655":{"cmdline":"/usr/bin/python3 -c from multiprocessing.resource_tracker import main;main(56)","cpu":"0.1","cpu_average":"0","mem":"0.0"},"656":{"cmdline":"frigate.detector.coral","cpu":"2.6","cpu_average":"3","mem":"0.5"},"658":{"cmdline":"frigate.output ","cpu":"1.2","cpu_average":"1","mem":"0.4"},"666":{"cmdline":"ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 704x576 -i pipe: -threads 1 -f mpegts -s 880x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.1"},"680":{"cmdline":"ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 704x576 -i pipe: -threads 1 -f mpegts -s 880x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.1"},"681":{"cmdline":"frigate.process:przod-srodek","cpu":"3.7","cpu_average":"4","mem":"0.5"},"684":{"cmdline":"frigate.process:przod-lewa","cpu":"3.7","cpu_average":"3","mem":"0.4"},"694":{"cmdline":"frigate.capture:przod-srodek","cpu":"0.5","cpu_average":"0","mem":"0.4"},"695":{"cmdline":"ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.1"},"705":{"cmdline":"frigate.capture:przod-lewa","cpu":"0.5","cpu_average":"0","mem":"0.4"},"718":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.1-f4f3cfa -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://*:*@192.168.1.6:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif -r 5 -vf fps=5,scale_vaapi=w=704:h=576:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"1.5","cpu_average":"1","mem":"0.1"},"719":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.1-f4f3cfa -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://*:*@192.168.1.4:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif -r 5 -vf fps=5,scale_vaapi=w=704:h=576:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"1.4","cpu_average":"1","mem":"0.1"},"724":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.1-f4f3cfa -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://*:*@192.168.1.6:554 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/przod-srodek@%Y%m%d%H%M%S%z.mp4","cpu":"0.5","cpu_average":"0","mem":"0.1"},"725":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.1-f4f3cfa -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://*:*@192.168.1.4:554 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/przod-lewa@%Y%m%d%H%M%S%z.mp4","cpu":"0.3","cpu_average":"0","mem":"0.1"},"86":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx","cpu":"0.0","cpu_average":"0","mem":"0.0"},"87":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc","cpu":"0.0","cpu_average":"0","mem":"0.0"},"88":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate","cpu":"0.0","cpu_average":"0","mem":"0.0"},"90":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/certsync","cpu":"0.0","cpu_average":"0","mem":"0.0"},"98":{"cmdline":"/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml","cpu":"0.0","cpu_average":"0","mem":"0.0"},"frigate.full_system":{"cpu":"6.8","mem":"19.3"}},"detection_fps":9.2,"detectors":{"coral":{"detection_start":0.0,"inference_speed":9.39,"pid":656}},"gpu_usages":{"intel-vaapi":{"gpu":"16.38%","mem":"-%"}},"processes":{"go2rtc":{"pid":98},"logger":{"pid":391},"recording":{"pid":628},"review_segment":{"pid":637}},"service":{"last_updated":1730470060,"latest_version":"0.14.1","storage":{"/dev/shm":{"free":1020.9,"mount_type":"tmpfs","total":1024.0,"used":3.1},"/media/frigate/clips":{"free":869832.5,"mount_type":"ext4","total":936737.1,"used":19249.0},"/media/frigate/recordings":{"free":869832.5,"mount_type":"ext4","total":936737.1,"used":19249.0},"/tmp/cache":{"free":948.2,"mount_type":"tmpfs","total":953.7,"used":5.5}},"temperatures":{},"uptime":290,"version":"0.14.1-f4f3cfa"}} Install methodDocker Compose docker-compose file or Docker CLI commandversion: "3.9"
services:
frigate:
privileged: true
container_name: frigate
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:stable
shm_size: "1024mb"
volumes:
- ./config:/config
- ./storage:/media/frigate
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "8971:8971"
- "8554:8554" # RTSP feeds Object DetectorCoral Network connectionWired Camera make and modelBCS Screenshots of the Frigate UI's System metrics pagesAny other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
We will need to see the browser tools network tab when trying to view the video |
Beta Was this translation helpful? Give feedback.
-
Same problem here. Below is the network traffic log when I load the detail page. The websocket closed error shown at the bottom might well be the cause... |
Beta Was this translation helpful? Give feedback.
Closing this one as it was remote desktop issue. When I connected to frigate without RD by local address it works like a charm