Revamped debug UI and add camera / process info, ffprobe copying (#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
This commit is contained in:
Nicolas Mowen
2022-11-13 11:48:14 -07:00
committed by GitHub
parent 9c9220979e
commit c97aac6c94
7 changed files with 235 additions and 52 deletions

View File

@@ -63,6 +63,7 @@ RUN apt-get -qq update \
apt-transport-https \
gnupg \
wget \
procps \
unzip tzdata libxml2 xz-utils \
python3-pip \
# add raspberry pi repo