[Config Support]: Live page and recordings displaying full video while stream is cropped, settings pages all see uncropped video also #14327
-
Describe the problem you are havingI have a stream with 2 cameras in one. I am using ffmpeg options to split stream. All works fine but the live page, recording and settings,, the live stream is correct. In below image (1) is the full video from the camera using frigate no go2rtc correctly showing both streams,(2) and (3) are cropped streams in go2rtc but still are showing full image uncropped on live page and in recording. No matter which stream I view its cropped live. There are 5 cameras in my config setup. 1/2 are unrelated to this and 5 is direct the full stream. The issues are with camera 3- and 4- .. Sometimes it displays right on live page, but never on settings but you can see the image size remains wrong and it just centers the image. Here you can see cropped streams are working as expected Version0.14.1-f4f3cfa Frigate config filemqtt:
enabled: false
go2rtc:
log:
format: text
level: debug
streams:
3-PollTopCam:
- rtsp://192.168.0.162:554/user=admin_password=tlJwpbo6_channel=0_stream=0
- ffmpeg:3-PollTopCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:ih/2:0:0
3a-PollTopCam:
- rtsp://192.168.0.162:554/user=admin_password=tlJwpbo6_channel=0_stream=1
- ffmpeg:3a-PollTopCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:ih/2:0:0
4-PollCam:
- rtsp://192.168.0.162:554/user=admin_password=tlJwpbo6_channel=0_stream=0
- ffmpeg:4-PollCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:in_h/2:iw:in_h/2
4a-PollCam:
- rtsp://192.168.0.162:554/user=admin_password=tlJwpbo6_channel=0_stream=1
- ffmpeg:4a-PollCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:in_h/2:iw:in_h/2
cameras:
1-Backyard: # <------ Name the camera
enabled: true
ffmpeg:
output_args:
record: preset-record-generic-audio-aac
hwaccel_args: preset-vaapi
inputs:
- path: rtsp://192.168.0.187:5543/53139b9b552c3b40e0eb99993b1eec8f/live/channel1
roles:
- detect
- path: rtsp://192.168.0.187:5543/53139b9b552c3b40e0eb99993b1eec8f/live/channel0 # <----- The stream you want to use for detection
roles:
- record
- audio
detect:
enabled: true
width: 640
height: 360
fps: 4
onvif:
host: 192.168.0.187
port: 8000
user: nunya
password: nunya
record:
enabled: true
retain:
days: 3
mode: all
events:
retain:
default: 30
mode: motion
motion:
threshold: 80
contour_area: 48
improve_contrast: 'true'
2-Backyard_upper: # <------ Name the camera
enabled: true
ffmpeg:
output_args:
record: preset-record-generic-audio-aac
hwaccel_args: preset-vaapi
inputs:
- path: rtsp://192.168.0.197:5543/53139b9b552c3b40e0eb99993b1eec8f/live/channel1
roles:
- detect
- path: rtsp://192.168.0.197:5543/53139b9b552c3b40e0eb99993b1eec8f/live/channel0 # <----- The stream you want to use for detection
roles:
- record
- audio
detect:
enabled: true
width: 640
height: 360
fps: 2
onvif:
host: 192.168.0.197
port: 8000
user: nunya
password: nunyax
record:
enabled: true
retain:
days: 3x
mode: all
events:
retain:
default: 30
mode: motion
motion:xx
threshold: 80
contour_area: 61
improve_contrast: 'true'
3-PollTopCam:
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://127.0.0.1:8554/3-PollTopCam # <--- the name here must match the name of the camera in restream
input_args: preset-rtsp-restream
roles:
- record
- audio
- path: rtsp://127.0.0.1:8554/3a-PollTopCam # <--- the name here must match the name of the camera_sub in restream
input_args: preset-rtsp-restream
roles:
- detect
live:
stream_name: 3-PollTopCam
detect:
enabled: true
fps: 2
record:
enabled: true
retain:
days: 3
mode: all
events:
retain:
default: 30
mode: motion
motion:
threshold: 80
contour_area: 61
improve_contrast: 'true'
4-PollCam:
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://127.0.0.1:8554/4-PollCam # <--- the name here must match the name of the camera in restream
input_args: preset-rtsp-restream
roles:
- record
- audio
- path: rtsp://127.0.0.1:8554/4a-PollCam # <--- the name here must match the name of the camera_sub in restream
input_args: preset-rtsp-restream
roles:
- detect
live:
stream_name: 4a-PollCam
onvif:
host: 192.168.0.162
port: 8899
user: nunya
password: nunya
detect:
enabled: false
fps: 2
record:
enabled: true
retain:
days: 3
mode: all
events:
retain:
default: 30
mode: motion
motion:
threshold: 80
contour_area: 61
improve_contrast: 'true'
5-Poll: # <------ Name the camera
enabled: true
ffmpeg:
output_args:
record: preset-record-generic-audio-aac
hwaccel_args: preset-vaapi
inputs:
- path: rtsp://192.168.0.162:554/user=admin_password=tlJwpbo6_channel=0_stream=0 # <----- The stream you want to use for detection
roles:
- record
- audio
detect:
enabled: false
onvif:
host: 192.168.0.162
port: 8899
user: nunya
password: nunya
record:
enabled: true
retain:
days: 3
mode: all
events:
retain:
default: 30
mode: motion
motion:
threshold: 80
contour_area: 61
improve_contrast: 'true'
mask:
- 1,0.215,0.924,0.218,0.628,0.128,0.596,0.085,0.653,0.092,1,0.163,1,0.185
- 0.001,0.501,1,0.5,1,1,0,1x Relevant Frigate log output2024-10-13 19:21:16.892646314 [INFO] Preparing Frigate...
2024-10-13 19:21:16.899720436 [INFO] Starting Frigate...
2024-10-13 19:21:18.080337783 [2024-10-13 19:21:18] frigate.app INFO : Starting Frigate (0.14.1-f4f3cfa)
2024-10-13 19:21:18.080368844 [2024-10-13 19:21:18] frigate.util.config INFO : Checking if frigate config needs migration...
2024-10-13 19:21:18.114415879 [2024-10-13 19:21:18] frigate.util.config INFO : frigate config does not need migration...
2024-10-13 19:21:18.261961939 [2024-10-13 19:21:18] frigate.util.services INFO : Automatically detected vaapi hwaccel for video decoding
2024-10-13 19:21:27.788867684 [2024-10-13 19:21:27] peewee_migrate.logs INFO : Starting migrations
2024-10-13 19:21:27.788952708 [2024-10-13 19:21:27] peewee_migrate.logs INFO : There is nothing to migrate
2024-10-13 19:21:28.404622967 [2024-10-13 19:21:28] frigate.app INFO : Recording process started: 507
2024-10-13 19:21:28.410114474 [2024-10-13 19:21:28] frigate.app INFO : Recording process started: 516
2024-10-13 19:21:28.411651703 [2024-10-13 19:21:28] frigate.app INFO : go2rtc process pid: 98
2024-10-13 19:21:28.429067719 [2024-10-13 19:21:28] detector.cpu INFO : Starting detection process: 535
2024-10-13 19:21:28.433051399 [2024-10-13 19:21:28] frigate.app INFO : Output process started: 537
2024-10-13 19:21:28.433138579 [2024-10-13 19:21:28] frigate.detectors WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2024-10-13 19:21:28.471790426 [2024-10-13 19:21:28] frigate.app INFO : Camera processor started for 1-Backyard: 551
2024-10-13 19:21:28.480317067 [2024-10-13 19:21:28] frigate.app INFO : Camera processor started for 2-Backyard_upper: 554
2024-10-13 19:21:28.488364333 [2024-10-13 19:21:28] frigate.app INFO : Camera processor started for 3-PollTopCam: 557
2024-10-13 19:21:28.495477215 [2024-10-13 19:21:28] frigate.app INFO : Camera processor started for 4-PollCam: 564
2024-10-13 19:21:28.503513561 [2024-10-13 19:21:28] frigate.app INFO : Camera processor started for 5-Poll: 575
2024-10-13 19:21:28.511343577 [2024-10-13 19:21:28] frigate.app INFO : Capture process started for 1-Backyard: 579
2024-10-13 19:21:28.519327335 [2024-10-13 19:21:28] frigate.app INFO : Capture process started for 2-Backyard_upper: 587
2024-10-13 19:21:28.527198882 [2024-10-13 19:21:28] frigate.app INFO : Capture process started for 3-PollTopCam: 597
2024-10-13 19:21:28.539571944 [2024-10-13 19:21:28] frigate.app INFO : Capture process started for 4-PollCam: 605
2024-10-13 19:21:28.539576562 [2024-10-13 19:21:28] frigate.app INFO : Capture process started for 5-Poll: 611 Relevant go2rtc log output2024-10-13 19:21:16.894868613 [INFO] Preparing new go2rtc config...
2024-10-13 19:21:17.193393093 [INFO] Starting go2rtc...
2024-10-13 19:21:17.283813812 19:21:17.283 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2024-10-13 19:21:17.283833200 19:21:17.283 DBG build vcs.time=2024-05-17T12:57:11Z version=go1.22.2
2024-10-13 19:21:17.283834859 19:21:17.283 INF config path=/dev/shm/go2rtc.yaml
2024-10-13 19:21:17.284405688 19:21:17.284 INF [api] listen addr=:1984
2024-10-13 19:21:17.285496746 19:21:17.284 INF [rtsp] listen addr=:8554
2024-10-13 19:21:17.285500139 19:21:17.284 INF [webrtc] listen addr=:8555/tcp
2024-10-13 19:21:17.285504373 19:21:17.284 DBG [hass] can't import config: open /config/.storage/core.config_entries: no such file or directory
2024-10-13 19:21:18.168662048 19:21:18.168 DBG -init_hw_device vaapi -f lavfi -i testsrc2 -t 1 -vf format=nv12,hwupload -c h264_vaapi -f null - <nil>
2024-10-13 19:21:18.232927956 19:21:18.232 DBG -init_hw_device vaapi -f lavfi -i testsrc2 -t 1 -vf format=nv12,hwupload -c hevc_vaapi -f null - <nil>
2024-10-13 19:21:18.254694816 19:21:18.254 DBG -init_hw_device vaapi -f lavfi -i testsrc2 -t 1 -vf format=nv12,hwupload -c mjpeg_vaapi -f null - <nil>
2024-10-13 19:21:18.257746339 19:21:18.257 DBG -init_hw_device cuda -f lavfi -i testsrc2 -t 1 -c h264_nvenc -f null - exit status 1
2024-10-13 19:21:18.260391930 19:21:18.260 DBG -init_hw_device cuda -f lavfi -i testsrc2 -t 1 -c hevc_nvenc -f null - exit status 1
2024-10-13 19:21:18.264400639 19:21:18.264 DBG [rtsp] new consumer stream=3a-PollTopCam
2024-10-13 19:21:18.282096030 19:21:18.281 DBG [exec] run cmd="ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/3a-PollTopCam?video&audio -filter_complex [0]crop=iw:ih/2:0:0 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/cd7b5d5b8acf412244fee0c76b399375" url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/3a-PollTopCam?video&audio -filter_complex [0]crop=iw:ih/2:0:0 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/cd7b5d5b8acf412244fee0c76b399375"
2024-10-13 19:21:18.285207066 19:21:18.285 DBG [rtsp] new consumer stream=3a-PollTopCam
2024-10-13 19:21:18.288623724 19:21:18.288 DBG [streams] start producer url=rtsp://192.168.0.162:554/user=admin_password=tlJwpbo6_channel=0_stream=1
2024-10-13 19:21:20.192092176 [hevc @ 0x5595d6a4c340] Could not find ref with POC 21
2024-10-13 19:21:20.237783493 19:21:20.237 DBG [exec] run launch=1.955671055s
2024-10-13 19:21:20.237800886 19:21:20.237 DBG [streams] stop producer url=ffmpeg:3a-PollTopCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:ih/2:0:0
2024-10-13 19:21:20.238860005 av_interleaved_write_frame(): Broken pipe
2024-10-13 19:21:20.245912718 Last message repeated 22 times
2024-10-13 19:21:20.245983835 Error writing trailer of rtsp://127.0.0.1:8554/cd7b5d5b8acf412244fee0c76b399375: Broken pipe
2024-10-13 19:21:20.246715284 19:21:20.246 DBG [rtsp] handle error="read tcp 127.0.0.1:8554->127.0.0.1:55204: read: connection reset by peer"
2024-10-13 19:21:20.246759745 19:21:20.246 DBG [rtsp] disconnect stream=3a-PollTopCam
2024-10-13 19:21:22.015350446 19:21:22.015 DBG [rtsp] handle error="read tcp 127.0.0.1:8554->127.0.0.1:55188: read: connection reset by peer"
2024-10-13 19:21:22.015364854 19:21:22.015 DBG [streams] stop producer url=rtsp://192.168.0.162:554/user=admin_password=tlJwpbo6_channel=0_stream=1
2024-10-13 19:21:22.015456615 19:21:22.015 DBG [rtsp] disconnect stream=3a-PollTopCam
2024-10-13 19:21:22.016727165 19:21:22.016 DBG [rtsp] new consumer stream=4a-PollCam
2024-10-13 19:21:22.049734873 19:21:22.049 DBG [exec] run cmd="ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/4a-PollCam?video&audio -filter_complex [0]crop=iw:in_h/2:iw:in_h/2 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/aa7b51ca1c5ef7ee5252e3e90f72b244" url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/4a-PollCam?video&audio -filter_complex [0]crop=iw:in_h/2:iw:in_h/2 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/aa7b51ca1c5ef7ee5252e3e90f72b244"
2024-10-13 19:21:22.053256995 19:21:22.053 DBG [rtsp] new consumer stream=4a-PollCam
2024-10-13 19:21:22.060562902 19:21:22.060 DBG [streams] start producer url=rtsp://192.168.0.162:554/user=admin_password=tlJwpbo6_channel=0_stream=1
2024-10-13 19:21:24.015960961 [hevc @ 0x55f7c6d2a200] Could not find ref with POC 21
2024-10-13 19:21:24.062100445 19:21:24.062 DBG [exec] run launch=2.01229314s
2024-10-13 19:21:24.062115776 19:21:24.062 DBG [streams] stop producer url=ffmpeg:4a-PollCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:in_h/2:iw:in_h/2
2024-10-13 19:21:24.063214859 av_interleaved_write_frame(): Broken pipe
2024-10-13 19:21:24.070878856 Last message repeated 22 times
2024-10-13 19:21:24.070921995 Error writing trailer of rtsp://127.0.0.1:8554/aa7b51ca1c5ef7ee5252e3e90f72b244: Broken pipe
2024-10-13 19:21:24.071675485 19:21:24.071 DBG [rtsp] handle error="read tcp 127.0.0.1:8554->127.0.0.1:55232: read: connection reset by peer"
2024-10-13 19:21:24.071695056 19:21:24.071 DBG [rtsp] disconnect stream=4a-PollCam
2024-10-13 19:21:25.844289535 19:21:25.844 DBG [rtsp] handle error=EOF
2024-10-13 19:21:25.844335882 19:21:25.844 DBG [streams] stop producer url=rtsp://192.168.0.162:554/user=admin_password=tlJwpbo6_channel=0_stream=1
2024-10-13 19:21:25.844421844 19:21:25.844 DBG [rtsp] disconnect stream=4a-PollCam
2024-10-13 19:21:26.893174798 [INFO] Starting go2rtc healthcheck service...
2024-10-13 19:21:28.550658369 19:21:28.550 DBG [rtsp] new consumer stream=3a-PollTopCam
2024-10-13 19:21:28.556755208 19:21:28.556 DBG [rtsp] new consumer stream=4a-PollCam
2024-10-13 19:21:28.564238834 19:21:28.564 DBG [rtsp] new consumer stream=3-PollTopCam
2024-10-13 19:21:28.569087149 19:21:28.569 DBG [rtsp] new consumer stream=4-PollCam
2024-10-13 19:21:28.572260249 19:21:28.571 DBG [exec] run cmd="ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/3a-PollTopCam?video&audio -filter_complex [0]crop=iw:ih/2:0:0 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/cd7b5d5b8acf412244fee0c76b399375" url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/3a-PollTopCam?video&audio -filter_complex [0]crop=iw:ih/2:0:0 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/cd7b5d5b8acf412244fee0c76b399375"
2024-10-13 19:21:28.575620663 19:21:28.575 DBG [rtsp] new consumer stream=3a-PollTopCam
2024-10-13 19:21:28.582531724 19:21:28.582 DBG [exec] run cmd="ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/4a-PollCam?video&audio -filter_complex [0]crop=iw:in_h/2:iw:in_h/2 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/aa7b51ca1c5ef7ee5252e3e90f72b244" url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/4a-PollCam?video&audio -filter_complex [0]crop=iw:in_h/2:iw:in_h/2 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/aa7b51ca1c5ef7ee5252e3e90f72b244"
2024-10-13 19:21:28.585933040 19:21:28.585 DBG [rtsp] new consumer stream=4a-PollCam
2024-10-13 19:21:28.591285009 19:21:28.591 DBG [streams] start producer url=rtsp://192.168.0.162:554/user=admin_password=tlJwpbo6_channel=0_stream=1
2024-10-13 19:21:28.602897368 19:21:28.602 DBG [streams] start producer url=rtsp://192.168.0.162:554/user=admin_password=tlJwpbo6_channel=0_stream=1
2024-10-13 19:21:28.602910062 19:21:28.602 DBG [exec] run cmd="ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/3-PollTopCam?video&audio -filter_complex [0]crop=iw:ih/2:0:0 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/5f7dbc815566d74b11cb3e83e5f771cb" url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/3-PollTopCam?video&audio -filter_complex [0]crop=iw:ih/2:0:0 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/5f7dbc815566d74b11cb3e83e5f771cb"
2024-10-13 19:21:28.606081737 19:21:28.605 DBG [rtsp] new consumer stream=3-PollTopCam
2024-10-13 19:21:28.620550744 19:21:28.620 DBG [streams] start producer url=rtsp://192.168.0.162:554/user=admin_password=tlJwpbo6_channel=0_stream=0
2024-10-13 19:21:28.620663467 19:21:28.620 DBG [exec] run cmd="ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/4-PollCam?video&audio -filter_complex [0]crop=iw:in_h/2:iw:in_h/2 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/7739b0e5c7b3fe83d82ab4b6be5942d9" url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/4-PollCam?video&audio -filter_complex [0]crop=iw:in_h/2:iw:in_h/2 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/7739b0e5c7b3fe83d82ab4b6be5942d9"
2024-10-13 19:21:28.623940117 19:21:28.623 DBG [rtsp] new consumer stream=4-PollCam
2024-10-13 19:21:28.777390807 19:21:28.777 DBG [streams] start producer url=rtsp://192.168.0.162:554/user=admin_password=tlJwpbo6_channel=0_stream=0
2024-10-13 19:21:30.516662202 [hevc @ 0x55bbca7dd340] Could not find ref with POC 21
2024-10-13 19:21:30.523729600 [hevc @ 0x55786afb5540] Could not find ref with POC 21
2024-10-13 19:21:30.564260926 19:21:30.564 DBG [exec] run launch=1.991943671s
2024-10-13 19:21:30.564278330 19:21:30.564 DBG [streams] stop producer url=ffmpeg:3a-PollTopCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:ih/2:0:0
2024-10-13 19:21:30.565852870 av_interleaved_write_frame(): Broken pipe
2024-10-13 19:21:30.571998115 19:21:30.571 DBG [exec] run launch=1.989273647s
2024-10-13 19:21:30.572002947 19:21:30.571 DBG [streams] stop producer url=ffmpeg:4a-PollCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:in_h/2:iw:in_h/2
2024-10-13 19:21:30.574990927 av_interleaved_write_frame(): Broken pipe
2024-10-13 19:21:30.585943000 Last message repeated 22 times
2024-10-13 19:21:30.586042651 Error writing trailer of rtsp://127.0.0.1:8554/cd7b5d5b8acf412244fee0c76b399375: Broken pipe
2024-10-13 19:21:30.587400137 19:21:30.587 DBG [rtsp] handle error="read tcp 127.0.0.1:8554->127.0.0.1:40024: read: connection reset by peer"
2024-10-13 19:21:30.587921596 19:21:30.587 DBG [rtsp] disconnect stream=3a-PollTopCam
2024-10-13 19:21:30.598134245 Last message repeated 22 times
2024-10-13 19:21:30.598202719 Error writing trailer of rtsp://127.0.0.1:8554/aa7b51ca1c5ef7ee5252e3e90f72b244: Broken pipe
2024-10-13 19:21:30.599675713 19:21:30.599 DBG [rtsp] handle error="read tcp 127.0.0.1:8554->127.0.0.1:40040: read: connection reset by peer"
2024-10-13 19:21:30.599759072 19:21:30.599 DBG [rtsp] disconnect stream=4a-PollCam
2024-10-13 19:21:30.705708010 [hevc @ 0x55581870d340] Could not find ref with POC 20
2024-10-13 19:21:30.708394031 [hevc @ 0x563545379b00] Could not find ref with POC 20
2024-10-13 19:21:30.771413947 19:21:30.771 DBG [exec] run launch=2.16846149s
2024-10-13 19:21:30.771418892 19:21:30.771 DBG [streams] stop producer url=ffmpeg:3-PollTopCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:ih/2:0:0
2024-10-13 19:21:30.780134330 19:21:30.779 DBG [exec] run launch=2.159284948s
2024-10-13 19:21:30.780255373 19:21:30.780 DBG [streams] stop producer url=ffmpeg:4-PollCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:in_h/2:iw:in_h/2
2024-10-13 19:21:30.781588988 av_interleaved_write_frame(): Broken pipe
2024-10-13 19:21:30.790285195 av_interleaved_write_frame(): Broken pipe
2024-10-13 19:21:30.932881216 Last message repeated 22 times
2024-10-13 19:21:30.932887582 Error writing trailer of rtsp://127.0.0.1:8554/5f7dbc815566d74b11cb3e83e5f771cb: Broken pipe
2024-10-13 19:21:30.938278518 19:21:30.937 DBG [rtsp] handle error="read tcp 127.0.0.1:8554->127.0.0.1:40042: read: connection reset by peer"
2024-10-13 19:21:30.938286408 19:21:30.937 DBG [rtsp] disconnect stream=3-PollTopCam
2024-10-13 19:21:30.939847081 Last message repeated 22 times
2024-10-13 19:21:30.939949853 Error writing trailer of rtsp://127.0.0.1:8554/7739b0e5c7b3fe83d82ab4b6be5942d9: Broken pipe
2024-10-13 19:21:30.942828381 19:21:30.942 DBG [rtsp] handle error="read tcp 127.0.0.1:8554->127.0.0.1:40054: read: connection reset by peer"
2024-10-13 19:21:30.942854959 19:21:30.942 DBG [rtsp] disconnect stream=4-PollCam
2024-10-13 19:21:32.588347534 19:21:32.588 DBG [exec] run cmd="ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/4a-PollCam?video&audio -filter_complex [0]crop=iw:in_h/2:iw:in_h/2 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/aa7b51ca1c5ef7ee5252e3e90f72b244" url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/4a-PollCam?video&audio -filter_complex [0]crop=iw:in_h/2:iw:in_h/2 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/aa7b51ca1c5ef7ee5252e3e90f72b244"
2024-10-13 19:21:32.591798798 19:21:32.591 DBG [rtsp] new consumer stream=4a-PollCam
2024-10-13 19:21:32.867051351 19:21:32.866 DBG [exec] run cmd="ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/3-PollTopCam?video&audio -filter_complex [0]crop=iw:ih/2:0:0 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/5f7dbc815566d74b11cb3e83e5f771cb" url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/3-PollTopCam?video&audio -filter_complex [0]crop=iw:ih/2:0:0 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/5f7dbc815566d74b11cb3e83e5f771cb"
2024-10-13 19:21:32.870295955 19:21:32.870 DBG [rtsp] new consumer stream=3-PollTopCam
2024-10-13 19:21:34.646348114 19:21:34.646 DBG [exec] run launch=2.057967744s
2024-10-13 19:21:34.646394727 19:21:34.646 DBG [streams] start producer url=ffmpeg:4a-PollCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:in_h/2:iw:in_h/2
2024-10-13 19:21:34.834363953 19:21:34.834 DBG [exec] run launch=1.967277962s
2024-10-13 19:21:34.834397823 19:21:34.834 DBG [streams] start producer url=ffmpeg:3-PollTopCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:ih/2:0:0
2024-10-13 19:21:35.384895940 19:21:35.384 DBG [streams] stop producer url=ffmpeg:4a-PollCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:in_h/2:iw:in_h/2
2024-10-13 19:21:35.384898920 19:21:35.384 DBG [streams] stop producer url=ffmpeg:3-PollTopCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:ih/2:0:0
2024-10-13 19:21:35.390788110 19:21:35.390 DBG [exec] run cmd="ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/3-PollTopCam?video&audio -filter_complex [0]crop=iw:ih/2:0:0 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/5f7dbc815566d74b11cb3e83e5f771cb" url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/3-PollTopCam?video&audio -filter_complex [0]crop=iw:ih/2:0:0 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/5f7dbc815566d74b11cb3e83e5f771cb"
2024-10-13 19:21:35.393739590 av_interleaved_write_frame(): Broken pipe
2024-10-13 19:21:35.393806840 Error writing trailer of rtsp://127.0.0.1:8554/aa7b51ca1c5ef7ee5252e3e90f72b244: Broken pipe
2024-10-13 19:21:35.395080387 19:21:35.394 DBG [rtsp] handle error="read tcp 127.0.0.1:8554->127.0.0.1:40098: read: connection reset by peer"
2024-10-13 19:21:35.395106315 19:21:35.395 DBG [rtsp] disconnect stream=4a-PollCam
2024-10-13 19:21:35.395221730 19:21:35.395 DBG [rtsp] new consumer stream=3-PollTopCam
2024-10-13 19:21:35.414018538 av_interleaved_write_frame(): Broken pipe
2024-10-13 19:21:35.414113833 Error writing trailer of rtsp://127.0.0.1:8554/5f7dbc815566d74b11cb3e83e5f771cb: Broken pipe
2024-10-13 19:21:35.418057100 19:21:35.417 DBG [rtsp] handle error="read tcp 127.0.0.1:8554->127.0.0.1:40112: read: connection reset by peer"
2024-10-13 19:21:35.418090299 19:21:35.418 DBG [rtsp] disconnect stream=3-PollTopCam
2024-10-13 19:21:37.306750736 [hevc @ 0x5618c0bb0340] Could not find ref with POC 31
2024-10-13 19:21:37.369341551 19:21:37.369 DBG [exec] run launch=1.978518254s
2024-10-13 19:21:37.369362492 19:21:37.369 DBG [streams] start producer url=ffmpeg:3-PollTopCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:ih/2:0:0
2024-10-13 19:21:41.091254727 19:21:41.090 DBG [streams] stop producer url=ffmpeg:3-PollTopCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:ih/2:0:0
2024-10-13 19:21:41.114805616 av_interleaved_write_frame(): Broken pipe
2024-10-13 19:21:41.114813331 Error writing trailer of rtsp://127.0.0.1:8554/5f7dbc815566d74b11cb3e83e5f771cb: Broken pipe
2024-10-13 19:21:41.132362032 19:21:41.132 DBG [rtsp] handle error=EOF
2024-10-13 19:21:41.132646718 19:21:41.132 DBG [rtsp] disconnect stream=3-PollTopCam
2024-10-13 19:21:41.182965880 19:21:41.182 DBG [exec] run cmd="ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/3-PollTopCam?video&audio -filter_complex [0]crop=iw:ih/2:0:0 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/5f7dbc815566d74b11cb3e83e5f771cb" url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/3-PollTopCam?video&audio -filter_complex [0]crop=iw:ih/2:0:0 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/5f7dbc815566d74b11cb3e83e5f771cb"
2024-10-13 19:21:41.196961622 19:21:41.196 DBG [rtsp] new consumer stream=3-PollTopCam
2024-10-13 19:21:41.204410190 19:21:41.204 DBG [exec] run cmd="ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/4a-PollCam?video&audio -filter_complex [0]crop=iw:in_h/2:iw:in_h/2 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/aa7b51ca1c5ef7ee5252e3e90f72b244" url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/4a-PollCam?video&audio -filter_complex [0]crop=iw:in_h/2:iw:in_h/2 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/aa7b51ca1c5ef7ee5252e3e90f72b244"
2024-10-13 19:21:41.213258233 19:21:41.213 DBG [rtsp] new consumer stream=4a-PollCam
2024-10-13 19:21:43.066932872 [hevc @ 0x55dfe417c700] Could not find ref with POC 31
2024-10-13 19:21:43.129374391 19:21:43.129 DBG [exec] run launch=1.946373231s
2024-10-13 19:21:43.129646278 19:21:43.129 DBG [streams] start producer url=ffmpeg:3-PollTopCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:ih/2:0:0
2024-10-13 19:21:43.129726808 19:21:43.129 DBG [streams] stop producer url=ffmpeg:3-PollTopCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:ih/2:0:0
2024-10-13 19:21:43.139137715 av_interleaved_write_frame(): Broken pipe
2024-10-13 19:21:43.262886706 Last message repeated 22 times
2024-10-13 19:21:43.263005852 Error writing trailer of rtsp://127.0.0.1:8554/5f7dbc815566d74b11cb3e83e5f771cb: Broken pipe
2024-10-13 19:21:43.264496615 [hevc @ 0x56005fcf2bc0] Could not find ref with POC 34
2024-10-13 19:21:43.267829822 19:21:43.267 DBG [rtsp] handle error="read tcp 127.0.0.1:8554->127.0.0.1:48602: read: connection reset by peer"
2024-10-13 19:21:43.267935364 19:21:43.267 DBG [rtsp] disconnect stream=3-PollTopCam
2024-10-13 19:21:43.312541767 19:21:43.312 DBG [exec] run launch=2.108098248s
2024-10-13 19:21:43.312764438 19:21:43.312 DBG [streams] start producer url=ffmpeg:4a-PollCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:in_h/2:iw:in_h/2
2024-10-13 19:21:46.343494302 19:21:46.343 DBG [streams] stop producer url=ffmpeg:4a-PollCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:in_h/2:iw:in_h/2
2024-10-13 19:21:46.396012848 av_interleaved_write_frame(): Broken pipe
2024-10-13 19:21:46.396076673 Error writing trailer of rtsp://127.0.0.1:8554/aa7b51ca1c5ef7ee5252e3e90f72b244: Broken pipe
2024-10-13 19:21:46.396949128 19:21:46.396 DBG [rtsp] handle error=EOF
2024-10-13 19:21:46.397012008 19:21:46.396 DBG [rtsp] disconnect stream=4a-PollCam
2024-10-13 19:21:46.417295773 19:21:46.417 DBG [exec] run cmd="ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/3-PollTopCam?video&audio -filter_complex [0]crop=iw:ih/2:0:0 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/5f7dbc815566d74b11cb3e83e5f771cb" url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/3-PollTopCam?video&audio -filter_complex [0]crop=iw:ih/2:0:0 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/5f7dbc815566d74b11cb3e83e5f771cb"
2024-10-13 19:21:46.422229273 19:21:46.422 DBG [rtsp] new consumer stream=3-PollTopCam
2024-10-13 19:21:46.438827642 19:21:46.438 DBG [exec] run cmd="ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/4a-PollCam?video&audio -filter_complex [0]crop=iw:in_h/2:iw:in_h/2 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/aa7b51ca1c5ef7ee5252e3e90f72b244" url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/4a-PollCam?video&audio -filter_complex [0]crop=iw:in_h/2:iw:in_h/2 -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/aa7b51ca1c5ef7ee5252e3e90f72b244"
2024-10-13 19:21:46.446138191 19:21:46.446 DBG [rtsp] new consumer stream=4a-PollCam
2024-10-13 19:21:48.363074115 [hevc @ 0x55e42c969680] Could not find ref with POC 28
2024-10-13 19:21:48.377694979 [hevc @ 0x55fb72980700] Could not find ref with POC 25
2024-10-13 19:21:48.414432376 19:21:48.414 DBG [exec] run launch=1.975573257s
2024-10-13 19:21:48.415318050 19:21:48.415 DBG [streams] start producer url=ffmpeg:4a-PollCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:in_h/2:iw:in_h/2
2024-10-13 19:21:48.445385151 19:21:48.445 DBG [exec] run launch=2.028035396s
2024-10-13 19:21:48.447057783 19:21:48.446 DBG [streams] start producer url=ffmpeg:3-PollTopCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:ih/2:0:0
2024-10-13 19:22:01.538117113 19:22:01.538 DBG [streams] stop producer url=ffmpeg:3-PollTopCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:ih/2:0:0
2024-10-13 19:22:01.538450216 19:22:01.538 DBG [streams] stop producer url=ffmpeg:4a-PollCam#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:in_h/2:iw:in_h/2
2024-10-13 19:22:01.545411054 av_interleaved_write_frame(): Broken pipe
2024-10-13 19:22:01.545469651 Error writing trailer of rtsp://127.0.0.1:8554/5f7dbc815566d74b11cb3e83e5f771cb: Broken pipe
2024-10-13 19:22:01.550177601 19:22:01.550 DBG [rtsp] handle error=EOF
2024-10-13 19:22:01.550227702 19:22:01.550 DBG [rtsp] disconnect stream=3-PollTopCam
2024-10-13 19:22:01.610924242 av_interleaved_write_frame(): Broken pipe
2024-10-13 19:22:01.610988229 Error writing trailer of rtsp://127.0.0.1:8554/aa7b51ca1c5ef7ee5252e3e90f72b244: Broken pipe
2024-10-13 19:22:01.612154400 19:22:01.612 DBG [rtsp] handle error=EOF
2024-10-13 19:22:01.612220141 19:22:01.612 DBG [rtsp] disconnect stream=4a-PollCam Frigate stats{"cameras":{"1-Backyard":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":4.0,"capture_pid":579,"detection_enabled":true,"detection_fps":9.2,"ffmpeg_pid":588,"pid":551,"process_fps":4.1,"skipped_fps":0.0},"2-Backyard_upper":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":2.1,"capture_pid":587,"detection_enabled":true,"detection_fps":7.3,"ffmpeg_pid":601,"pid":554,"process_fps":2.0,"skipped_fps":0.0},"3-PollTopCam":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":2.1,"capture_pid":597,"detection_enabled":true,"detection_fps":0.0,"ffmpeg_pid":610,"pid":557,"process_fps":2.1,"skipped_fps":0.0},"4-PollCam":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":2.1,"capture_pid":605,"detection_enabled":false,"detection_fps":0.0,"ffmpeg_pid":620,"pid":564,"process_fps":2.1,"skipped_fps":0.0},"5-Poll":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.1,"capture_pid":611,"detection_enabled":false,"detection_fps":0.0,"ffmpeg_pid":624,"pid":575,"process_fps":5.1,"skipped_fps":0.0}},"cpu_usages":{"1":{"cmdline":"/package/admin/s6/command/s6-svscan -d4 -- /run/service","cpu":"0.0","cpu_average":"0","mem":"0.0"},"106":{"cmdline":"python3 -u -m frigate","cpu":"5.9","cpu_average":"3","mem":"1.6"},"107":{"cmdline":"bash ./run.user go2rtc-healthcheck","cpu":"0.0","cpu_average":"0","mem":"0.0"},"121":{"cmdline":"nginx: master process nginx","cpu":"0.0","cpu_average":"0","mem":"0.0"},"15":{"cmdline":"s6-supervise s6-linux-init-shutdownd","cpu":"0.0","cpu_average":"0","mem":"0.0"},"157":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"158":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"159":{"cmdline":"nginx: worker process","cpu":"0.1","cpu_average":"0","mem":"0.0"},"160":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"163":{"cmdline":"nginx: cache manager process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"17":{"cmdline":"/package/admin/s6-linux-init/command/s6-linux-init-shutdownd -c /run/s6/basedir -g 3000 -C -B","cpu":"0.0","cpu_average":"0","mem":"0.0"},"24":{"cmdline":"s6-supervise certsync","cpu":"0.0","cpu_average":"0","mem":"0.0"},"25":{"cmdline":"s6-supervise frigate-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"26":{"cmdline":"s6-supervise s6rc-oneshot-runner","cpu":"0.0","cpu_average":"0","mem":"0.0"},"27":{"cmdline":"s6-supervise go2rtc","cpu":"0.0","cpu_average":"0","mem":"0.0"},"28":{"cmdline":"s6-supervise frigate","cpu":"0.0","cpu_average":"0","mem":"0.0"},"29":{"cmdline":"s6-supervise certsync-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"295":{"cmdline":"bash ./run.user certsync","cpu":"0.0","cpu_average":"0","mem":"0.0"},"30":{"cmdline":"s6-supervise go2rtc-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"31":{"cmdline":"s6-supervise s6rc-fdholder","cpu":"0.0","cpu_average":"0","mem":"0.0"},"32":{"cmdline":"s6-supervise go2rtc-healthcheck","cpu":"0.0","cpu_average":"0","mem":"0.0"},"33":{"cmdline":"s6-supervise nginx-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"34":{"cmdline":"s6-supervise nginx","cpu":"0.0","cpu_average":"0","mem":"0.0"},"349":{"cmdline":"frigate.logger ","cpu":"0.0","cpu_average":"0","mem":"0.4"},"45":{"cmdline":"/package/admin/s6-2.11.3.2/command/s6-fdholderd -1 -i data/rules","cpu":"0.0","cpu_average":"0","mem":"0.0"},"46":{"cmdline":"/package/admin/s6/command/s6-ipcserverd -1 -- /package/admin/s6/command/s6-ipcserver-access -v0 -E -l0 -i data/rules -- /package/admin/s6/command/s6-sudod -t 30000 -- /package/admin/s6-rc/command/s6-rc-oneshot-run -l ../.. --","cpu":"0.0","cpu_average":"0","mem":"0.0"},"507":{"cmdline":"frigate.recording_manager","cpu":"1.6","cpu_average":"0","mem":"0.5"},"5101":{"cmdline":"sleep 60","cpu":"0.0","cpu_average":"0","mem":"0.0"},"516":{"cmdline":"frigate.review_segment_manager","cpu":"0.3","cpu_average":"0","mem":"0.5"},"534":{"cmdline":"/usr/bin/python3 -c from multiprocessing.resource_tracker import main;main(62)","cpu":"0.1","cpu_average":"0","mem":"0.0"},"535":{"cmdline":"frigate.detector.cpu ","cpu":"214.5","cpu_average":"59","mem":"0.5"},"537":{"cmdline":"frigate.output ","cpu":"2.1","cpu_average":"1","mem":"0.6"},"5466":{"cmdline":"sleep 30s","cpu":"0.0","cpu_average":"0","mem":"0.0"},"551":{"cmdline":"frigate.process:1-Backyard","cpu":"5.1","cpu_average":"1","mem":"0.5"},"554":{"cmdline":"frigate.process:2-Backyard_upper","cpu":"3.3","cpu_average":"0","mem":"0.5"},"557":{"cmdline":"frigate.process:3-PollTopCam","cpu":"0.4","cpu_average":"0","mem":"0.5"},"564":{"cmdline":"frigate.process:4-PollCam","cpu":"0.3","cpu_average":"0","mem":"0.5"},"575":{"cmdline":"frigate.process:5-Poll","cpu":"0.9","cpu_average":"0","mem":"0.5"},"579":{"cmdline":"frigate.capture:1-Backyard","cpu":"0.2","cpu_average":"0","mem":"0.5"},"587":{"cmdline":"frigate.capture:2-Backyard_upper","cpu":"0.1","cpu_average":"0","mem":"0.5"},"588":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.1-f4f3cfa -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://192.168.0.187:5543/53139b9b552c3b40e0eb99993b1eec8f/live/channel1 -r 4 -vf fps=4,scale_vaapi=w=640:h=360:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"0.6","cpu_average":"0","mem":"0.2"},"597":{"cmdline":"frigate.capture:3-PollTopCam","cpu":"0.3","cpu_average":"0","mem":"0.5"},"601":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.1-f4f3cfa -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://192.168.0.197:5543/53139b9b552c3b40e0eb99993b1eec8f/live/channel1 -r 2 -vf fps=2,scale_vaapi=w=640:h=360:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"0.5","cpu_average":"0","mem":"0.2"},"604":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.1-f4f3cfa -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://192.168.0.187:5543/53139b9b552c3b40e0eb99993b1eec8f/live/channel0 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/1-Backyard@%Y%m%d%H%M%S%z.mp4","cpu":"1.2","cpu_average":"1","mem":"0.1"},"605":{"cmdline":"frigate.capture:4-PollCam","cpu":"0.1","cpu_average":"0","mem":"0.5"},"610":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.1-f4f3cfa -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/3a-PollTopCam -r 2 -vf fps=2,scale_vaapi=w=640:h=720:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"0.7","cpu_average":"0","mem":"0.1"},"611":{"cmdline":"frigate.capture:5-Poll","cpu":"3.9","cpu_average":"3","mem":"0.5"},"613":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.1-f4f3cfa -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://192.168.0.197:5543/53139b9b552c3b40e0eb99993b1eec8f/live/channel0 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/2-Backyard_upper@%Y%m%d%H%M%S%z.mp4","cpu":"1.2","cpu_average":"0","mem":"0.1"},"620":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.1-f4f3cfa -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/4a-PollCam -r 2 -vf fps=2,scale_vaapi=w=640:h=720:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"0.6","cpu_average":"0","mem":"0.1"},"624":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.1-f4f3cfa -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://192.168.0.162:554/user=admin_password=tlJwpbo6_channel=0_stream=0 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/5-Poll@%Y%m%d%H%M%S%z.mp4 -r 5 -vf fps=5,scale_vaapi=w=2304:h=2592:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"6.8","cpu_average":"6","mem":"0.5"},"627":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.1-f4f3cfa -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/3-PollTopCam -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy /tmp/cache/3-PollTopCam@%Y%m%d%H%M%S%z.mp4","cpu":"0.3","cpu_average":"0","mem":"0.1"},"629":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.1-f4f3cfa -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/4-PollCam -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy /tmp/cache/4-PollCam@%Y%m%d%H%M%S%z.mp4","cpu":"0.1","cpu_average":"0","mem":"0.1"},"637":{"cmdline":"ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x360 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.3","cpu_average":"0","mem":"0.1"},"642":{"cmdline":"ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x360 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.1","cpu_average":"0","mem":"0.1"},"647":{"cmdline":"ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x720 -i pipe: -threads 1 -f mpegts -s 640x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.1"},"652":{"cmdline":"ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x720 -i pipe: -threads 1 -f mpegts -s 640x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.1"},"662":{"cmdline":"ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 2304x2592 -i pipe: -threads 1 -f mpegts -s 640x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.1"},"667":{"cmdline":"ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.1"},"86":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx","cpu":"0.0","cpu_average":"0","mem":"0.0"},"88":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc","cpu":"0.0","cpu_average":"0","mem":"0.0"},"89":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate","cpu":"0.0","cpu_average":"0","mem":"0.0"},"90":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/certsync","cpu":"0.0","cpu_average":"0","mem":"0.0"},"98":{"cmdline":"/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml","cpu":"1.4","cpu_average":"1","mem":"0.1"},"frigate.full_system":{"cpu":"33.7","mem":"11.0"}},"detection_fps":16.5,"detectors":{"cpu":{"detection_start":0.0,"inference_speed":38.19,"pid":535}},"gpu_usages":{"intel-vaapi":{"gpu":"2.01%","mem":"-%"}},"processes":{"go2rtc":{"pid":98},"logger":{"pid":349},"recording":{"pid":507},"review_segment":{"pid":516}},"service":{"last_updated":1728862257,"latest_version":"0.14.1","storage":{"/dev/shm":{"free":1011.1,"mount_type":"tmpfs","total":1024.0,"used":12.9},"/media/frigate/clips":{"free":829345.2,"mount_type":"ext4","total":958729.5,"used":80611.5},"/media/frigate/recordings":{"free":829345.2,"mount_type":"ext4","total":958729.5,"used":80611.5},"/tmp/cache":{"free":895.6,"mount_type":"tmpfs","total":953.7,"used":58.1}},"temperatures":{},"uptime":569,"version":"0.14.1-f4f3cfa"}} Operating systemOther Linux Install methodDocker Compose docker-compose file or Docker CLI commandversion: "3.9"
services:
frigate:
container_name: frigate
privileged: true # this may not be necessary for all setups
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:stable
#image: ghcr.io/blakeblackshear/frigate:0.14.1
shm_size: "1024mb" # update for your cameras based on calculation above
devices:
- /dev/dri/renderD128:/dev/dri/renderD128 # For intel hwaccel, needs to be updated for your hardware
- /dev/bus/usb:/dev/bus/usb # Passes the USB Coral, needs to be modified for other versions
- /dev/apex_0:/dev/apex_0 # Passes a PCIe Coral, follow driver instructions here https://coral.ai/docs/m2/get-started/#2a-on-linux
- /dev/video11:/dev/video11 # For Raspberry Pi 4B
volumes:
- /etc/localtime:/etc/localtime:ro
- /home/snoopy/frigate/config:/config
- /home/snoopy/frigate/storage:/media/frigate
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "8971:8971"
# - "5000:5000" # Internal unauthenticated access. Expose carefully.
- "8554:8554" # RTSP feeds
- "8555:8555/tcp" # WebRTC over tcp
- "8555:8555/udp" # WebRTC over udp
environment:
LIBVA_DRIVER_NAME: "iHD" Object DetectorCoral Screenshots of the Frigate UI's System metrics pagesAny other information that may be helpfulI keep trying things and nothing works so not sure if I am doing something wrong, this is a bug or an unssupported configuration ? Any help is appreciated. If I am detecting and recording from cropped streams from go2rtc then how can I get uncropped video. Could it be it only works right when there is open stream? is there a way to make go2rtc run always not just when someone connects ? Though if the camera is recording from the go2rtc feed it would always be connected ? idk, again any help is appreciated :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
With your current go2rtc config, you have two providers per stream. Reduce it to a single one. For example:
|
Beta Was this translation helpful? Give feedback.
With your current go2rtc config, you have two providers per stream. Reduce it to a single one. For example: