You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use frigate's existing go2rtc to create a restream of a few cameras in a mosaic as birdseye does not format correctly for some of my use cases. Cannot seem to get any options to work. Someone else on here had a small config that allegedly worked for them, but does not seem to be working at all for me when trying to connect to the stream with vlc.
In my config, I am working with the "mosaic" stream. If i replace the mosaic stream config with just a regular camera connection, vlc will pull up the stream, but nothing else more advanced seems to work.
I have never had good luck getting any advanced ffmpeg options working in the frigate config, so I'm sure it is something I am doing wrong, but im struggling to identify what it is i'm missing. Appreciate any help!
Version
0.13.2-6476F8A
Frigate config file
# yaml-language-server: $schema=http:https://frigate_host/api/config/schema.jsonmqtt:
enabled: Truehost: mqttdetectors:
coral:
type: edgetpudevice: usbrecord:
enabled: Trueretain:
days: 14events:
pre_capture: 10post_capture: 10objects:
- personrtmp:
enabled: Falsebirdseye:
enabled: Truerestream: truewidth: 1920height: 1440# Optional: Encoding quality of the mpeg1 feed (default: shown below)# 1 is the highest quality, and 31 is the lowest. Lower quality feeds utilize less CPU resources.#quality: 5# Optional: Mode of the view. Available options are: objects, motion, and continuous# objects - cameras are included if they have had a tracked object within the last 30 seconds# motion - cameras are included if motion was detected in the last 30 seconds# continuous - all cameras are included alwaysmode: continuousdetect:
width: 1280height: 960ffmpeg:
hwaccel_args: preset-nvidia-h264go2rtc:
streams:
1_Front_Door_Record:
- rtsp:https://frigate:[email protected]:554/cam/realmonitor?channel=1&subtype=01_Front_Door_Detect:
- rtsp:https://frigate:[email protected]:554/cam/realmonitor?channel=1&subtype=12_Reception_Record:
- rtsp:https://frigate:[email protected]:554/cam/realmonitor?channel=1&subtype=02_Reception_Detect: ffmpeg:rtsp:https://frigate:[email protected]:554/cam/realmonitor?channel=1&subtype=1#video=h264#raw=-vf "scale=704:480,setdar=16/9"3_Hallway_1_Record:
- rtsp:https://frigate:[email protected]:554/cam/realmonitor?channel=1&subtype=03_Hallway_1_Detect: ffmpeg:rtsp:https://frigate:[email protected]:554/cam/realmonitor?channel=1&subtype=1#video=h264#raw=-vf "scale=704:480,setdar=16/9"4_Hallway_2_Record:
- rtsp:https://frigate:[email protected]:554/cam/realmonitor?channel=1&subtype=04_Hallway_2_Detect: ffmpeg:rtsp:https://frigate:[email protected]:554/cam/realmonitor?channel=1&subtype=1#video=h264#raw=-vf "scale=640:480,setdar=16/9"5_Man_Trap_Record:
- rtsp:https://frigate:[email protected]:554/cam/realmonitor?channel=1&subtype=05_Man_Trap_Detect: ffmpeg:rtsp:https://frigate:[email protected]:554/cam/realmonitor?channel=1&subtype=1#video=h264#raw=-vf "scale=640:480,setdar=16/9"6_DC_Record:
- rtsp:https://frigate:[email protected]:554/cam/realmonitor?channel=1&subtype=06_DC_Detect:
- rtsp:https://frigate:[email protected]:554/cam/realmonitor?channel=1&subtype=17_Roof_Gen_Record:
- rtsp:https://frigate:[email protected]:554/cam/realmonitor?channel=1&subtype=07_Roof_Gen_Detect:
- rtsp:https://frigate:[email protected]:554/cam/realmonitor?channel=1&subtype=18_Side_Door_Record:
- rtsp:https://frigate:[email protected]:554/cam/realmonitor?channel=1&subtype=08_Side_Door_Detect: ffmpeg:rtsp:https://frigate:[email protected]:554/cam/realmonitor?channel=1&subtype=1#video=h264#raw=-vf "scale=640:480,setdar=16/9"9_Front_Closet_Record:
- rtsp:https://frigate:[email protected]:554/cam/realmonitor?channel=1&subtype=09_Front_Closet_Detect: ffmpeg:rtsp:https://frigate:[email protected]:554/cam/realmonitor?channel=1&subtype=1#video=h264#raw=-vf "scale=640:480,setdar=16/9"mosaic:
- exec:ffmpeg -hide_banner -re-i rtsp:https://127.0.0.1:8554/2_Reception_Detect-i rtsp:https://127.0.0.1:8554/3_Hallway_1_Detect-i rtsp:https://127.0.0.1:8554/4_Hallway_2_Detect-filter_complex xstack=inputs=3-c copy -rtsp_transport tcp -f rtsp {{output}}log:
exec: tracestreams: tracertsp: tracewebrtc:
candidates:
- 192.168.0.20:8555
- stun:8555snapshots:
# Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)enabled: True# Optional: save a clean PNG copy of the snapshot image (default: shown below)clean_copy: True# Optional: print a timestamp on the snapshots (default: shown below)timestamp: False# Optional: draw bounding box on the snapshots (default: shown below)bounding_box: True# Optional: crop the snapshot (default: shown below)crop: False# Optional: height to resize the snapshot to (default: original size)height: 175# Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)required_zones: []# Optional: Camera override for retention settings (default: global values)retain:
# Required: Default retention days (default: shown below)default: 10# Optional: Per object retention daysobjects:
person: 15# Optional: quality of the encoded jpeg, 0-100 (default: shown below)quality: 100cameras:
1_Front_Door:
mqtt:
timestamp: Falsebounding_box: Falsecrop: Truequality: 100height: 500ffmpeg:
inputs:
- path: rtsp:https://127.0.0.1:8554/1_Front_Door_Recordinput_args: preset-rtsp-restreamroles:
- record
- path: rtsp:https://127.0.0.1:8554/1_Front_Door_Detectinput_args: preset-rtsp-restream-low-latencyroles:
- detectlive:
stream_name: 1_Front_Door_Detectobjects:
filters:
person:
mask:
- 1251,622,971,680,974,48,1232,47zones:
openfrontdoor:
coordinates: 0,480,397,480,245,273,77,54,0,652_Reception:
mqtt:
timestamp: Falsebounding_box: Falsecrop: Truequality: 100height: 500ffmpeg:
inputs:
- path: rtsp:https://127.0.0.1:8554/2_Reception_Recordinput_args: preset-rtsp-restreamroles:
- record
- path: rtsp:https://127.0.0.1:8554/2_Reception_Detectinput_args: preset-rtsp-restream-low-latencyroles:
- detectobjects:
filters:
person:
mask:
- 992,671,1117,747,1210,517,1259,336,1080,2893_Hallway_1:
mqtt:
timestamp: Falsebounding_box: Falsecrop: Truequality: 100height: 500ffmpeg:
inputs:
- path: rtsp:https://127.0.0.1:8554/3_Hallway_1_Recordinput_args: preset-rtsp-restreamroles:
- record
- path: rtsp:https://127.0.0.1:8554/3_Hallway_1_Detectinput_args: preset-rtsp-restream-low-latencyroles:
- detectobjects:
filters:
person:
mask:
4_Hallway_2:
mqtt:
timestamp: Falsebounding_box: Falsecrop: Truequality: 100height: 500ffmpeg:
inputs:
- path: rtsp:https://127.0.0.1:8554/4_Hallway_2_Recordinput_args: preset-rtsp-restreamroles:
- record
- path: rtsp:https://127.0.0.1:8554/4_Hallway_2_Detectinput_args: preset-rtsp-restream-low-latencyroles:
- detectobjects:
filters:
person:
mask:
5_Man_Trap:
mqtt:
timestamp: Falsebounding_box: Falsecrop: Truequality: 100height: 500ffmpeg:
inputs:
- path: rtsp:https://127.0.0.1:8554/5_Man_Trap_Recordinput_args: preset-rtsp-restreamroles:
- record
- path: rtsp:https://127.0.0.1:8554/5_Man_Trap_Detectinput_args: preset-rtsp-restream-low-latencyroles:
- detectobjects:
filters:
person:
mask:
6_Data_Center:
mqtt:
timestamp: Falsebounding_box: Falsecrop: Truequality: 100height: 500ffmpeg:
inputs:
- path: rtsp:https://127.0.0.1:8554/6_DC_Recordinput_args: preset-rtsp-restreamroles:
- record
- path: rtsp:https://127.0.0.1:8554/6_DC_Detectinput_args: preset-rtsp-restream-low-latencyroles:
- detectobjects:
filters:
person:
mask:
7_Roof_Gen:
mqtt:
timestamp: Falsebounding_box: Falsecrop: Truequality: 100height: 500ffmpeg:
inputs:
- path: rtsp:https://127.0.0.1:8554/7_Roof_Gen_Recordinput_args: preset-rtsp-restreamroles:
- record
- path: rtsp:https://127.0.0.1:8554/7_Roof_Gen_Detectinput_args: preset-rtsp-restream-low-latencyroles:
- detectobjects:
filters:
person:
mask:
8_Side_Door:
mqtt:
timestamp: Falsebounding_box: Falsecrop: Truequality: 100height: 500ffmpeg:
inputs:
- path: rtsp:https://127.0.0.1:8554/8_Side_Door_Recordinput_args: preset-rtsp-restreamroles:
- record
- path: rtsp:https://127.0.0.1:8554/8_Side_Door_Detectinput_args: preset-rtsp-restream-low-latencyroles:
- detectobjects:
filters:
person:
mask:
9_Front_Closet:
mqtt:
timestamp: Falsebounding_box: Falsecrop: Truequality: 100height: 500ffmpeg:
inputs:
- path: rtsp:https://127.0.0.1:8554/9_Front_Closet_Recordinput_args: preset-rtsp-restreamroles:
- record
- path: rtsp:https://127.0.0.1:8554/9_Front_Closet_Detectinput_args: preset-rtsp-restream-low-latencyroles:
- detectobjects:
filters:
person:
mask:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Describe the problem you are having
I am trying to use frigate's existing go2rtc to create a restream of a few cameras in a mosaic as birdseye does not format correctly for some of my use cases. Cannot seem to get any options to work. Someone else on here had a small config that allegedly worked for them, but does not seem to be working at all for me when trying to connect to the stream with vlc.
In my config, I am working with the "mosaic" stream. If i replace the mosaic stream config with just a regular camera connection, vlc will pull up the stream, but nothing else more advanced seems to work.
I have never had good luck getting any advanced ffmpeg options working in the frigate config, so I'm sure it is something I am doing wrong, but im struggling to identify what it is i'm missing. Appreciate any help!
Version
0.13.2-6476F8A
Frigate config file
Relevant log output
Frigate stats
No response
Operating system
Debian
Install method
Docker Compose
Coral version
USB
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions