Docker container for save RTSP frames from multiple sources in attached volume data
.
git clone https://github.com/annndruha/rtsp_recorder && cd rtsp_recorder
Copy template setting.json
mv settings_example.json settings.json
Change rtsp_sources_list
links in settings.json (and other parameters if you want)
{
"rtsp_sources_list": [
"rtsp://login:[email protected]:5554/additional/url",
"rtsp://login:[email protected]:5554/additional/url"
],
"time_zone_delta": 3,
"delay": 60,
"resize_to": [1920, 1080],
"skip_frames": 1
}
docker compose up -d
Docker create a volume named data
and starts save frames form different sources in corresponding folders.
The script read settings.json in runtime loop. So, you can add or remove sources and change delay without restarting a container.