Exposes the audio levels of a stream to Prometheus
Project description
Helios
Monitors an RTMP stream and reports the audio levels to Prometheus
Building
Installing from source is done as follows
python3 setup.py install
Install
Production Install
Helios is available from PyPi as helios-monitor. It can be installed using
sudo apt install ffmpeg
pip install helios-monitor
Helios exposes a Prometheus metrics endpoint with the volume of the stream that can be scraped.
Helios can then be run using
helios <stream_url>
Development Install
When developing Helios, it is useful to use a virtual environment to avoid poluting your desktop with unnecessary libraries. This is done using VirtualEnv.
Once VirtualEnv is installed, fork, clone the repo and create a virtual environment:
sudo apt install ffmpeg
git clone https://salsa.debian.org/debconf-video-team/helios
cd helios
virtualenv -p python3 pyenv
pyenv/bin/pip install -e .
Then the project can be edited and finally run as follows:
pyenv/bin/helios <stream url>
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for helios_monitor-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a96648cc053e11d2c54b76ef80b6fb5beb37a66b1736da044a36625cac23b7e2 |
|
MD5 | 428c204681bc67d982916ba9cb38ba96 |
|
BLAKE2b-256 | 9ad8ab1bf64035f3e7d07f998a1443840af8c58488395ab8078e1044b2043d5a |