Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restart ffmpeg if process exceeds detect fps by 10 #5280

Merged
merged 3 commits into from
Jan 29, 2023
Merged

Conversation

NickM-27
Copy link
Sponsor Collaborator

@NickM-27 NickM-27 commented Jan 28, 2023

I found that using go2rtc as a source for detect can occasionally lead to a broken stream which doesn't exit and keeps sending the same frame over and over leading to 100+ fps and high CPU usage. Might be a go2rtc issue but figure it is worth catching here anyway as it could happen with cameras as well.

Screen Shot 2023-01-29 at 11 11 50 AM

@netlify
Copy link

netlify bot commented Jan 28, 2023

Deploy Preview for frigate-docs canceled.

Name Link
🔨 Latest commit 214967e
🔍 Latest deploy log https://app.netlify.com/sites/frigate-docs/deploys/63d688003d1e3a000824a436

frigate/video.py Outdated Show resolved Hide resolved
NickM-27 and others added 2 commits January 29, 2023 07:50
Co-authored-by: Felipe Santos <felipecassiors@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants