Comments (5)
These logs indicate that the data that is received is corrupt and cv2 as well as ffprobe can not extract necessary data
from frigate.
Ok I figured it would be a crappy stream from the DVR. Is there anything I can do to stop Frigate from consuming all the system memory?
I will see if I can update firmware on the DVR to see if that helps.
from frigate.
on frigate side you can try using docker to limit the memory available. Can also try using ffmpeg
in the go2rtc config
from frigate.
So I added "ffmpeg:rtsp://username:[email protected]:554/chID=02&streamType=sub#video=copy#audio=copy"
to both front and rear cameras and the front seems ok now. The rear is still not happy:
2024-02-13 14:40:34.102315939 [2024-02-13 14:40:34] ffmpeg.rear.detect ERROR : [rtsp @ 0x5618397eb100] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
2024-02-13 14:40:34.102403139 [2024-02-13 14:40:34] ffmpeg.rear.detect ERROR : Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
2024-02-13 14:40:34.102642923 [2024-02-13 14:40:34] ffmpeg.rear.detect ERROR : Output file #0 does not contain any stream
2024-02-13 14:40:54.123370823 [2024-02-13 14:40:54] watchdog.rear INFO : rear exceeded fps limit. Exiting ffmpeg...
2024-02-13 14:40:54.123595478 [2024-02-13 14:40:54] watchdog.rear INFO : Waiting for ffmpeg to exit gracefully...
2024-02-13 14:40:54.246640357 [2024-02-13 14:40:54] frigate.video ERROR : rear: Unable to read frames from ffmpeg process.
2024-02-13 14:40:54.246843432 [2024-02-13 14:40:54] frigate.video ERROR : rear: ffmpeg process is not running. exiting capture thread...
2024-02-13 14:41:04.248086204 [2024-02-13 14:41:04] watchdog.rear ERROR : Ffmpeg process crashed unexpectedly for rear.
2024-02-13 14:41:04.254371772 [2024-02-13 14:41:04] watchdog.rear ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-13 14:41:04.254381697 [2024-02-13 14:41:04] ffmpeg.rear.detect ERROR : [segment @ 0x563c51f24f00] 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
2024-02-13 14:41:04.254386452 [2024-02-13 14:41:04] ffmpeg.rear.detect ERROR : [segment @ 0x563c51f24f00] Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file.
2024-02-13 14:41:14.241129040 [2024-02-13 14:41:14] frigate.video ERROR : rear: Unable to read frames from ffmpeg process.
2024-02-13 14:41:14.241230277 [2024-02-13 14:41:14] frigate.video ERROR : rear: ffmpeg process is not running. exiting capture thread...
2024-02-13 14:41:14.261487461 [2024-02-13 14:41:14] watchdog.rear ERROR : Ffmpeg process crashed unexpectedly for rear.
2024-02-13 14:41:14.261492332 [2024-02-13 14:41:14] watchdog.rear ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-13 14:41:14.261494260 [2024-02-13 14:41:14] ffmpeg.rear.detect ERROR : [rtsp @ 0x559592df6100] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
2024-02-13 14:41:14.261495929 [2024-02-13 14:41:14] ffmpeg.rear.detect ERROR : Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
2024-02-13 14:41:14.261497293 [2024-02-13 14:41:14] ffmpeg.rear.detect ERROR : Output file #0 does not contain any stream
from frigate.
on frigate side you can try using docker to limit the memory available.
I'm using HA OS unfortunately so I don't think that's an option.
from frigate.
Related Issues (20)
- [Support]: Error fetching information from http://ccab4aaf-frigate-fa-beta:5000/api/stats: Cannot connect to host ccab4aaf-frigate-fa-beta:5000 ssl:default [Name has no usable address] HOT 4
- [Detector Support]: Objects rarely or not being detected HOT 4
- [Detector Support]: problem using coral HOT 7
- Frigate cameras unavailable in HA HOT 7
- [Camera Support]: Trying to set up PTZ auto tracking HOT 1
- [Support]: TRT Devcontainer Broken HOT 1
- [Config Support]: FFMPEG will fail on reolink doorbell randomly, no edits to config or passwords is made prior to failure. HOT 4
- [Support]: Frigate 12 vs 13 mqtt payload differences HOT 3
- [Support]: Unstable/experimental builds are not enabled, Frigate is exiting. HOT 3
- inactivity_threshold seems broken HOT 1
- [Support]: Frigate errors and unable to stream to tv in automations HOT 15
- Specify different detectors or models per camera HOT 2
- When creating a zone, show other zones HOT 2
- Detect and Recording toggle buttons turns off after restart HOT 2
- Dual Storage Path Events and Continuous HOT 1
- [Function adjustment] It should only display the gpu usage occupied by frigate HOT 1
- invalid HOT 1
- [FR] Link to recording from events page HOT 4
- Multiple storage volumes/devices HOT 1
- After Update last Version Error fetching information from http://ccab4aaf-frigate:5000/api/stats: Cannot connect to host ccab4aaf-frigate:5000 ssl:default [Connect call failed ('172.30.33.5', 5000)] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frigate.