Bugfinder is a modular streaming application that supports live video feeds using Nginx with RTMP and HLS configurations, built for use in an Nginx environment with service management and device configurations.
- System packages: See
preres.sh
for the installation of system dependencies. - Conda packages: Installed by
install_conda.sh
, includinggitpython
,pyyaml
,flask
,opencv
, andrequests
. - FFmpeg: Used for video streaming, installed as part of system requirements.
- Streaming Devices: Details on configured devices are in
used_devices.txt
.
Run preres.sh
to install system dependencies and prepare the environment.
bash preres.sh
Run install_conda.sh
to set up the bugfinder
environment with necessary Python packages.
bash install_conda.sh
Install and configure Nginx with RTMP support using Nginx_install.py
.
python3 Nginx_install.py
Configuration files for Nginx, including nginx.conf
and nginx_vars.yml
, set up paths and RTMP module options. Use nginx-rtmp.service
to manage Nginx as a systemd service:
sudo systemctl enable nginx-rtmp.service
sudo systemctl start nginx-rtmp.service
- Web Interface: Access live streams via the
index.html
page. - Service Management: Use
streams.service
andnginx-rtmp.service
to manage streams and Nginx server. - Streaming: Start streaming manually with
start_streams.sh
or throughffmpeg-cmd.sh
for single-camera configurations.
File | Description |
---|---|
conf_loader.py |
Loads configuration settings for the application. |
main.py |
Entry point of the application, handling primary logic. |
Nginx_install.py |
Installs and configures Nginx with RTMP support. |
nginx_vars.yml |
Configurable paths and Nginx settings. |
install_conda.sh |
Installs Anaconda and sets up the bugfinder Conda environment. |
preres.sh |
Installs system dependencies. |
index.html |
Front-end page for live streaming, utilizing HLS. |
50x.html |
Error page displayed during server issues. |
nginx.conf |
Nginx configuration file. |
nginx-rtmp.service |
Systemd service file for managing Nginx with RTMP support. |
streams.service |
Manages streaming services using systemd. |
used_devices.txt |
Details on streaming devices and their configurations. |
ffmpeg-cmd.sh |
FFmpeg command for single-camera streaming. |
start_streams.sh |
Starts multiple camera streams using FFmpeg commands. |
- IP addresses in
index.html
should be updated to match your network. - Streaming devices and configurations, including input sources and camera parameters, are listed in
used_devices.txt
.