Giter Site home page Giter Site logo

Comments (5)

NickM-27 avatar NickM-27 commented on June 6, 2024

These logs indicate that the data that is received is corrupt and cv2 as well as ffprobe can not extract necessary data

from frigate.

Morphy99 avatar Morphy99 commented on June 6, 2024

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.

NickM-27 avatar NickM-27 commented on June 6, 2024

on frigate side you can try using docker to limit the memory available. Can also try using ffmpeg in the go2rtc config

from frigate.

Morphy99 avatar Morphy99 commented on June 6, 2024

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.

Morphy99 avatar Morphy99 commented on June 6, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.