LandoGemini

Frigate config

Mar 10th, 2024
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.30 KB | None | 0 0
  1. mqtt:
  2. host: 192.168.0.3
  3. user: username
  4. password: password
  5.  
  6. environment_vars:
  7. LIBVA_DRIVER_NAME: radeonsi
  8. ffmpeg:
  9. hwaccel_args: -hwaccel vaapi -hwaccel_device /dev/dri/renderD128
  10.  
  11. model:
  12. path: plus://code
  13.  
  14. ui:
  15. live_mode: webrtc
  16. time_format: 24hour
  17. strftime_fmt: "%A %H:%M %d.%m.%Y"
  18. use_experimental: false
  19.  
  20. go2rtc:
  21. streams:
  22. #E1Zoom:
  23. #- ffmpeg:http://192.168.0.102/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=username&password=password#video=copy#audio=copy#audio=opus
  24. #E1Zoom_sub:
  25. #- ffmpeg:http://192.168.0.102/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=username&password=password
  26. Interfon:
  27. - ffmpeg:rtsp://username:[email protected]:554/Streaming/Channels/101/#video=copy#audio=opus#audio=aac
  28. Interfon_sub:
  29. - ffmpeg:rtsp://username:[email protected]:554/Streaming/Channels/102/
  30. #NVR1:
  31. #- rtsp://username:[email protected]:554/h264Preview_01_main
  32. NVR1_sub:
  33. - ffmpeg:http://192.168.0.8/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=username&password=password#video=copy#audio=copy#audio=opus
  34. #NVR2:
  35. #- rtsp://username:[email protected]:554/h264Preview_02_main
  36. NVR2_sub:
  37. - ffmpeg:http://192.168.0.8/flv?port=1935&app=bcs&stream=channel1_ext.bcs&user=username&password=password#video=copy#audio=copy#audio=opus
  38. #NVR3:
  39. #- rtsp://username:[email protected]:554/h264Preview_03_main
  40. NVR3_sub:
  41. - ffmpeg:http://192.168.0.8/flv?port=1935&app=bcs&stream=channel2_ext.bcs&user=username&password=password#video=copy#audio=copy#audio=opus
  42. #NVR4:
  43. #- rtsp://username:[email protected]:554/h264Preview_04_main
  44. NVR4_sub:
  45. - ffmpeg:http://192.168.0.8/flv?port=1935&app=bcs&stream=channel3_ext.bcs&user=username&password=password#video=copy#audio=copy#audio=opus
  46. #NVR5:
  47. #- rtsp://username:[email protected]:554/h264Preview_05_main
  48. NVR5_sub:
  49. - ffmpeg:http://192.168.0.8/flv?port=1935&app=bcs&stream=channel4_ext.bcs&user=username&password=password#video=copy#audio=copy#audio=opus
  50. #NVR6:
  51. #- rtsp://username:[email protected]:554/h264Preview_06_main
  52. NVR6_sub:
  53. - ffmpeg:http://192.168.0.8/flv?port=1935&app=bcs&stream=channel5_ext.bcs&user=username&password=password#video=copy#audio=copy#audio=opus
  54.  
  55. birdseye:
  56. enabled: true
  57. mode: objects
  58.  
  59. cameras:
  60. Interfon:
  61. ffmpeg:
  62. output_args:
  63. record: preset-record-generic-audio-aac
  64. inputs:
  65. - path: rtsp://127.0.0.1:8554/Interfon
  66. input_args: preset-rtsp-restream
  67. roles:
  68. - detect
  69. - path: rtsp://127.0.0.1:8554/Interfon
  70. input_args: preset-rtsp-restream
  71. roles:
  72. - record
  73. record:
  74. enabled: true
  75. retain:
  76. days: 7
  77. mode: motion
  78. events:
  79. retain:
  80. default: 14
  81. mode: active_objects
  82. snapshots:
  83. enabled: true
  84. objects:
  85. track:
  86. - person
  87. - car
  88. - cat
  89. - dog
  90. - license_plate
  91. - face
  92. filters:
  93. dog:
  94. min_score: .7
  95. threshold: .9
  96. mask:
  97. - 0,753,212,787,516,817,832,832,1110,825,1676,781,1920,739,1920,0,0,0
  98. cat:
  99. min_score: .65
  100. threshold: .8
  101. face:
  102. min_score: .7
  103. license_plate:
  104. min_score: .6
  105. person:
  106. min_score: .65
  107. threshold: .85
  108. mask:
  109. - 0,754,321,795,596,825,771,826,1010,829,1229,825,1475,802,1483,579,1629,576,1616,778,1671,778,1920,726,1920,0,0,0
  110. car:
  111. min_score: .65
  112. threshold: .85
  113. mask:
  114. - 0,753,212,787,516,817,832,832,1110,825,1676,781,1920,739,1920,0,0,0
  115. motion:
  116. mask:
  117. - 365,192,1048,154,1094,240,1551,287,1584,203,1574,165,1825,0,705,0,0,0,0,456,222,454,256,422,268,326,243,318,225,294
  118. NVR1:
  119. enabled: true
  120. ffmpeg:
  121. output_args:
  122. record: preset-record-generic-audio-copy
  123. inputs:
  124. - path: rtsp://127.0.0.1:8554/NVR1_sub
  125. input_args: preset-rtsp-restream
  126. roles:
  127. - detect
  128. - path: rtsp://127.0.0.1:8554/NVR1_sub
  129. input_args: preset-rtsp-restream
  130. roles:
  131. - record
  132. record:
  133. enabled: true
  134. retain:
  135. days: 7
  136. mode: active_objects
  137. events:
  138. retain:
  139. default: 14
  140. mode: active_objects
  141. snapshots:
  142. enabled: true
  143. motion:
  144. mask:
  145. - 578,0,577,38,518,39,517,0
  146. - 650,167,789,512,858,401,896,294,896,121,896,0,650,0
  147. objects:
  148. track:
  149. - person
  150. - car
  151. - cat
  152. - dog
  153. - license_plate
  154. - face
  155. filters:
  156. dog:
  157. min_score: .7
  158. threshold: .9
  159. cat:
  160. min_score: .65
  161. threshold: .8
  162. face:
  163. min_score: .7
  164. license_plate:
  165. min_score: .6
  166. person:
  167. min_score: .65
  168. threshold: .85
  169. mask:
  170. - 896,0,748,0,723,283,794,512,896,360
  171. - 688,118,694,76,692,0,663,0,662,174,688,194
  172. #min_area: 600
  173. car:
  174. min_score: .65
  175. threshold: .85
  176. mask:
  177. - 430,197,219,512,896,512,896,0,649,0,650,198
  178. - 293,121,283,46,190,72,203,169,122,234,0,338,0,0,279,0,669,0,665,134
  179. live:
  180. stream_name: NVR1_sub
  181. zones:
  182. Terasa:
  183. coordinates: 222,512,339,328,451,171,524,173,527,162,644,167,793,512
  184. NVR2:
  185. enabled: true
  186. ffmpeg:
  187. output_args:
  188. record: preset-record-generic-audio-copy
  189. inputs:
  190. - path: rtsp://127.0.0.1:8554/NVR2_sub
  191. input_args: preset-rtsp-restream
  192. roles:
  193. - detect
  194. - path: rtsp://127.0.0.1:8554/NVR2_sub
  195. input_args: preset-rtsp-restream
  196. roles:
  197. - record
  198. record:
  199. enabled: true
  200. retain:
  201. days: 7
  202. mode: active_objects
  203. events:
  204. retain:
  205. default: 14
  206. mode: active_objects
  207. snapshots:
  208. enabled: true
  209. motion:
  210. mask:
  211. - 578,0,577,38,518,39,517,0
  212. objects:
  213. track:
  214. - person
  215. - car
  216. - cat
  217. - dog
  218. - license_plate
  219. - face
  220. filters:
  221. dog:
  222. min_score: .7
  223. threshold: .9
  224. cat:
  225. min_score: .65
  226. threshold: .8
  227. face:
  228. min_score: .7
  229. license_plate:
  230. min_score: .6
  231. person:
  232. min_score: .65
  233. threshold: .85
  234. #min_area: 600
  235. car:
  236. min_score: .65
  237. threshold: .85
  238. mask:
  239. - 0,512,470,512,757,512,772,484,525,294,283,130,445,109,868,271,896,296,896,0,0,0
  240. live:
  241. stream_name: NVR2_sub
  242. zones:
  243. Terasa:
  244. coordinates: 0,512,0,0,220,0,224,119,270,111,331,160,416,221,552,319,771,486,779,512
  245. NVR3:
  246. enabled: true
  247. ffmpeg:
  248. output_args:
  249. record: preset-record-generic-audio-copy
  250. inputs:
  251. - path: rtsp://127.0.0.1:8554/NVR3_sub
  252. input_args: preset-rtsp-restream
  253. roles:
  254. - detect
  255. - path: rtsp://127.0.0.1:8554/NVR3_sub
  256. input_args: preset-rtsp-restream
  257. roles:
  258. - record
  259. record:
  260. enabled: true
  261. retain:
  262. days: 7
  263. mode: active_objects
  264. events:
  265. retain:
  266. default: 14
  267. mode: active_objects
  268. snapshots:
  269. enabled: true
  270. motion:
  271. mask:
  272. - 578,0,577,38,518,39,517,0
  273. - 896,0,896,512,685,512,722,358,741,164,739,0
  274. objects:
  275. track:
  276. - person
  277. - car
  278. - cat
  279. - dog
  280. - license_plate
  281. - face
  282. filters:
  283. dog:
  284. min_score: .7
  285. threshold: .9
  286. cat:
  287. min_score: .65
  288. threshold: .8
  289. face:
  290. min_score: .7
  291. license_plate:
  292. min_score: .6
  293. person:
  294. min_score: .65
  295. threshold: .85
  296. mask:
  297. - 896,0,896,512,685,512,722,358,741,164,739,0
  298. #min_area: 600
  299. car:
  300. min_score: .65
  301. threshold: .85
  302. mask:
  303. - 444,163,522,176,567,124,642,133,613,172,607,290,725,314,686,512,896,512,896,0,0,0,0,512
  304. live:
  305. stream_name: NVR3_sub
  306. NVR4:
  307. enabled: true
  308. ffmpeg:
  309. output_args:
  310. record: preset-record-generic-audio-copy
  311. inputs:
  312. - path: rtsp://127.0.0.1:8554/NVR4_sub
  313. input_args: preset-rtsp-restream
  314. roles:
  315. - detect
  316. - path: rtsp://127.0.0.1:8554/NVR4_sub
  317. input_args: preset-rtsp-restream
  318. roles:
  319. - record
  320. record:
  321. enabled: true
  322. retain:
  323. days: 7
  324. mode: active_objects
  325. events:
  326. retain:
  327. default: 14
  328. mode: active_objects
  329. snapshots:
  330. enabled: true
  331. motion:
  332. mask:
  333. - 578,0,577,38,518,39,517,0
  334. objects:
  335. track:
  336. - person
  337. - car
  338. - cat
  339. - dog
  340. - license_plate
  341. - face
  342. filters:
  343. dog:
  344. min_score: .7
  345. threshold: .9
  346. cat:
  347. min_score: .65
  348. threshold: .8
  349. face:
  350. min_score: .7
  351. license_plate:
  352. min_score: .6
  353. person:
  354. min_score: .65
  355. threshold: .85
  356. #min_area: 600
  357. car:
  358. min_score: .65
  359. threshold: .85
  360. mask:
  361. - 506,0,0,0,0,512,220,512,161,368,78,380,73,325,68,267,69,178,73,92,98,90,108,25,246,21,234,85,403,254,592,404,547,474,550,512,896,512,896,0
  362. max_area: 150000
  363. live:
  364. stream_name: NVR4_sub
  365. NVR5:
  366. enabled: true
  367. ffmpeg:
  368. output_args:
  369. record: preset-record-generic-audio-copy
  370. inputs:
  371. - path: rtsp://127.0.0.1:8554/NVR5_sub
  372. input_args: preset-rtsp-restream
  373. roles:
  374. - detect
  375. - path: rtsp://127.0.0.1:8554/NVR5_sub
  376. input_args: preset-rtsp-restream
  377. roles:
  378. - record
  379. record:
  380. enabled: true
  381. retain:
  382. days: 7
  383. mode: active_objects
  384. events:
  385. retain:
  386. default: 14
  387. mode: active_objects
  388. snapshots:
  389. enabled: true
  390. motion:
  391. mask:
  392. - 578,0,577,38,518,39,517,0
  393. - 501,512,500,232,412,230,411,43,502,41,503,0,896,0,896,512
  394. objects:
  395. track:
  396. - person
  397. - cat
  398. - dog
  399. - face
  400. filters:
  401. dog:
  402. min_score: .7
  403. threshold: .9
  404. cat:
  405. min_score: .65
  406. threshold: .8
  407. face:
  408. min_score: .7
  409. person:
  410. min_score: .65
  411. threshold: .85
  412. mask:
  413. - 896,0,504,0,501,44,407,44,412,243,501,248,500,512,896,512
  414. max_area: 24000
  415. #min_area: 600
  416. live:
  417. stream_name: NVR5_sub
  418. NVR6:
  419. enabled: true
  420. ffmpeg:
  421. output_args:
  422. record: preset-record-generic-audio-copy
  423. inputs:
  424. - path: rtsp://127.0.0.1:8554/NVR6_sub
  425. input_args: preset-rtsp-restream
  426. roles:
  427. - detect
  428. - path: rtsp://127.0.0.1:8554/NVR6_sub
  429. input_args: preset-rtsp-restream
  430. roles:
  431. - record
  432. record:
  433. enabled: true
  434. retain:
  435. days: 7
  436. mode: active_objects
  437. events:
  438. retain:
  439. default: 14
  440. mode: active_objects
  441. snapshots:
  442. enabled: true
  443. motion:
  444. mask:
  445. - 578,0,577,38,518,39,517,0
  446. objects:
  447. track:
  448. - person
  449. - cat
  450. - dog
  451. - face
  452. filters:
  453. dog:
  454. min_score: .7
  455. threshold: .9
  456. cat:
  457. min_score: .65
  458. threshold: .8
  459. face:
  460. min_score: .7
  461. person:
  462. min_score: .65
  463. threshold: .85
  464. max_area: 90000
  465. #min_area: 600
  466. live:
  467. stream_name: NVR6_sub
  468. E1Zoom:
  469. enabled: false
  470. ui:
  471. dashboard: false
  472. birdseye:
  473. enabled: false
  474. ffmpeg:
  475. output_args:
  476. record: preset-record-generic-audio-copy
  477. inputs:
  478. - path: rtsp://127.0.0.1:8554/E1Zoom_sub
  479. input_args: preset-rtsp-restream
  480. roles:
  481. - detect
  482. - audio
  483. - path: rtsp://127.0.0.1:8554/E1Zoom
  484. input_args: preset-rtsp-restream
  485. roles:
  486. - record
  487. audio:
  488. enabled: true
  489. min_volume: 200
  490. listen:
  491. - babbling
  492. - scream
  493. - speech
  494. - yell
  495. - whispering
  496. - laughter
  497. - snicker
  498. - crying
  499. - sigh
  500. - groan
  501. - grunt
  502. - breathing
  503. - wheeze
  504. - snoring
  505. - gasp
  506. - pant
  507. - snort
  508. - cough
  509. - throat_clearing
  510. - sneeze
  511. - sniff
  512. - burping
  513. - hiccup
  514. - fart
  515. - noise
  516. - environmental_noise
  517. #onvif:
  518. #host: 192.168.0.102
  519. #port: 8000
  520. #user: username
  521. #password: password
  522. record:
  523. enabled: true
  524. retain:
  525. days: 7
  526. mode: motion
  527. events:
  528. retain:
  529. default: 14
  530. mode: active_objects
  531. snapshots:
  532. enabled: true
  533. motion:
  534. mask:
  535. - 265,0,635,0,634,45,263,43
  536. detectors:
  537. coral:
  538. type: edgetpu
  539. device: usb
Add Comment
Please, Sign In to add comment