Closed D34DC3N73R closed 3 years ago
Try using a less aggressive set of input args. Sometimes the defaults are too hard on wifi cameras. If that doesn't work, I would be curious if you have issues when viewing both feeds elsewhere. You may be saturating the wifi bandwidth of the camera. Can you lower the FPS on the main stream?
mqtt:
host: 192.168.0.178
user: <REDACTED>
password: <REDACTED>
cameras:
doorbell:
ffmpeg:
hwaccel_args:
- -c:v
- h264_cuvid
inputs:
- path: rtsp://<REDACTED>@192.168.0.26:554/Streaming/Channels/102
roles:
- detect
- record
input_args:
- -avoid_negative_ts
- make_zero
- -fflags
- +genpts+discardcorrupt
- -use_wallclock_as_timestamps
- '1'
- path: rtsp://<REDACTED>@192.168.0.26:554/Streaming/Channels/101
roles:
- clips
- rtmp
input_args:
- -avoid_negative_ts
- make_zero
- -fflags
- +genpts+discardcorrupt
- -use_wallclock_as_timestamps
- '1'
width: 384
height: 512
fps: 8
clips:
enabled: True
retain:
default: 0
snapshots:
enabled: True
bounding_box: True
retain:
default: 0
detectors:
cpu1:
type: cpu
cpu2:
type: cpu
cpu3:
type: cpu
cpu4:
type: cpu
objects:
track:
- person
- cat
- dog
- frisbee
I'll try that updated config and lowering the main stream fps. After posting, I did have the same thought about oversaturating the doorbell camera. I wanted to try out Frigate while waiting for the coral USB to show up. Since this was really more of a test, I still have the doorbell cam set up on my NVR. If that updated config doesn't work, I'll try removing it from the NVR and testing again.
The input arguments didn't help, but after removing the cam from the NVR, I'm able to run both streams on frigate without issue. 👍
Describe the bug I'm unable to add both the sub-stream and the main-stream of a hikvision DS-HD1 doorbell. I can add either the sub-stream of the main-stream successfully, but not both. When I try to add them both, I get the following error.
Version of frigate Output from
/api/version
0.8.4-5043040 Config file Include your full config file wrapped in triple back ticks.Frigate container logs See Bug
Frigate stats
FFprobe from your camera
When both input streams are enabled
When only sub-stream input enabled
When only main-stream input enabled
Screenshots If applicable, add screenshots to help explain your problem.
Computer Hardware
OS: Ubuntu 20.04.2 LTS
Install method: docker-compose version 1.29.2, build 5becea4c
Virtualization: none
Coral Version: backordered 😢
Network Setup: bonded LACP 802.3ad
Camera Info:
Additional context Add any other context about the problem here.