[Camera Support]: High Res History isn't loading in Firefox or Edge, but it does load in Chrome. #13396
-
Checklist
Describe the problem you are havingI have a Reolink Trackmix camera with both a high res (4K) and a low res stream. I use the low res stream for detection and the high res for recording. But the funny thing is, it only keeps on loading in both firefox and edge. When I tried chrome it just loads properly as it should. Tried it on both my pc and my phone and got the same results. Steps to reproduce
Version0.14.0-da913d8 In which browser(s) are you experiencing the issue with?Chrome 128.0.6613.85 (Officiële build) (64-bits) (WORKS) | Firefox 129.0.2 (64-bit) (DOES NOT WORK) | Edge Version 128.0.2739.42 (Official build) (64-bit) ( DOES NOT WORK) Frigate config filemqtt:
enabled: false
ffmpeg:
hwaccel_args: preset-nvidia-h264
detectors:
tensorrt:
type: tensorrt
model:
path: /config/model_cache/tensorrt/yolov7-320.trt
input_tensor: nchw
input_pixel_format: rgb
width: 320
height: 320
detect:
enabled: true
record:
enabled: true
retain:
days: 3
mode: all
events:
retain:
default: 30
mode: motion
review:
alerts:
labels:
- person
- car
- truck
- bicycle
snapshots:
enabled: true
timestamp: true
bounding_box: true
crop: false
retain:
default: 7
objects:
# Optional: list of objects to track from labelmap.txt (default: shown below)
track:
- person
- bicycle
- car
- motorcycle
- bird
- cat
- dog
- horse
cameras:
Trust_Camera:
enabled: true
ffmpeg:
inputs:
- path: rtsp://x:x@x/videoMain
roles:
- detect
- record
Deurbel:
enabled: true
ffmpeg:
inputs:
- path: rtsp://x:x@x4/Streaming/Channels/101
roles:
- detect
- record
Reolink_TrackMix:
enabled: true
ffmpeg:
inputs:
- path: rtsp://x:x@x/Preview_01_sub
roles:
- detect
- path: rtsp://x:x@x4/Preview_01_main
roles:
- record
version: 0.14 docker-compose file or Docker CLI commandservices:
frigate:
container_name: frigate
privileged: true
restart: always
image:: ghcr.io/blakeblackshear/frigate::stable-tensorrt
deploy::
resources:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
shm_size: "264mb"
devices::
- /dev/dri/renderD128:/dev/dri/renderD128
volumes:
- /etc/localtime:/etc/localtime:ro
- /home/melchior/frigate/config.yml:/config/config.yml
- /home/melchior/Cams:/media/frigate
- type: tmpfs
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "8971:8971"
- "5000:5000"
- "8554:8554"
- "8555:8555/tcp"
- "8555:8555/udp"
environment:
FRIGATE_RTSP_PASSWORD: "X" Relevant Frigate log output2024-08-28 12:01:24.106373940 [INFO] Preparing Frigate...
2024-08-28 12:01:24.115094205 [INFO] Starting Frigate...
2024-08-28 12:01:25.831101836 [2024-08-28 12:01:25] frigate.app INFO : Starting Frigate (0.14.0-da913d8)
2024-08-28 12:01:25.831194027 [2024-08-28 12:01:25] frigate.util.config INFO : Checking if frigate config needs migration...
2024-08-28 12:01:25.831273647 [2024-08-28 12:01:25] frigate.util.config ERROR : Config file is read-only, unable to migrate config file.
2024-08-28 12:01:25.920784302 [h264 @ 0x44819c0] non-existing PPS 0 referenced
2024-08-28 12:01:25.921486983 [h264 @ 0x44819c0] non-existing PPS 0 referenced
2024-08-28 12:01:25.921492151 [h264 @ 0x44819c0] decode_slice_header error
2024-08-28 12:01:25.921498507 [h264 @ 0x44819c0] no frame!
2024-08-28 12:01:25.971471313 [h264 @ 0x44819c0] non-existing PPS 0 referenced
2024-08-28 12:01:25.971515174 [h264 @ 0x44819c0] non-existing PPS 0 referenced
2024-08-28 12:01:25.971522438 [h264 @ 0x44819c0] decode_slice_header error
2024-08-28 12:01:25.971528793 [h264 @ 0x44819c0] no frame!
2024-08-28 12:01:26.010556865 [h264 @ 0x44819c0] non-existing PPS 0 referenced
2024-08-28 12:01:26.010603310 [h264 @ 0x44819c0] non-existing PPS 0 referenced
2024-08-28 12:01:26.010611272 [h264 @ 0x44819c0] decode_slice_header error
2024-08-28 12:01:26.010618466 [h264 @ 0x44819c0] no frame!
2024-08-28 12:01:26.047250119 [h264 @ 0x44819c0] non-existing PPS 0 referenced
2024-08-28 12:01:26.047274773 [h264 @ 0x44819c0] non-existing PPS 0 referenced
2024-08-28 12:01:26.047279522 [h264 @ 0x44819c0] decode_slice_header error
2024-08-28 12:01:26.047282805 [h264 @ 0x44819c0] no frame!
2024-08-28 12:01:26.088670559 [h264 @ 0x44819c0] non-existing PPS 0 referenced
2024-08-28 12:01:26.088716446 [h264 @ 0x44819c0] non-existing PPS 0 referenced
2024-08-28 12:01:26.088724198 [h264 @ 0x44819c0] decode_slice_header error
2024-08-28 12:01:26.088730973 [h264 @ 0x44819c0] no frame!
2024-08-28 12:01:26.123047223 [h264 @ 0x44819c0] non-existing PPS 0 referenced
2024-08-28 12:01:26.123093109 [h264 @ 0x44819c0] non-existing PPS 0 referenced
2024-08-28 12:01:26.123101839 [h264 @ 0x44819c0] decode_slice_header error
2024-08-28 12:01:26.123108404 [h264 @ 0x44819c0] no frame!
2024-08-28 12:01:26.212419311 [h264 @ 0x44819c0] non-existing PPS 0 referenced
2024-08-28 12:01:26.212524004 [h264 @ 0x44819c0] non-existing PPS 0 referenced
2024-08-28 12:01:26.212536436 [h264 @ 0x44819c0] decode_slice_header error
2024-08-28 12:01:26.212584278 [h264 @ 0x44819c0] no frame!
2024-08-28 12:01:33.213131926 [2024-08-28 12:01:33] peewee_migrate.logs INFO : Starting migrations
2024-08-28 12:01:33.214041618 [2024-08-28 12:01:33] peewee_migrate.logs INFO : There is nothing to migrate
2024-08-28 12:01:33.224958485 [2024-08-28 12:01:33] frigate.app INFO : Recording process started: 391
2024-08-28 12:01:33.230520424 [2024-08-28 12:01:33] frigate.app INFO : Recording process started: 400
2024-08-28 12:01:33.233297413 [2024-08-28 12:01:33] frigate.app INFO : go2rtc process pid: 105
2024-08-28 12:01:33.257930276 [2024-08-28 12:01:33] frigate.app INFO : Output process started: 421
2024-08-28 12:01:33.268299162 [2024-08-28 12:01:33] detector.tensorrt INFO : Starting detection process: 419
2024-08-28 12:01:33.359270214 [2024-08-28 12:01:33] frigate.app INFO : Camera processor started for Trust_Camera: 437
2024-08-28 12:01:33.359424984 [2024-08-28 12:01:33] frigate.app INFO : Camera processor started for Deurbel: 448
2024-08-28 12:01:33.359604129 [2024-08-28 12:01:33] frigate.app INFO : Camera processor started for Reolink_TrackMix: 452
2024-08-28 12:01:33.359702676 [2024-08-28 12:01:33] frigate.app INFO : Capture process started for Trust_Camera: 461
2024-08-28 12:01:33.359793052 [2024-08-28 12:01:33] frigate.app INFO : Capture process started for Deurbel: 469
2024-08-28 12:01:33.359878748 [2024-08-28 12:01:33] frigate.app INFO : Capture process started for Reolink_TrackMix: 477
2024-08-28 12:01:33.408966236 [2024-08-28 12:01:33] frigate.detectors.plugins.tensorrt INFO : Loaded engine size: 160 MiB
2024-08-28 12:01:33.555712220 [2024-08-28 12:01:33] frigate.detectors.plugins.tensorrt INFO : [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +6, GPU +8, now: CPU 299, GPU 349 (MiB)
2024-08-28 12:01:33.560260822 [2024-08-28 12:01:33] frigate.detectors.plugins.tensorrt INFO : [MemUsageChange] Init cuDNN: CPU +2, GPU +10, now: CPU 301, GPU 359 (MiB)
2024-08-28 12:01:33.568405868 [2024-08-28 12:01:33] frigate.detectors.plugins.tensorrt INFO : [MemUsageChange] TensorRT-managed allocation in engine deserialization: CPU +0, GPU +160, now: CPU 0, GPU 160 (MiB)
2024-08-28 12:01:33.568499177 [2024-08-28 12:01:33] frigate.detectors.plugins.tensorrt INFO : [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +0, GPU +8, now: CPU 141, GPU 351 (MiB)
2024-08-28 12:01:33.568609807 [2024-08-28 12:01:33] frigate.detectors.plugins.tensorrt INFO : [MemUsageChange] Init cuDNN: CPU +0, GPU +8, now: CPU 141, GPU 359 (MiB)
2024-08-28 12:01:33.568733288 [2024-08-28 12:01:33] frigate.detectors.plugins.tensorrt INFO : [MemUsageChange] TensorRT-managed allocation in IExecutionContext creation: CPU +0, GPU +29, now: CPU 0, GPU 189 (MiB)
2024-08-28 12:03:48.385856974 [h264 @ 0x7f6ce0242840] left block unavailable for requested intra mode
2024-08-28 12:03:48.385864168 [h264 @ 0x7f6ce0242840] error while decoding MB 0 38, bytestream 78321 Relevant go2rtc log output2024-08-28 12:01:24.109445592 [INFO] Preparing new go2rtc config...
2024-08-28 12:01:24.532061494 [INFO] Starting go2rtc...
2024-08-28 12:01:24.648424871 12:01:24.648 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2024-08-28 12:01:24.648434370 12:01:24.648 INF config path=/dev/shm/go2rtc.yaml
2024-08-28 12:01:24.648774989 12:01:24.648 INF [rtsp] listen addr=:8554
2024-08-28 12:01:24.648846018 12:01:24.648 INF [api] listen addr=:1984
2024-08-28 12:01:24.648930877 12:01:24.648 INF [webrtc] listen addr=:8555/tcp
2024-08-28 12:01:34.107275425 [INFO] Starting go2rtc healthcheck service... Operating systemDebian Install methodDocker Compose Network connectionWired Camera make and modelReolink TrackMix PoE 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 1 reply
-
This is not a bug. This is likely due to the codec you have set on your camera. Are you running H.265 or HEVC? Firefox doesn’t support H.265 because of patents. The recommendation is to use H.264. |
Beta Was this translation helpful? Give feedback.
-
From Reolink: So the high res stream uses H.265 while the low res uses H.264. There isn't any way to "force" the camera itself to use h264. Is there a way to convert it in frigate? |
Beta Was this translation helpful? Give feedback.
You can transcode using go2rtc, but this will consume much more CPU and system resources.
https://docs.frigate.video/guides/configuring_go2rtc
https://docs.frigate.video/configuration/restream#reduce-connections-to-camera
https://github.com/AlexxIT/go2rtc?tab=readme-ov-file#source-ffmpeg