[Support]: Error ffmpeg crashed, failed to sync, error filtering input/output #16790
-
Describe the problem you are havingHi folks, After spending lot of time reading blog and the documentation my frigate setup is working and i think the config should be great. Setup : As you can see in the config, I have configured openvino and two feeds per camera (one for detection and one for recording). Thank you for your help. Version0.15.0-cea210d What browser(s) are you using?No response Frigate config filemqtt:
enabled: true
host: 192.168.2.18
topic_prefix: frigate
client_id: frigate
# Include all cameras by default in Birdseye view
birdseye:
enabled: true
mode: continuous
ffmpeg:
hwaccel_args: preset-vaapi
detectors:
ov:
type: openvino
device: GPU
model:
width: 300
height: 300
input_tensor: nhwc
input_pixel_format: bgr
path: /openvino-model/ssdlite_mobilenet_v2.xml
labelmap_path: /openvino-model/coco_91cl_bkgr.txt
go2rtc:
streams:
Chloe: # <- for RTSP streams
- rtsp://nuc:[email protected]:554/videoMain # <- stream which supports video & aac audio
- ffmpeg:Chloe#audio=aac
Annke_FCD600_high: # <- for RTSP streams
- rtsp://admin:[email protected]:554/Streaming/Channels/101/?transportmode=unicast.sdp # <- stream which supports video & aac audio
# - "ffmpeg:Annke_FCD600_high#audio=aac"
Annke_FCD600_low: # <- for RTSP streams
- rtsp://admin:[email protected]:554/Streaming/Channels/102/?transportmode=unicast.sdp # <- stream which supports video & aac audio
# - "ffmpeg:Annke_FCD600_low#audio=aac"
Annke_C1200_high: # <- for RTSP streams
- rtsp://admin:[email protected]:554/Streaming/Channels/101/?transportmode=unicast.sdp # <- stream which supports video & aac audio
# - "ffmpeg:Annke_C1200_high#audio=aac"
Annke_C1200_low: # <- for RTSP streams
- rtsp://admin:[email protected]:554/Streaming/Channels/102/?transportmode=unicast.sdp # <- stream which supports video & aac audio
# - "ffmpeg:Annke_C1200_low#audio=aac"
# Annke_C1200-IN_high: # <- for RTSP streams
# - rtsp://admin:[email protected]:554/Streaming/Channels/101/?transportmode=unicast.sdp # <- stream which supports video & aac audio
# - "ffmpeg:Annke_C1200_high#audio=aac"
# Annke_C1200-IN_low: # <- for RTSP streams
# - rtsp://admin:[email protected]:554/Streaming/Channels/102/?transportmode=unicast.sdp # <- stream which supports video & aac audio
# - "ffmpeg:Annke_C1200_low#audio=aac"
cameras:
Chloe:
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://127.0.0.1:8554/Chloe # <--- the name here must match the name of the camera in restream
input_args: preset-rtsp-restream
roles:
- record
- detect
- audio # <- only necessary if audio detection is enabled
objects:
track:
- person
- dog
- bicycle
- car
- motorcycle
detect:
width: 1280
height: 720
record:
enabled: true
retain:
days: 2
mode: all
Annke_FCD600:
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
# record: preset-record-generic-audio-aac
inputs:
- path: rtsp://127.0.0.1:8554/Annke_FCD600_high # <--- the name here must match the name of the camera in restream
# input_args: preset-rtsp-restream
roles:
- record
# - detect
# - audio # <- only necessary if audio detection is enabled
- path: rtsp://127.0.0.1:8554/Annke_FCD600_low # <--- the name here must match the name of the camera in restream
# input_args: preset-rtsp-restream
roles:
# - record
- detect
- audio # <- only necessary if audio detection is enabled
objects:
track:
- person
- dog
- bicycle
- car
- motorcycle
detect:
width: 1280
height: 720
record:
enabled: true
retain:
days: 2
mode: all
motion:
mask: 0,1,0.187,1,0.412,0,0,0
Annke_C1200:
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
# record: preset-record-generic-audio-aac
inputs:
- path: rtsp://127.0.0.1:8554/Annke_C1200_high # <--- the name here must match the name of the camera in restream
# input_args: preset-rtsp-restream
roles:
- record
# - detect
# - audio # <- only necessary if audio detection is enabled
- path: rtsp://127.0.0.1:8554/Annke_C1200_low # <--- the name here must match the name of the camera in restream
# input_args: preset-rtsp-restream
roles:
# - record
- detect
- audio # <- only necessary if audio detection is enabled
objects:
track:
- person
- dog
- bicycle
- car
- motorcycle
detect:
width: 1280
height: 720
record:
enabled: true
retain:
days: 2
mode: all
zones:
Portail:
coordinates: 0.044,0.256,0.855,0.416,0.767,0.929,0.016,0.979
loitering_time: 0
inertia: 4
objects:
- person
- dog
- bicycle
- motorcycle
Rue:
coordinates: 0.812,0.227,0.785,0.364,0.578,0.365,0.565,0.191
loitering_time: 0
inertia: 3
motion:
mask: 0,0,0.872,0,0.793,0.156,0,0.292
# Annke_C1200-IN:
# ffmpeg:
# output_args:
# record: preset-record-generic-audio-copy
# record: preset-record-generic-audio-aac
# inputs:
# - path: rtsp://127.0.0.1:8554/Annke_C1200-IN_high # <--- the name here must match the name of the camera in restream
# input_args: preset-rtsp-restream
# roles:
# - record
# - detect
# - audio # <- only necessary if audio detection is enabled
# - path: rtsp://127.0.0.1:8554/Annke_C1200-IN_low # <--- the name here must match the name of the camera in restream
# input_args: preset-rtsp-restream
# roles:
# - record
# - detect
# - audio # <- only necessary if audio detection is enabled
# objects:
# track:
# - person
# - dog
# - bicycle
# - car
# - motorcycle
# detect:
# width: 1280
# height: 720
# record:
# enabled: true
# retain:
# days: 2
# mode: all
version: 0.15-1Relevant Frigate log output2025-02-24 23:41:10.731932096 [2025-02-24 23:41:10] ffmpeg.Annke_C1200.detect ERROR : [vf#0:0 @ 0x5f57ab45a900] Task finished with error code: -5 (Input/output error)
2025-02-24 23:41:10.731933305 [2025-02-24 23:41:10] ffmpeg.Annke_C1200.detect ERROR : [vf#0:0 @ 0x5f57ab45a900] Terminating thread with return code -5 (Input/output error)
2025-02-24 23:44:08.879885240 [2025-02-24 23:44:08] frigate.video ERROR : Annke_C1200: Unable to read frames from ffmpeg process.
2025-02-24 23:44:08.879906264 [2025-02-24 23:44:08] frigate.video ERROR : Annke_C1200: ffmpeg process is not running. exiting capture thread...
2025-02-24 23:44:10.743478950 [2025-02-24 23:44:10] watchdog.Annke_C1200 ERROR : Ffmpeg process crashed unexpectedly for Annke_C1200.
2025-02-24 23:44:10.743482007 [2025-02-24 23:44:10] watchdog.Annke_C1200 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-02-24 23:44:10.743483056 [2025-02-24 23:44:10] ffmpeg.Annke_C1200.detect ERROR : [AVHWFramesContext @ 0x7efb94057240] Failed to sync surface 0x10: 1 (operation failed).
2025-02-24 23:44:10.743483860 [2025-02-24 23:44:10] ffmpeg.Annke_C1200.detect ERROR : [hwdownload @ 0x7efbb0003980] Failed to download frame: -5.
2025-02-24 23:44:10.743499004 [2025-02-24 23:44:10] ffmpeg.Annke_C1200.detect ERROR : [vf#0:0 @ 0x583177932b00] Error while filtering: Input/output error
2025-02-24 23:44:10.743508794 [2025-02-24 23:44:10] ffmpeg.Annke_C1200.detect ERROR : [vf#0:0 @ 0x583177932b00] Task finished with error code: -5 (Input/output error)
2025-02-24 23:44:10.743509662 [2025-02-24 23:44:10] ffmpeg.Annke_C1200.detect ERROR : [vf#0:0 @ 0x583177932b00] Terminating thread with return code -5 (Input/output error)
2025-02-24 23:45:10.349830463 [2025-02-24 23:45:10] frigate.video ERROR : Chloe: Unable to read frames from ffmpeg process.
2025-02-24 23:45:10.349880324 [2025-02-24 23:45:10] frigate.video ERROR : Chloe: ffmpeg process is not running. exiting capture thread...
2025-02-24 23:45:10.664144258 [2025-02-24 23:45:10] watchdog.Chloe ERROR : Ffmpeg process crashed unexpectedly for Chloe.
2025-02-24 23:45:10.664155247 [2025-02-24 23:45:10] watchdog.Chloe ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-02-24 23:45:10.664187670 [2025-02-24 23:45:10] ffmpeg.Chloe.detect ERROR : [segment @ 0x56bd81546540] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2025-02-24 23:45:10.664188642 [2025-02-24 23:45:10] ffmpeg.Chloe.detect ERROR : [aost#0:1/copy @ 0x56bd81551640] Non-monotonic DTS; previous: 266955, current: 266891; changing to 266956. This may result in incorrect timestamps in the output file.
2025-02-24 23:45:10.664211364 [2025-02-24 23:45:10] ffmpeg.Chloe.detect ERROR : [AVHWFramesContext @ 0x756a0c04dc00] Failed to sync surface 0x11: 1 (operation failed).
2025-02-24 23:45:10.664235021 [2025-02-24 23:45:10] ffmpeg.Chloe.detect ERROR : [hwdownload @ 0x756a28003980] Failed to download frame: -5.
2025-02-24 23:45:10.664258766 [2025-02-24 23:45:10] ffmpeg.Chloe.detect ERROR : [vf#1:0 @ 0x56bd81551c80] Error while filtering: Input/output error
2025-02-24 23:45:10.664285114 [2025-02-24 23:45:10] ffmpeg.Chloe.detect ERROR : [vf#1:0 @ 0x56bd81551c80] Task finished with error code: -5 (Input/output error)
2025-02-24 23:45:10.667846029 [2025-02-24 23:45:10] ffmpeg.Chloe.detect ERROR : [vf#1:0 @ 0x56bd81551c80] Terminating thread with return code -5 (Input/output error)
2025-02-24 23:47:36.306571237 [2025-02-24 23:47:36] frigate.video ERROR : Annke_C1200: Unable to read frames from ffmpeg process.
2025-02-24 23:47:36.306575073 [2025-02-24 23:47:36] frigate.video ERROR : Annke_C1200: ffmpeg process is not running. exiting capture thread...
2025-02-24 23:47:40.760388941 [2025-02-24 23:47:40] watchdog.Annke_C1200 ERROR : Ffmpeg process crashed unexpectedly for Annke_C1200.
2025-02-24 23:47:40.760391887 [2025-02-24 23:47:40] watchdog.Annke_C1200 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-02-24 23:47:40.760393050 [2025-02-24 23:47:40] ffmpeg.Annke_C1200.detect ERROR : [AVHWFramesContext @ 0x794ffc0819c0] Failed to sync surface 0xe: 1 (operation failed).
2025-02-24 23:47:40.760393963 [2025-02-24 23:47:40] ffmpeg.Annke_C1200.detect ERROR : [hwdownload @ 0x79500c003980] Failed to download frame: -5.
2025-02-24 23:47:40.760394941 [2025-02-24 23:47:40] ffmpeg.Annke_C1200.detect ERROR : [vf#0:0 @ 0x58506f219900] Error while filtering: Input/output error
2025-02-24 23:47:40.760395863 [2025-02-24 23:47:40] ffmpeg.Annke_C1200.detect ERROR : [vf#0:0 @ 0x58506f219900] Task finished with error code: -5 (Input/output error)
2025-02-24 23:47:40.760430240 [2025-02-24 23:47:40] ffmpeg.Annke_C1200.detect ERROR : [vf#0:0 @ 0x58506f219900] Terminating thread with return code -5 (Input/output error)
2025-02-24 23:50:12.795713641 [2025-02-24 23:50:12] frigate.video ERROR : Annke_C1200: Unable to read frames from ffmpeg process.
2025-02-24 23:50:12.795828058 [2025-02-24 23:50:12] frigate.video ERROR : Annke_C1200: ffmpeg process is not running. exiting capture thread...
2025-02-24 23:50:20.778940257 [2025-02-24 23:50:20] watchdog.Annke_C1200 ERROR : Ffmpeg process crashed unexpectedly for Annke_C1200.
2025-02-24 23:50:20.778963254 [2025-02-24 23:50:20] watchdog.Annke_C1200 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-02-24 23:50:20.778978552 [2025-02-24 23:50:20] ffmpeg.Annke_C1200.detect ERROR : [AVHWFramesContext @ 0x760e94057080] Failed to sync surface 0xd: 1 (operation failed).
2025-02-24 23:50:20.778992272 [2025-02-24 23:50:20] ffmpeg.Annke_C1200.detect ERROR : [hwdownload @ 0x760ea4003980] Failed to download frame: -5.
2025-02-24 23:50:20.779014614 [2025-02-24 23:50:20] ffmpeg.Annke_C1200.detect ERROR : [vf#0:0 @ 0x588c6d38b100] Error while filtering: Input/output error
2025-02-24 23:50:20.779223902 [2025-02-24 23:50:20] ffmpeg.Annke_C1200.detect ERROR : [vf#0:0 @ 0x588c6d38b100] Task finished with error code: -5 (Input/output error)
2025-02-24 23:50:20.779227271 [2025-02-24 23:50:20] ffmpeg.Annke_C1200.detect ERROR : [vf#0:0 @ 0x588c6d38b100] Terminating thread with return code -5 (Input/output error)Relevant go2rtc log output2025-02-24 23:35:58.677751518 [INFO] Preparing new go2rtc config...
2025-02-24 23:35:59.100154750 [INFO] Starting go2rtc...
2025-02-24 23:35:59.202510480 23:35:59.202 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2025-02-24 23:35:59.202514792 23:35:59.202 INF config path=/dev/shm/go2rtc.yaml
2025-02-24 23:35:59.202965627 23:35:59.202 INF [rtsp] listen addr=:8554
2025-02-24 23:35:59.203001386 23:35:59.202 INF [api] listen addr=:1984
2025-02-24 23:35:59.203111664 23:35:59.203 INF [webrtc] listen addr=:8555/tcp
2025-02-24 23:36:08.680445883 [INFO] Starting go2rtc healthcheck service...FFprobe output from your camera[{"return_code":0,"stderr":"","stdout":{"programs":[],"stream_groups":[],"streams":[{"codec_long_name":"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10","width":1280,"height":720,"avg_frame_rate":"0/0"},{"codec_long_name":"AAC (Advanced Audio Coding)","avg_frame_rate":"0/0"}]}}]
[{"return_code":0,"stderr":"","stdout":{"programs":[],"stream_groups":[],"streams":[{"codec_long_name":"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10","width":3632,"height":1632,"display_aspect_ratio":"227:102","avg_frame_rate":"20/1"},{"codec_long_name":"AAC (Advanced Audio Coding)","avg_frame_rate":"0/0"}]}},{"return_code":0,"stderr":"","stdout":{"programs":[],"stream_groups":[],"streams":[{"codec_long_name":"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10","width":1200,"height":536,"display_aspect_ratio":"150:67","avg_frame_rate":"20/1"},{"codec_long_name":"AAC (Advanced Audio Coding)","avg_frame_rate":"0/0"}]}}]
[{"return_code":0,"stderr":"","stdout":{"programs":[],"stream_groups":[],"streams":[{"codec_long_name":"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10","width":4096,"height":3072,"display_aspect_ratio":"4:3","avg_frame_rate":"10/1"},{"codec_long_name":"AAC (Advanced Audio Coding)","avg_frame_rate":"0/0"}]}},{"return_code":0,"stderr":"","stdout":{"programs":[],"stream_groups":[],"streams":[{"codec_long_name":"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10","width":1280,"height":720,"display_aspect_ratio":"16:9","avg_frame_rate":"10/1"},{"codec_long_name":"AAC (Advanced Audio Coding)","avg_frame_rate":"0/0"}]}}]Frigate stats{"cameras":{"Chloe":{"camera_fps":5.0,"process_fps":5.0,"skipped_fps":0.0,"detection_fps":0.0,"detection_enabled":true,"pid":397,"capture_pid":413,"ffmpeg_pid":2551,"audio_rms":0.0,"audio_dBFS":0.0},"Annke_FCD600":{"camera_fps":5.0,"process_fps":5.0,"skipped_fps":0.0,"detection_fps":0.0,"detection_enabled":true,"pid":398,"capture_pid":442,"ffmpeg_pid":448,"audio_rms":0.0,"audio_dBFS":0.0},"Annke_C1200":{"camera_fps":5.0,"process_fps":5.0,"skipped_fps":0.0,"detection_fps":0.1,"detection_enabled":true,"pid":412,"capture_pid":446,"ffmpeg_pid":3695,"audio_rms":0.0,"audio_dBFS":0.0}},"detectors":{"ov":{"inference_speed":6.3,"detection_start":0.0,"pid":366}},"detection_fps":0.1,"gpu_usages":{"intel-vaapi":{"gpu":"0.92%","mem":"-%","clients":{"366":"0.0%","448":"2.6%","2551":"1.36%","3695":"1.21%"}}},"cpu_usages":{"frigate.full_system":{"cpu":"5.2","mem":"63.6"},"1":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6/command/s6-svscan -d4 -- /run/service"},"15":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise s6-linux-init-shutdownd"},"16":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6-linux-init/command/s6-linux-init-shutdownd -c /run/s6/basedir -g 3000 -C -B"},"24":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise nginx-log"},"25":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise s6rc-oneshot-runner"},"26":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise go2rtc"},"27":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise go2rtc-healthcheck"},"28":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise certsync"},"29":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise go2rtc-log"},"30":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise s6rc-fdholder"},"31":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise certsync-log"},"32":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise nginx"},"33":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise frigate"},"34":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise frigate-log"},"45":{"cpu":"0.0","cpu_average":"0","mem":"0.0","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 ../.. --"},"46":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6-2.11.3.2/command/s6-fdholderd -1 -i data/rules"},"87":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc"},"88":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/certsync"},"89":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx"},"90":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate"},"97":{"cpu":"2.9","cpu_average":"2","mem":"0.1","cmdline":"/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml"},"110":{"cpu":"1.5","cpu_average":"1","mem":"0.9","cmdline":"python3 -u -m frigate"},"112":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"bash ./run.user go2rtc-healthcheck"},"127":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"nginx: master process nginx"},"171":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"nginx: worker process"},"172":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"nginx: worker process"},"205":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"nginx: worker process"},"206":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"nginx: worker process"},"207":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"nginx: cache manager process"},"322":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"bash ./run.user certsync"},"350":{"cpu":"2.7","cpu_average":"2","mem":"0.6","cmdline":"frigate.recording_manager"},"352":{"cpu":"0.3","cpu_average":"0","mem":"0.5","cmdline":"frigate.review_segment_manager"},"366":{"cpu":"0.1","cpu_average":"0","mem":"0.9","cmdline":"frigate.detector.ov "},"382":{"cpu":"0.6","cpu_average":"0","mem":"0.6","cmdline":"frigate.output "},"397":{"cpu":"0.8","cpu_average":"0","mem":"0.6","cmdline":"frigate.process:Chloe"},"398":{"cpu":"0.6","cpu_average":"0","mem":"0.6","cmdline":"frigate.process:Annke_FCD600"},"412":{"cpu":"1.1","cpu_average":"1","mem":"0.6","cmdline":"frigate.process:Annke_C1200"},"413":{"cpu":"0.6","cpu_average":"0","mem":"0.5","cmdline":"frigate.capture:Chloe"},"425":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/usr/lib/ffmpeg/7.0/bin/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:"},"441":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/usr/lib/ffmpeg/7.0/bin/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:"},"442":{"cpu":"0.6","cpu_average":"0","mem":"0.5","cmdline":"frigate.capture:Annke_FCD600"},"446":{"cpu":"0.7","cpu_average":"0","mem":"0.5","cmdline":"frigate.capture:Annke_C1200"},"448":{"cpu":"1.8","cpu_average":"1","mem":"0.2","cmdline":"/usr/lib/ffmpeg/7.0/bin/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.15.0-cea210d -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/Annke_FCD600_low -r 5 -vf fps=5,scale_vaapi=w=1280:h=720,hwdownload,format=nv12,eq=gamma=1.4:gamma_weight=0.5 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"},"458":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/usr/lib/ffmpeg/7.0/bin/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:"},"464":{"cpu":"0.4","cpu_average":"0","mem":"0.1","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.15.0-cea210d -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/Annke_FCD600_high -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy /tmp/cache/Annke_FCD600@%Y%m%d%H%M%S%z.mp4"},"473":{"cpu":"0.4","cpu_average":"0","mem":"0.1","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.15.0-cea210d -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/Annke_C1200_high -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy /tmp/cache/Annke_C1200@%Y%m%d%H%M%S%z.mp4"},"475":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/usr/lib/ffmpeg/7.0/bin/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:"},"2551":{"cpu":"1.5","cpu_average":"1","mem":"0.2","cmdline":"/usr/lib/ffmpeg/7.0/bin/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.15.0-cea210d -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/Chloe -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy /tmp/cache/Chloe@%Y%m%d%H%M%S%z.mp4 -r 5 -vf fps=5,scale_vaapi=w=1280:h=720,hwdownload,format=nv12,eq=gamma=1.4:gamma_weight=0.5 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"},"2553":{"cpu":"0.9","cpu_average":"0","mem":"0.1","cmdline":"/usr/lib/ffmpeg/7.0/bin/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/Chloe?audio -c:a aac -vn -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/6fcca7882187eb2697464525fd3e42bc"},"3695":{"cpu":"1.5","cpu_average":"0","mem":"0.2","cmdline":"/usr/lib/ffmpeg/7.0/bin/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.15.0-cea210d -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/Annke_C1200_low -r 5 -vf fps=5,scale_vaapi=w=1280:h=720,hwdownload,format=nv12,eq=gamma=1.4:gamma_weight=0.5 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"},"3848":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"sleep 60"},"3992":{"cpu":"0.0","cpu_average":"0","mem":"0.1","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffprobe -timeout 1000000 -print_format json -show_entries stream=codec_long_name,width,height,bit_rate,duration,display_aspect_ratio,avg_frame_rate -loglevel quiet rtsp://127.0.0.1:8554/Annke_C1200_low"},"3994":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"sleep 30s"}},"service":{"uptime":943,"version":"0.15.0-cea210d","latest_version":"0.15.0","storage":{"/media/frigate/recordings":{"total":250898.4,"used":35959.7,"free":202122.8,"mount_type":"ext4"},"/media/frigate/clips":{"total":250898.4,"used":35959.7,"free":202122.8,"mount_type":"ext4"},"/tmp/cache":{"total":953.7,"used":10.3,"free":943.4,"mount_type":"tmpfs"},"/dev/shm":{"total":512.0,"used":199.8,"free":312.2,"mount_type":"tmpfs"}},"temperatures":{},"last_updated":1740437503},"processes":{"recording":{"pid":350},"review_segment":{"pid":352},"go2rtc":{"pid":97}}}Install methodProxmox via Docker docker-compose file or Docker CLI command#version: "3.9"
services:
frigate:
container_name: frigate
privileged: true # this may not be necessary for all setups
restart: unless-stopped
stop_grace_period: 30s # allow enough time to shut down the various services
image: ghcr.io/blakeblackshear/frigate:stable
shm_size: "512mb" # 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
volumes:
- /etc/localtime:/etc/localtime:ro
- ./config:/config
- ./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 udpObject DetectorOpenVino Network connectionWired Camera make and modelAnnke Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful{"return_code":0,"stderr":"","stdout":"vainfo: VA-API version: 1.22 (libva 2.10.0) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
|
See the FAQ, Upgrade issues question 1. You need to use QSV. |
Beta Was this translation helpful? Give feedback.
-
|
Hi folks, Thank you for your answer ! Thank you ! :) |
Beta Was this translation helpful? Give feedback.
-
|
@hawkeye217 I constantly have those sync errors on all my cameras as well. Im using Coral (no GPU available), what must I do to fix ? Any help appreciated .... |
Beta Was this translation helpful? Give feedback.



See the FAQ, Upgrade issues question 1. You need to use QSV.