[Config Support]: Random ffmpeg crashes #11052
Replies: 2 comments
-
|
Looks like the camera is sending bad data and also connection is timing out |
Beta Was this translation helpful? Give feedback.
-
|
Hi! After your comment I was again doing a complete test of all the options I have for the Wyze Cam v3. Is there something I can adjust or some error in my configuration that is generating this? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem you are having
Hello guys! I'm facing random crashes in my Frigate setup, I reduced the configuration to the minimum to isolate this error.
Looks like ffmpeg related, but I'm not sure how to fix it. I'm running Frigate on Docker within a Proxmox VM running Ubuntu 22.04.3. The corals and the video card for HW acceleration are passed through from the host to the VM. My cam is a Wyze Cam V3, I'm using wz_mini_hacks with RTSP disabled and go2rtc enabled, and standalone mode.
Perhaps someone can give me some advice on this, thanks in advance!
Version
0.13.2-6476F8A
Frigate config file
Relevant log output
Frigate stats
{ "cameras": { "cam-cocina": { "audio_dBFS": 0, "audio_rms": 0, "camera_fps": 5.1, "capture_pid": 335, "detection_enabled": 1, "detection_fps": 0, "ffmpeg_pid": 62653, "pid": 334, "process_fps": 5.1, "skipped_fps": 0 } }, "cpu_usages": { "1": { "cmdline": "/package/admin/s6/command/s6-svscan -d4 -- /run/service", "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" }, "16": { "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 s6rc-oneshot-runner", "cpu": "0.0", "cpu_average": "0", "mem": "0.0" }, "25": { "cmdline": "s6-supervise frigate", "cpu": "0.0", "cpu_average": "0", "mem": "0.0" }, "26": { "cmdline": "s6-supervise go2rtc", "cpu": "0.0", "cpu_average": "0", "mem": "0.0" }, "27": { "cmdline": "s6-supervise go2rtc-healthcheck", "cpu": "0.0", "cpu_average": "0", "mem": "0.0" }, "28": { "cmdline": "s6-supervise nginx-log", "cpu": "0.0", "cpu_average": "0", "mem": "0.0" }, "29": { "cmdline": "s6-supervise nginx", "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 frigate-log", "cpu": "0.0", "cpu_average": "0", "mem": "0.0" }, "41": { "cmdline": "/package/admin/s6-2.11.3.2/command/s6-fdholderd -1 -i data/rules", "cpu": "0.0", "cpu_average": "0", "mem": "0.0" }, "42": { "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" }, "80": { "cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx", "cpu": "0.0", "cpu_average": "0", "mem": "0.0" }, "81": { "cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc", "cpu": "0.0", "cpu_average": "0", "mem": "0.0" }, "82": { "cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate", "cpu": "0.0", "cpu_average": "0", "mem": "0.0" }, "88": { "cmdline": "/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml", "cpu": "1.3", "cpu_average": "1", "mem": "0.2" }, "111": { "cmdline": "bash ./run.user go2rtc-healthcheck", "cpu": "0.0", "cpu_average": "0", "mem": "0.0" }, "113": { "cmdline": "python3 -u -m frigate", "cpu": "1.0", "cpu_average": "1", "mem": "2.7" }, "122": { "cmdline": "nginx: master process nginx", "cpu": "0.0", "cpu_average": "0", "mem": "0.1" }, "135": { "cmdline": "nginx: worker process", "cpu": "0.0", "cpu_average": "0", "mem": "0.1" }, "136": { "cmdline": "nginx: worker process", "cpu": "0.0", "cpu_average": "0", "mem": "0.1" }, "137": { "cmdline": "nginx: worker process", "cpu": "0.0", "cpu_average": "0", "mem": "0.1" }, "138": { "cmdline": "nginx: worker process", "cpu": "0.0", "cpu_average": "0", "mem": "0.1" }, "139": { "cmdline": "nginx: cache manager process", "cpu": "0.0", "cpu_average": "0", "mem": "0.0" }, "295": { "cmdline": "frigate.logger ", "cpu": "0.0", "cpu_average": "0", "mem": "0.8" }, "297": { "cmdline": "frigate.recording_manager", "cpu": "0.0", "cpu_average": "0", "mem": "1.1" }, "306": { "cmdline": "/usr/bin/python3 -c from multiprocessing.resource_tracker import main;main(41)", "cpu": "0.0", "cpu_average": "0", "mem": "0.1" }, "307": { "cmdline": "frigate.detector.coral0", "cpu": "0.0", "cpu_average": "0", "mem": "1.0" }, "309": { "cmdline": "frigate.detector.coral1", "cpu": "0.0", "cpu_average": "0", "mem": "1.0" }, "321": { "cmdline": "frigate.detector.coral2", "cpu": "0.0", "cpu_average": "0", "mem": "1.0" }, "322": { "cmdline": "frigate.output ", "cpu": "0.2", "cpu_average": "0", "mem": "0.9" }, "327": { "cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 640x360 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:", "cpu": "0.0", "cpu_average": "0", "mem": "0.1" }, "329": { "cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:", "cpu": "0.0", "cpu_average": "0", "mem": "0.1" }, "334": { "cmdline": "frigate.process:cam-cocina", "cpu": "0.7", "cpu_average": "1", "mem": "1.1" }, "335": { "cmdline": "frigate.capture:cam-cocina", "cpu": "0.3", "cpu_average": "0", "mem": "0.9" }, "62653": { "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.13.2-6476f8a -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/cam-cocina-sub -r 5 -vf fps=5,scale_vaapi=w=640:h=360:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:", "cpu": "1.0", "cpu_average": "1", "mem": "0.4" }, "62655": { "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.13.2-6476f8a -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/cam-cocina -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy /tmp/cache/cam-cocina@%Y%m%d%H%M%S%z.mp4", "cpu": "0.3", "cpu_average": "0", "mem": "0.2" }, "150254": { "cmdline": "sleep 30s", "cpu": "0.0", "cpu_average": "0", "mem": "0.0" } }, "detection_fps": 0, "detectors": { "coral0": { "detection_start": 0, "inference_speed": 6.48, "pid": 307 }, "coral1": { "detection_start": 0, "inference_speed": 8.09, "pid": 309 }, "coral2": { "detection_start": 0, "inference_speed": 8.16, "pid": 321 } }, "gpu_usages": { "intel-vaapi": { "gpu": "0.73%", "mem": "-%" } }, "processes": { "go2rtc": { "pid": 88 }, "logger": { "pid": 295 }, "recording": { "pid": 297 } }, "service": { "last_updated": 1713642526, "latest_version": "0.13.2", "storage": { "/dev/shm": { "free": 253.5, "mount_type": "tmpfs", "total": 256, "used": 2.5 }, "/media/frigate/clips": { "free": 424935.7, "mount_type": "ext4", "total": 601097.9, "used": 150949.1 }, "/media/frigate/recordings": { "free": 424935.7, "mount_type": "ext4", "total": 601097.9, "used": 150949.1 }, "/tmp/cache": { "free": 5721, "mount_type": "tmpfs", "total": 5722, "used": 1.1 } }, "temperatures": { "apex_0": 58.05, "apex_1": 56.05, "apex_2": 46.05 }, "uptime": 86830, "version": "0.13.2-6476f8a" } }Operating system
Proxmox
Install method
Docker Compose
Coral version
PCIe
Any other information that may be helpful
Here's the docker compose for Frigate.
Beta Was this translation helpful? Give feedback.
All reactions