December 4, 20241 yr Author On 12/3/2024 at 3:58 AM, johnnyfive said: Hello I have been using Frigate for a while (CPU detector) and it has been working great for the most part. I have had high CPU usage which is expected and finally took the plunge and bought a coral USB. I plugged in the Coral USB and it was detected by Frigate. I can go to 'System Metrics' and see Coral there however after a minute or so it crashes. with this: frigate.watchdog INFO : Detection appears to have stopped... Exiting Frigate... Some errors other errors I see is the following, but that one is during boot [but frigate still loads after this error], so unsure if it is connected. 2024-12-02 08:08:23frigate.watchdog Detection appears to be stuck. Restarting detection process...info 2024-12-02 08:08:23detector.coral Starting detection process: 614info 2024-12-02 08:08:23frigate.detectors.plugins.edgetpu_tfl Attempting to load TPU as usbinfo 2024-12-02 08:08:25frigate.detectors.plugins.edgetpu_tfl TPU found 0-0bulk USB transfer error 1 [LibUsbDataOutCallback] 2024-12-02 08:08:25unknown Fatal Python error: Aborted I have tried increase the shm size and the tmpfs size. I have tried installing and uninstalling and reinstalling the coral drivers in the community apps. I have turned on privilege mode. I have also reinstalled frigate multiple times. I have also used a powered USB hub and tried various USB ports. I am using a Z68X-UD3H-B3 motherboard with a i5-3570 (unsure if this matters). I have included /dev/usb in my docker config and the detector in my config file I have done a lot searching but no answers/solutions. Currently reverting back to CPU detectors so my cameras are recording and detecting. Thanks in advance mqtt: host: [REDACTED] port: [REDACTED] user: [REDACTED] password: [REDACTED] detectors: coral: type: edgetpu device: usb cameras: yi2: ffmpeg: inputs: - path: [REDACTED] roles: - record record: enabled: true retain: days: 7 mode: all events: retain: default: 7 snapshots: enabled: false timestamp: true bounding_box: true retain: default: 10 detect: enabled: false width: 1920 height: 1080 yi1: zones: road: coordinates: 1920,615,1849,557,310,622,104,638,240,708 ffmpeg: inputs: - path: [REDACTED] roles: - record - detect record: enabled: true retain: days: 7 mode: all events: retain: default: 7 mode: active_objects snapshots: enabled: false timestamp: true bounding_box: true retain: default: 10 required_zones: - road detect: enabled: false width: 1920 height: 1080 review: alerts: required_zones: - road front: motion: mask: - 1876,996,1873,1080,1386,1080,1381,1001 zones: door: coordinates: 1920,0,1920,1080,0,1080,0,875,979,815,1517,810,1509,0 ffmpeg: inputs: - path: [REDACTED] roles: - detect - record record: enabled: true retain: days: 21 mode: all events: retain: default: 14 mode: active_objects snapshots: enabled: true timestamp: true bounding_box: true retain: default: 10 required_zones: - door detect: enabled: true width: 1920 height: 1080 review: alerts: required_zones: - door front2: motion: mask: - 1383,1080,1891,1080,1888,995,1375,1000 - 301,1080,0,1080,0,0,931,0,712,31,115,121,142,505 - 1920,1080,1522,1080,1754,634,1863,228,1182,55,374,0,1920,0 zones: door2: coordinates: 1920,132,1920,1080,316,1080,186,626,822,466,1188,370,1290,393,1541,462,1578,229 ffmpeg: inputs: - path: [REDACTED] roles: - detect - record record: enabled: true retain: days: 21 mode: all events: retain: default: 14 mode: active_objects snapshots: enabled: true timestamp: true bounding_box: true retain: default: 10 required_zones: - door2 detect: enabled: true width: 1920 height: 1080 fps: 5 objects: track: - person review: alerts: required_zones: - door2 version: 0.14 Seems like you might have a faulty unit (not the first one reporting this kind of behavior). I suggest you, if you can, to test it with the examples of corals web https://coral.ai/examples/#code-examples and if it fails, you should execute the warranty. In any case, the only thing I miss for your tests is, are you using the original USB cable that comes with the coral? Some people had problems with the cable. I'm my case, I have the USB coral and I have had it running 24/7 for more than 4 years with no single issue, 8 cameras, so trust me that investing in a Coral is worthy. Edited December 4, 20241 yr by yayitazale
December 4, 20241 yr On 12/2/2024 at 9:58 PM, johnnyfive said: Hello I have been using Frigate for a while (CPU detector) and it has been working great for the most part. I have had high CPU usage which is expected and finally took the plunge and bought a coral USB. I plugged in the Coral USB and it was detected by Frigate. I can go to 'System Metrics' and see Coral there however after a minute or so it crashes. with this: frigate.watchdog INFO : Detection appears to have stopped... Exiting Frigate... Some errors other errors I see is the following, but that one is during boot [but frigate still loads after this error], so unsure if it is connected. 2024-12-02 08:08:23frigate.watchdog Detection appears to be stuck. Restarting detection process...info 2024-12-02 08:08:23detector.coral Starting detection process: 614info 2024-12-02 08:08:23frigate.detectors.plugins.edgetpu_tfl Attempting to load TPU as usbinfo 2024-12-02 08:08:25frigate.detectors.plugins.edgetpu_tfl TPU found 0-0bulk USB transfer error 1 [LibUsbDataOutCallback] 2024-12-02 08:08:25unknown Fatal Python error: Aborted I have tried increase the shm size and the tmpfs size. I have tried installing and uninstalling and reinstalling the coral drivers in the community apps. I have turned on privilege mode. I have also reinstalled frigate multiple times. I have also used a powered USB hub and tried various USB ports. I am using a Z68X-UD3H-B3 motherboard with a i5-3570 (unsure if this matters). I have included /dev/usb in my docker config and the detector in my config file I have done a lot searching but no answers/solutions. Currently reverting back to CPU detectors so my cameras are recording and detecting. Thanks in advance On 12/2/2024 at 9:58 PM, johnnyfive said: SOLVED: So I figured it out. It was the USB chipset. I had to switch to a USB 2.0 slot tied to a Intel Chipset. I am not using a HUB and do have my zigbee usb connected to the USB slot next to it. So after doing a bit of research it seems the best one are Intel, Fresco, Renesas were recommended as general great compability for most things and ASMedia, Etron (which mine was) and VIA not the greatest for low latency things, important? things. I am now cautious if I can use USB 3.0 for a external drive for my NAS with that chip... Edited December 4, 20241 yr by johnnyfive
December 5, 20241 yr On 12/4/2024 at 3:52 AM, yayitazale said: I don't know if you are using MSE or WebRTC so check this, I cannot help you much more as this issues are so specific to each camera and configuration: https://docs.frigate.video/configuration/live/#live-view-technologies Is MSE the default? I haven't added any WebRTC configs.
December 7, 20241 yr I'm using Frigate in a Docker container for a while now, and I love it! So I'm planning to buy a Coral. My question would be if I should buy the USB or the M.2 key B+M version. I'm looking forward for your advices!
December 8, 20241 yr Author 20 hours ago, elliotcz97 said: I'm using Frigate in a Docker container for a while now, and I love it! So I'm planning to buy a Coral. My question would be if I should buy the USB or the M.2 key B+M version. I'm looking forward for your advices! M.2 is much cheaper with same capabilities. USB is just plug & play and M.2 requires driver to be install. USB has a builtin heatsink while M.2 doesn't, so it is a good idea to add one to keep temperatures under control.
December 9, 20241 yr I just updated my Unraid from 6.9.2 to 6.12.4 and my Nvidia driver is now updated to 565.57.01. Below is my Docker Run command to build the container. What is missing, or do I need to change, in order for my card to show up and to be used for GPU object detection?
December 9, 20241 yr Author 31 minutes ago, Professor Oak said: I just updated my Unraid from 6.9.2 to 6.12.4 and my Nvidia driver is now updated to 565.57.01. Below is my Docker Run command to build the container. What is missing, or do I need to change, in order for my card to show up and to be used for GPU object detection? Please read again the description of the branches before the installation. You are using the default branch witch only uses GPU for Hardware Acceleration. If you want to use GPU for object detection there is another branch.
December 9, 20241 yr 7 minutes ago, yayitazale said: Please read again the description of the branches before the installation. You are using the default branch witch only uses GPU for Hardware Acceleration. If you want to use GPU for object detection there is another branch. That would be this one?
December 9, 20241 yr Author 9 minutes ago, Professor Oak said: That would be this one? Yes, you can select it when you launch the container from CA store:
December 9, 20241 yr 8 minutes ago, yayitazale said: Yes, you can select it when you launch the container from CA store: So it's now using the correct branch and shows the available tensorrt model in the startup logs, but it's still using CPU for object detection. Before I upgraded Unraid, the GPU would show up for HW acceleration in the system metrics, but it does not even appear there anymore after upgrading.
December 9, 20241 yr I think I finally got it! There were some additional configuration settings that I added in to set the detector type in the configuration file.
December 9, 20241 yr Hi! I've poked around but am struggling to find an answer so I thought I'd ask. In short, everything is working fine, BUT, I have very high writes to the cache drive (bursting 20 - 40 MB/s). If I stop Frigate this stops completely....if I start it then the activity resumes - so I'm 100% certain that Frigate is to blame. I'm running: 2x Frigate instances on Unraid (6.12.14) Each instance of frigate has it's own TPU Each instance has it's own dedicated disk to write to (a single disk pool, formatted btrfs) The appdata is on a mirrored NVME cache pool (formatted zfs) The instances run as privileged The extra parameters are: --shm-size=2048mb --log-opt max-size=50m --log-opt max-file=1 --mount type=tmpfs,target=/tmp,tmpfs-mode=1777,tmpfs-size=2G --restart unless-stopped The config path is: /mnt/user/appdata/frigate_1/ The media path is: /mnt/user/cctv_1/ Aside from appdata there should be NOTHING on the NVME pool as no connected share (except appdata) is on the cache drives or routing via the cache. What can I do to stop this excessive writing? Thanks!
December 9, 20241 yr frigate docker container ran twice under the same template(different names). Did something change in template over time? a unraid user is getting a weird kernel bug when parity is ran if frigate is running. This may be more related to the coral.ai via USB can someone take a look?
December 11, 20241 yr Author On 12/9/2024 at 10:43 AM, ChirpyTurnip said: Hi! I've poked around but am struggling to find an answer so I thought I'd ask. In short, everything is working fine, BUT, I have very high writes to the cache drive (bursting 20 - 40 MB/s). If I stop Frigate this stops completely....if I start it then the activity resumes - so I'm 100% certain that Frigate is to blame. I'm running: 2x Frigate instances on Unraid (6.12.14) Each instance of frigate has it's own TPU Each instance has it's own dedicated disk to write to (a single disk pool, formatted btrfs) The appdata is on a mirrored NVME cache pool (formatted zfs) The instances run as privileged The extra parameters are: --shm-size=2048mb --log-opt max-size=50m --log-opt max-file=1 --mount type=tmpfs,target=/tmp,tmpfs-mode=1777,tmpfs-size=2G --restart unless-stopped The config path is: /mnt/user/appdata/frigate_1/ The media path is: /mnt/user/cctv_1/ Aside from appdata there should be NOTHING on the NVME pool as no connected share (except appdata) is on the cache drives or routing via the cache. What can I do to stop this excessive writing? Thanks! Not sure, I don't have that kind of deployment architecture.
December 14, 20241 yr Sorry if this has been brought up before, but I'm currently having an issue with my pcie Coral TPU constantly being dropped by Unraid. Every few minutes the Coral TPU Driver dashboard will display the status, temp, frequency as SHUTDOWN, which in turn will cause Frigate to complete stop functioning since the TPU can't be found (and fallbacks aren't yet an option). I'd found another thread that suggested monitoring Coral temperatures with script, but nothing out of the ordinary from that. The temperature will hover around 38-42C, then when the TPU dies it'll just report -89.70 until either Unraid is completely rebooted (full shutdown) or the pcie slot is rebooted with a script. Have there been reported instances of coral pcie TPUs malfunctioning after a couple years of use? Any help, or pointing to another thread, would be appreciated.
December 14, 20241 yr Author 2 hours ago, cjpeckover said: Sorry if this has been brought up before, but I'm currently having an issue with my pcie Coral TPU constantly being dropped by Unraid. Every few minutes the Coral TPU Driver dashboard will display the status, temp, frequency as SHUTDOWN, which in turn will cause Frigate to complete stop functioning since the TPU can't be found (and fallbacks aren't yet an option). I'd found another thread that suggested monitoring Coral temperatures with script, but nothing out of the ordinary from that. The temperature will hover around 38-42C, then when the TPU dies it'll just report -89.70 until either Unraid is completely rebooted (full shutdown) or the pcie slot is rebooted with a script. Have there been reported instances of coral pcie TPUs malfunctioning after a couple years of use? Any help, or pointing to another thread, would be appreciated. I saw more recentky buyed failing TPUs but can be...
December 17, 20241 yr I just installed Frigate using the NVIDIA branch and I get the following error when trying to add my Reolink camera. Any ideas? I have the NVIDIA drivers installed and the added parameters. 2024-12-17 01:05:54.433803519 [2024-12-17 01:05:54] ffmpeg.Duo_North.detect ERROR : rtsp://*:*@192.168.3.56:554/rtsp: Server returned 404 Not Found 2024-12-17 01:05:54.521189520 [2024-12-17 01:05:54] frigate.video ERROR : Duo_North: Unable to read frames from ffmpeg process. 2024-12-17 01:05:54.521512397 [2024-12-17 01:05:54] frigate.video ERROR : Duo_North: ffmpeg process is not running. exiting capture thread... 2024-12-17 01:06:04.468954712 [2024-12-17 01:06:04] watchdog.Duo_North ERROR : Ffmpeg process crashed unexpectedly for Duo_North. 2024-12-17 01:06:04.469007032 [2024-12-17 01:06:04] watchdog.Duo_North ERROR : The following ffmpeg logs include the last 100 lines prior to exit. 2024-12-17 01:06:04.469047028 [2024-12-17 01:06:04] ffmpeg.Duo_North.detect ERROR : [rtsp @ 0x5570c5338f00] method DESCRIBE failed: 404 Stream Not Found I'm using the default config and on my camera I have RTMP, HTTP, HTTPS, RTSP and ONVIF enabled. mqtt: enabled: false cameras: Duo_North: # <------ Name the camera enabled: true ffmpeg: inputs: - path: rtsp://admin:[email protected]:554/rtsp # <----- The stream you want to use for detection roles: - detect detect: enabled: false # <---- disable detection until you have a working camera feed width: 1280 height: 720 version: 0.14
December 17, 20241 yr 32 minutes ago, lan said: I get the following error when trying to add my Reolink camera. Did you read the frigate documentation for adding Reolink Cameras? https://docs.frigate.video/configuration/camera_specific
December 17, 20241 yr 6 hours ago, Bruceflix said: Did you read the frigate documentation for adding Reolink Cameras? https://docs.frigate.video/configuration/camera_specific Thanks, I haven't I haven't come across this article yet.
December 24, 20241 yr My Frigate container has been working fine for months, but now it is completely unresponsive and the log is filled with this constantly repeating... 2024-12-24 12:14:56.899548349 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1309 open Could not open codec h264, error: -11 2024-12-24 12:14:56.899605274 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1317 open VIDEOIO/FFMPEG: Failed to initialize VideoCapture 2024-12-24 12:14:56.905052795 [ERROR:[email protected]] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception: 2024-12-24 12:14:56.905060922 2024-12-24 12:14:56.905066259 OpenCV(4.9.0) /io/opencv/modules/videoio/src/cap_images.cpp:274: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern' 2024-12-24 12:14:56.905069809 2024-12-24 12:14:56.905072841 2024-12-24 12:14:56.962835531 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1309 open Could not open codec hevc, error: -11 2024-12-24 12:14:56.962898643 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1317 open VIDEOIO/FFMPEG: Failed to initialize VideoCapture 2024-12-24 12:14:56.963260058 [ERROR:[email protected]] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception: 2024-12-24 12:14:56.963270044 2024-12-24 12:14:56.963278108 OpenCV(4.9.0) /io/opencv/modules/videoio/src/cap_images.cpp:274: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern' 2024-12-24 12:14:56.963283043 2024-12-24 12:14:56.963287198 2024-12-24 12:14:57.022093372 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1309 open Could not open codec hevc, error: -11 2024-12-24 12:14:57.022108131 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1317 open VIDEOIO/FFMPEG: Failed to initialize VideoCapture 2024-12-24 12:14:57.022455378 [ERROR:[email protected]] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception: 2024-12-24 12:14:57.022463206 2024-12-24 12:14:57.022468553 OpenCV(4.9.0) /io/opencv/modules/videoio/src/cap_images.cpp:274: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern' 2024-12-24 12:14:57.022471635 2024-12-24 12:14:57.022474640 2024-12-24 12:14:57.034811114 ::ffff:172.16.20.1 - - [24/Dec/2024:12:14:57 +0000] "GET /api/front/latest.jpg?cache=1735042505379&undefined HTTP/1.1" 200 36728 "http://172.16.50.200:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" "-" 2024-12-24 12:14:57.092048144 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1309 open Could not open codec hevc, error: -11 2024-12-24 12:14:57.092108985 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1317 open VIDEOIO/FFMPEG: Failed to initialize VideoCapture 2024-12-24 12:14:57.092523352 [ERROR:[email protected]] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception: 2024-12-24 12:14:57.092529097 2024-12-24 12:14:57.092534026 OpenCV(4.9.0) /io/opencv/modules/videoio/src/cap_images.cpp:274: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern' 2024-12-24 12:14:57.092537254 2024-12-24 12:14:57.092540227 2024-12-24 12:14:57.156584174 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1309 open Could not open codec hevc, error: -11 2024-12-24 12:14:57.156599451 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1317 open VIDEOIO/FFMPEG: Failed to initialize VideoCapture 2024-12-24 12:14:57.156907787 [ERROR:[email protected]] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception: 2024-12-24 12:14:57.156913131 2024-12-24 12:14:57.156918089 OpenCV(4.9.0) /io/opencv/modules/videoio/src/cap_images.cpp:274: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern' 2024-12-24 12:14:57.156921161 2024-12-24 12:14:57.156924174 2024-12-24 12:14:57.208379230 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1309 open Could not open codec hevc, error: -11 2024-12-24 12:14:57.208440927 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1317 open VIDEOIO/FFMPEG: Failed to initialize VideoCapture 2024-12-24 12:14:57.208846752 [ERROR:[email protected]] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception: 2024-12-24 12:14:57.208854029 2024-12-24 12:14:57.208861734 OpenCV(4.9.0) /io/opencv/modules/videoio/src/cap_images.cpp:274: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern' 2024-12-24 12:14:57.208866456 2024-12-24 12:14:57.208870963 2024-12-24 12:14:57.240746651 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.241344366 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.242191992 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.242898713 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.243761151 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.244577431 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.245236132 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.246096248 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.246996348 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.247794019 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.248569004 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.249577805 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.251691963 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.254828216 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.255207010 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.255630032 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.255967289 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.256327053 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.256932775 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.257556212 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.258291201 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.259415654 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.260182907 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.260875767 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.261732734 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.262457294 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.263023508 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.263774733 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.264423670 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.265010797 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.265697018 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.266339668 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.267127887 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.267699428 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.268422975 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.269146133 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.269938136 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.270744731 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.271352088 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.272262689 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.273070712 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.273916953 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.274704043 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.274973731 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1309 open Could not open codec hevc, error: -11 2024-12-24 12:14:57.275015212 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1317 open VIDEOIO/FFMPEG: Failed to initialize VideoCapture 2024-12-24 12:14:57.275452120 [ERROR:[email protected]] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception: 2024-12-24 12:14:57.275460971 2024-12-24 12:14:57.275468875 OpenCV(4.9.0) /io/opencv/modules/videoio/src/cap_images.cpp:274: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern' 2024-12-24 12:14:57.275473379 2024-12-24 12:14:57.275477434 2024-12-24 12:14:57.275534282 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.276427251 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.277053079 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.277873335 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.278531163 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.279522936 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.280095882 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.280962477 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.281987392 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.283038136 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.284067316 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.284890557 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. Any ideas where to start?
December 24, 20241 yr Author 18 minutes ago, NeoDude said: My Frigate container has been working fine for months, but now it is completely unresponsive and the log is filled with this constantly repeating... 2024-12-24 12:14:56.899548349 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1309 open Could not open codec h264, error: -11 2024-12-24 12:14:56.899605274 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1317 open VIDEOIO/FFMPEG: Failed to initialize VideoCapture 2024-12-24 12:14:56.905052795 [ERROR:[email protected]] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception: 2024-12-24 12:14:56.905060922 2024-12-24 12:14:56.905066259 OpenCV(4.9.0) /io/opencv/modules/videoio/src/cap_images.cpp:274: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern' 2024-12-24 12:14:56.905069809 2024-12-24 12:14:56.905072841 2024-12-24 12:14:56.962835531 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1309 open Could not open codec hevc, error: -11 2024-12-24 12:14:56.962898643 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1317 open VIDEOIO/FFMPEG: Failed to initialize VideoCapture 2024-12-24 12:14:56.963260058 [ERROR:[email protected]] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception: 2024-12-24 12:14:56.963270044 2024-12-24 12:14:56.963278108 OpenCV(4.9.0) /io/opencv/modules/videoio/src/cap_images.cpp:274: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern' 2024-12-24 12:14:56.963283043 2024-12-24 12:14:56.963287198 2024-12-24 12:14:57.022093372 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1309 open Could not open codec hevc, error: -11 2024-12-24 12:14:57.022108131 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1317 open VIDEOIO/FFMPEG: Failed to initialize VideoCapture 2024-12-24 12:14:57.022455378 [ERROR:[email protected]] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception: 2024-12-24 12:14:57.022463206 2024-12-24 12:14:57.022468553 OpenCV(4.9.0) /io/opencv/modules/videoio/src/cap_images.cpp:274: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern' 2024-12-24 12:14:57.022471635 2024-12-24 12:14:57.022474640 2024-12-24 12:14:57.034811114 ::ffff:172.16.20.1 - - [24/Dec/2024:12:14:57 +0000] "GET /api/front/latest.jpg?cache=1735042505379&undefined HTTP/1.1" 200 36728 "http://172.16.50.200:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" "-" 2024-12-24 12:14:57.092048144 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1309 open Could not open codec hevc, error: -11 2024-12-24 12:14:57.092108985 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1317 open VIDEOIO/FFMPEG: Failed to initialize VideoCapture 2024-12-24 12:14:57.092523352 [ERROR:[email protected]] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception: 2024-12-24 12:14:57.092529097 2024-12-24 12:14:57.092534026 OpenCV(4.9.0) /io/opencv/modules/videoio/src/cap_images.cpp:274: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern' 2024-12-24 12:14:57.092537254 2024-12-24 12:14:57.092540227 2024-12-24 12:14:57.156584174 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1309 open Could not open codec hevc, error: -11 2024-12-24 12:14:57.156599451 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1317 open VIDEOIO/FFMPEG: Failed to initialize VideoCapture 2024-12-24 12:14:57.156907787 [ERROR:[email protected]] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception: 2024-12-24 12:14:57.156913131 2024-12-24 12:14:57.156918089 OpenCV(4.9.0) /io/opencv/modules/videoio/src/cap_images.cpp:274: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern' 2024-12-24 12:14:57.156921161 2024-12-24 12:14:57.156924174 2024-12-24 12:14:57.208379230 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1309 open Could not open codec hevc, error: -11 2024-12-24 12:14:57.208440927 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1317 open VIDEOIO/FFMPEG: Failed to initialize VideoCapture 2024-12-24 12:14:57.208846752 [ERROR:[email protected]] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception: 2024-12-24 12:14:57.208854029 2024-12-24 12:14:57.208861734 OpenCV(4.9.0) /io/opencv/modules/videoio/src/cap_images.cpp:274: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern' 2024-12-24 12:14:57.208866456 2024-12-24 12:14:57.208870963 2024-12-24 12:14:57.240746651 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.241344366 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.242191992 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.242898713 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.243761151 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.244577431 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.245236132 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.246096248 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.246996348 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.247794019 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.248569004 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.249577805 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.251691963 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.254828216 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.255207010 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.255630032 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.255967289 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.256327053 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.256932775 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.257556212 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.258291201 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.259415654 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.260182907 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.260875767 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.261732734 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.262457294 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.263023508 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.263774733 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.264423670 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.265010797 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.265697018 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.266339668 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.267127887 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.267699428 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.268422975 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.269146133 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.269938136 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.270744731 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.271352088 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.272262689 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.273070712 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.273916953 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.274704043 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.274973731 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1309 open Could not open codec hevc, error: -11 2024-12-24 12:14:57.275015212 [ERROR:[email protected]] global cap_ffmpeg_impl.hpp:1317 open VIDEOIO/FFMPEG: Failed to initialize VideoCapture 2024-12-24 12:14:57.275452120 [ERROR:[email protected]] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception: 2024-12-24 12:14:57.275460971 2024-12-24 12:14:57.275468875 OpenCV(4.9.0) /io/opencv/modules/videoio/src/cap_images.cpp:274: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern' 2024-12-24 12:14:57.275473379 2024-12-24 12:14:57.275477434 2024-12-24 12:14:57.275534282 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.276427251 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.277053079 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.277873335 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.278531163 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.279522936 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.280095882 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.280962477 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.281987392 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.283038136 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.284067316 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. 2024-12-24 12:14:57.284890557 [2024-12-24 12:14:57] frigate.video ERROR : door: Unable to read frames from ffmpeg process. Any ideas where to start? Did you change anything?
December 24, 20241 yr 8 minutes ago, yayitazale said: Did you change anything? Nope. But upgrading to the latest Beta seems to have it working again.
December 30, 20241 yr Hi, I have (2) GPUs installed on my unraid server: GTX 1660 and RTX 4070. I would like for Frigate to just use one, the GTX 1660. I have setup my parameters accordingly, but both GPUs keep showing up in the System Metrics. docker run -d --name='frigate' --net='bridge' --privileged=true -e TZ="America/New_York" -e HOST_OS="Unraid" -e HOST_HOSTNAME="Tower" -e HOST_CONTAINERNAME="frigate" -e 'FRIGATE_RTSP_PASSWORD'='xxxxxxxxxxxxxx' -e 'NVIDIA_VISIBLE_DEVICES'='GPU-bdacb15e-0574-7cb8-db6e-5eb63d550e36' -e 'NVIDIA_DRIVER_CAPABILITIES'='compute,utility,video' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:5000]' -l net.unraid.docker.icon='https://raw.githubusercontent.com/yayitazale/unraid-templates/main/frigate.png' -p '5000:5000/tcp' -p '8554:8554/tcp' -p '8555:8555/tcp' -p '8555:8555/udp' -p '1984:1984/tcp' -p '8971:8971/tcp' -v '/mnt/user/appdata/frigate':'/config':'rw' -v '/mnt/user/Media/frigate':'/media/frigate':'rw' -v '/etc/localtime':'/etc/localtime':'rw' --device='/dev/bus/usb/' --shm-size=1024mb --mount type=tmpfs,target=/tmp/cache,tmpfs-size=1000000000 --restart unless-stopped --runtime=nvidia 'ghcr.io/blakeblackshear/frigate:0.14.0-tensorrt' 6cff37359b8987a99e637657cc67ef72be2e9db04c866a132a2898a52334ee0f The command finished successfully!
December 30, 20241 yr Hello, is it possible to change the image saving path with an http host? Edited December 30, 20241 yr by sapphireone
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.