Hello all!
I'm struggling with my Frigate docker disappearing from my dockers/crashing randomly.
Also after reboot the docker is not there, and I have to manually re add it from the list.
Used to run it on CPU+Nvidia for a while. Was thinking it might be the CPU - Got a TPU, problem still persists.
Is this common? I have not found anyone mentioning this behaviour whilst searching for a solution.
Is it possible to make a script for re-adding the docker when it disappears?
Initially it used to disappear when setting up first time.
GNU nano 7.0 config.yml Modified
# input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1
# output_args:
# detect: -f rawvideo -pix_fmt yuv420p
# record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an
# rtmp: -c copy -f flv
# - -c:v
# - hevc_cuvid
detectors:
coral:
type: edgetpu
device: usb
# cpu1:
# type: cpu
birdseye:
# Optional: Enable birdseye view (default: shown below)
enabled: True
# Optional: Width of the output resolution (default: shown below)
width: 1920
# Optional: Height of the output resolution (default: shown below)
height: 1080
# 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: 8
# 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 always
mode: continuous
cameras:
terrace: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://192.168.10.41:554/s0 # <----- Update for your camera
roles:
- detect
- rtmp
rtmp:
enabled: true # <-- RTMP should be disabled if your stream is not H264
detect:
width: 1920 # <---- update for your camera's resolution
height: 1080 # <---- update for your camera's resolution
fps: 10
stationary:
max_frames:
objects:
person: 100
objects:
track:
- person
- dog
snapshots:
enabled: true
timestamp: true
bounding_box: true
crop: true
height: 500
retain:
default: 14
record:
enabled: true
retain:
days: 7
mode: all
events:
retain:
default: 14
mode: motion
pre_capture: 5
post_capture: 15
driveway: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://****te:M*****
[email protected]:554/Streaming/Channels/101 # <----- Update for your camera
roles:
- detect
- rtmp
rtmp:
enabled: true # <-- RTMP should be disabled if your stream is not H264
detect:
width: 1920 # <---- update for your camera's resolution
height: 1080 # <---- update for your camera's resolution
fps: 10
stationary:
max_frames:
objects:
person: 100
objects:
track:
- person
- dog
motion:
mask:
- 480,0,433,81,509,183,459,208,414,172,325,191,323,263,0,333,0,125,0,0
- 546,237,531,174,584,109,631,90,687,81,741,176
zones:
entrance:
coordinates: 1751,80,1680,651,1540,1080,1152,1080,1298,625,531,174
snapshots:
enabled: true
timestamp: true
bounding_box: true
crop: true
height: 500
retain:
default: 14
record:
enabled: true
retain:
days: 7
mode: all
events:
retain:
default: 14
mode: motion
pre_capture: 5
post_capture: 15