kollock

frigate

Aug 4th, 2025
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.46 KB | None | 0 0
  1. mqtt:
  2. enabled: false
  3. #detectors:
  4. # coral:
  5. # type: edgetpu
  6. # device: usb
  7. detectors:
  8. ov:
  9. type: openvino
  10. device: GPU
  11. model:
  12. width: 300
  13. height: 300
  14. input_tensor: nhwc
  15. input_pixel_format: bgr
  16. path: /openvino-model/ssdlite_mobilenet_v2.xml
  17. labelmap_path: /openvino-model/coco_91cl_bkgr.txt
  18. objects:
  19. # Optional: list of objects to track from labelmap.txt (default: shown below)
  20. track:
  21. - person
  22. - dog
  23. - cat
  24. go2rtc:
  25. streams:
  26. living:
  27. - rtsp://username:[email protected]:554/stream1
  28. #- "ffmpeg:tapo1#video=copy#audio=opus" #works without it also
  29. dining:
  30. - rtsp://username:[email protected]:554/stream1
  31. #- "ffmpeg:tapo1#video=copy#audio=opus" #works without it also
  32. june:
  33. - rtsp://username:[email protected]:554/stream1
  34. #- "ffmpeg:tapo1#video=copy#audio=opus" #works without it also
  35. front:
  36. - rtsp://username:[email protected]:554/stream1
  37. backyard:
  38. - rtsp://username:[email protected]:554/h264Preview_01_main
  39. record:
  40. enabled: true
  41. retain:
  42. days: 1
  43. mode: all
  44. alerts:
  45. retain:
  46. days: 3
  47. mode: motion
  48. detections:
  49. retain:
  50. days: 3
  51. mode: motion
  52. ffmpeg:
  53. ## hwaccel_args: preset-vaapi #this will be automatically detected and may not be necessary
  54. output_args:
  55. record: preset-record-generic-audio-aac #transcode the original audio to acc
  56. global_args: -hide_banner -loglevel error
  57. cameras:
  58. backyard:
  59. ui:
  60. order: 5
  61. ffmpeg:
  62. inputs:
  63. - path: rtsp://admin:[email protected]:554/h264Preview_01_sub
  64. roles:
  65. - detect
  66. onvif:
  67. host: 192.168.0.45
  68. port: 8000
  69. user: username
  70. password: password
  71. living: # <------ Name the camera test
  72. enabled: true
  73. ffmpeg:
  74. inputs:
  75. - path: rtsp://username:[email protected]:554/stream2 # <----- The stream you want to use for detection
  76. roles:
  77. - detect
  78. - path: rtsp://username:[email protected]:554/stream1 # highqual record
  79. roles:
  80. - record
  81. detect:
  82. enabled: false # <---- disable detection until you have a working camera feed
  83. ##width: 640
  84. ##height: 360
  85. dining: # <------ Name the camera test
  86. enabled: true
  87. ffmpeg:
  88. output_args:
  89. # record: preset-record-generic-audio-copy
  90. record: preset-record-generic-audio-aac
  91. inputs:
  92. - path: rtsp://username:[email protected]:554/stream2 # <----- The stream you want to use for detection
  93. roles:
  94. - detect
  95. - path: rtsp://username:[email protected]:554/stream1 # highqual record
  96. roles:
  97. - record
  98. detect:
  99. enabled: false # below is native res
  100. ##width: 1280
  101. ##height: 720
  102. front: # <------ Name the camera test
  103. enabled: true
  104. ui:
  105. order: 0
  106. ffmpeg:
  107. inputs:
  108. - path: rtsp://username:[email protected]:554/stream2 # <----- The stream you want to use for detection
  109. roles:
  110. - detect
  111. - path: rtsp://username:[email protected]:554/stream1 # highqual record
  112. roles:
  113. - record
  114. detect:
  115. enabled: true # below is the native stream2 res so commetning out?
  116. ##width: 1280
  117. ##height: 960
  118. zones:
  119. doorstep:
  120. coordinates:
  121. 0.867,0.993,0.837,0.239,0.534,0.321,0.536,0.513,0.388,0.508,0.388,0.437,0.052,0.182,0.043,0.954
  122. loitering_time: 0
  123. objects: person
  124. review:
  125. alerts:
  126. required_zones:
  127. - doorstep
  128. june: # <------ Name the camera test
  129. enabled: true
  130. ffmpeg:
  131. inputs:
  132. - path: rtsp://username:[email protected]:554/stream2 # <----- The stream you want to use for detection
  133. roles:
  134. - detect
  135. - path: rtsp://username:[email protected]:554/stream1 # highqual record
  136. roles:
  137. - record
  138. detect:
  139. enabled: false # wow the stream2 res on these is 640x360
  140. width: 640
  141. height: 360
  142. motion:
  143. mask: 0.014,0.003,0.022,0.542,0.164,0.433,0.167,0.003
  144. version: 0.15-1
  145. notifications:
  146. enabled: 'true'
  147.  
  148.  
Advertisement
Add Comment
Please, Sign In to add comment