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

Revamped debug UI and add camera / process info, ffprobe copying #4349

Merged
merged 22 commits into from
Nov 13, 2022

Conversation

NickM-27
Copy link
Sponsor Collaborator

@NickM-27 NickM-27 commented Nov 9, 2022

I think this can stand on its own, #3931 can be rebased on to this and include the GPU information. The GPU PR will also include the ability to copy vainfo output.

This PR revamps the debug screen, adds per process info, and adds an ffprobe button to copy the ffprobe output (including all streams if there are multiple)

Here is a screenshot of the new look:

Screen Shot 2022-11-10 at 07 34 54 AM

Here is a video of getting the ffprobe:

Screen.Recording.2022-11-10.at.7.35.51.AM.mov

@netlify
Copy link

netlify bot commented Nov 9, 2022

Deploy Preview for frigate-docs ready!

Name Link
🔨 Latest commit ecfafdc
🔍 Latest deploy log https://app.netlify.com/sites/frigate-docs/deploys/63711e6c85fa0d00088cec5e
😎 Deploy Preview https://deploy-preview-4349--frigate-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Repository owner deleted a comment from netlify bot Nov 9, 2022
frigate/http.py Outdated Show resolved Hide resolved
frigate/http.py Outdated Show resolved Hide resolved
frigate/util.py Outdated Show resolved Hide resolved
web/src/routes/Debug.jsx Outdated Show resolved Hide resolved
frigate/http.py Outdated Show resolved Hide resolved
@blakeblackshear blakeblackshear merged commit c97aac6 into blakeblackshear:dev Nov 13, 2022
herostrat pushed a commit to herostrat/frigate that referenced this pull request Nov 24, 2022
…keblackshear#4349)

* Move each camera to a separate card and show per process info

* Install top

* Add support for cpu usage stats

* Use cpu usage stats in debug

* Increase number of runs to ensure good results

* Add ffprobe endpoint

* Get ffprobe for multiple inputs

* Copy ffprobe in output

* Add fps to camera metrics

* Fix lint errors

* Update stats config

* Add ffmpeg pid

* Use grid display so more cameras can take less vertical space

* Fix hanging characters

* Only show the current detector

* Fix bad if statement

* Return full output of ffprobe process

* Return full output of ffprobe process

* Don't specify rtsp_transport

* Make ffprobe button show dialog with output and option to copy

* Adjust ffprobe api to take paths directly

* Add docs for ffprobe api
@NickM-27 NickM-27 deleted the revamped-debug branch November 29, 2022 02:43
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

2 participants