Advertisement
drinfernoo

Untitled

May 27th, 2021
1,859
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.78 KB | None | 0 0
  1. cameras:
  2.   back_porch:
  3.     snapshots:
  4.       enabled: True
  5.       bounding_box: True
  6.       retain:
  7.         default: 5
  8.     clips:
  9.       enabled: True
  10.       objects:
  11.        - person
  12.         - cat
  13.     record:
  14.       enabled: False
  15.     rtmp:
  16.       enabled: True
  17.     ffmpeg:
  18.       inputs:
  19.         - path: rtsp://back:back@192.168.1.203/live
  20.           roles:
  21.            - detect
  22.             - rtmp
  23.             - clips
  24.             # - record
  25.     width: 1920
  26.     height: 1080
  27.     fps: 5
  28. ...
  29. ffmpeg:
  30.   output_args:
  31.     clips: "-f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac"
  32.     record: "-f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac"
  33.     rtmp: '-f flv -c:v copy -c:a aac'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement