▲ 4 r/frigate_nvr
There's a few things I've figured if you're using a Reolink video doorbell on Wi-fi. flv streams work better on Wi-fi than rtsp but does not do 2 way audio but there's a workaround to add the two way audio back in using ffmpeg and back channel entry in go2rtc. I was getting ffmpeg crashes every few hours with rtsp but these went away with flv. I'm hoping this helps someone and will show up in a search
go2rtc:
log:
streams:
Doorbell:
- ffmpeg:http://10.0.0.213/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=mypassword#video=copy#audio=opus#raw=-fflags +genpts+discardcorrupt
- rtsp://admin:mypassword@10.0.0.213:554/h264Preview_01_main # RTSP kept for talk
Doorbell_sub:
- ffmpeg:http://10.0.0.213/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=mypassword
backchannel:
Doorbell:
- exec:ffmpeg -i pipe: -acodec pcm_mulaw -ar 8000 -f mulaw -f rtsp -rtsp_transport tcp rtsp://admin:mypassword@10.0.0.213:554/h264Preview_01_sub
cameras:
Doorbell: # Video Doorbell ##########
birdseye:
order: 2
snapshots:
enabled: true
timestamp: true
bounding_box: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/Doorbell
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/Doorbell_sub
input_args: preset-rtsp-restream
roles:
- detect
detect:
enabled: true
width: 640
height: 480
fps: 7
stationary:
interval: 50
threshold: 50`
u/Cautious-Hovercraft7 — 12 days ago