Commit Graph

5 Commits

Author SHA1 Message Date
jaredb7 ae94cbc189 Enhancement to allow simultaneous RTSP stream recording
Updated birdnet_recording.sh
With a functional change around how ffmpeg is used to make use if it's functionality to accept multiple input streams and map each to a output file.
Due to the original implementation generating a  filename that contain the date/time streams would be writing to the same file - a small change was make each stream go to it's one file with unique filenames.

Updated livestream.sh & spectrogram.php
The Livestream service would fail if the RTSP stream setting was more than 1 stream (i.e comma separated list of streams)
Made some improvements so streaming is possible from any of the URL's, The Spectrogram page received a new control and some Javascript that allows the user to change between streams, the setting gets saved and the livestream service restarted so it uses's the correct stream.
This control is not visible if there are no RTSP streams configured
By default the livestream service will stream the the first RTSP URL, if the setting is not set or invalid

Updated advanced.php
With a small GUI change around RTSP steam entry by providing a input field for each URL and a button to add more fields.
In the background nothing changes as we use some Javascript to extract the valus entered and fill in the original rtsp_stream value with the correct comma separated string

Updated server.py
To work with the recording filename changes so that the correct filename is stored in the DB

Updated update_birdnet_snippets.sh
To support a new setting RTSP_STREAM_TO_LIVESTREAM on the Spectrogram page and in the livestream service
2023-04-01 22:29:02 +10:00
cgomesu af7d85b6cb ffmpeg: disable stdin interaction
ffmpeg enables interaction on stdin by default, which may have
undesirable consequences when running ffmpeg in the background.
adding `-nostdin` disables interaction via the stdin stream.
2023-01-11 13:19:11 -03:00
David Lamkin d9c80c5231 reduce excessive ffmpeg logging
In livestream.sh logging is set to 52 which seems excessive
a value of 32 (the default):
     'Show informative messages during processing. This is in addition to warnings and errors.'
would seem to be more appropriate.
2022-05-27 11:08:11 +01:00
ehpersonal38 ff9f355271 Update livestream.sh 2022-04-25 10:24:23 -04:00
Patrick McGuire bc2d3df898 updating references to old repo to new repo 2021-09-28 14:48:25 -04:00