This project provides a convenient way to set up and start an RTSP
(Real-Time Streaming Protocol) server for streaming webcam video. It includes two bash scripts: aqueo_temp.sh
for manually starting the server and aqueo_auto.sh
for creating an autostarting server.
- Stream webcam video over RTSP for surveillance purposes.
- Integrate the RTSP server with other applications or services that require video streaming.
- Run the script:
./aqueo_temp.sh
- Follow the prompts to enter the required information:
- Device (webcam) name or path
- Port number
- Username
- Password
- The RTSP server will start running in the background.
- To stop the server, press Enter when prompted.
- Make sure you have previously run
aqueo_temp.sh
to create the configuration file. - Add
aqueo_auto.sh
to your system's startup process (e.g., using init.d, systemd, or startup applications). Refer to the documentation for your specific operating system. - The RTSP server will start automatically during system startup using the previously configured parameters.
- The
v4l2rtspserver
command-line tool needs to be installed on your system. You can find installation instructions in the project documentation or the v4l2rtspserver official repository.
ββ Start Program
β
ββ [Enter Device Information]
β ββ [Enter device (webcam) name or path]
β ββ [Enter port number]
β ββ [Enter username]
β ββ [Enter password]
β
ββ [Start RTSP Server]
β ββ [Starting RTSP server...]
β ββ [nohup v4l2rtspserver...]
β ββ [RTSP server started.]
β
ββ [Write Server Information]
β ββ [Device: $device]
β ββ [Port: $port]
β ββ [Username: $username]
β ββ [Password: $password]
β
ββ [Stop RTSP Server]
ββ [Press Enter to stop the RTSP server.]
ββ [Stopping RTSP server...]
ββ [killall v4l2rtspserver]
ββ [RTSP server stopped.]
ββ Start Program
β
ββ [Check Configuration File]
β ββ [Check if the configuration file exists]
β ββ [Read configuration parameters from the file]
β β ββ [device]
β β ββ [port]
β β ββ [username]
β β ββ [password]
β ββ [Start RTSP Server]
β ββ [Starting RTSP server...]
β ββ [nohup v4l2rtspserver...]
β ββ [RTSP server started.]
β
ββ End Program
The password is stored PLAINTEXT in the user's home directory. This is typically considered a risky practice.
- Ensure that you set a secure password to prevent unauthorized access to your webcam stream.
- Make sure to secure the server and restrict access to trusted users or networks to avoid potential privacy risks.
- The script assumes that the
v4l2rtspserver
command-line tool is installed and available on the system. - Compatibility with different webcam devices may vary, and not all devices may be supported.
- The scripts are intended for Linux systems and may require adjustments for other operating systems.
This software is provided "as is" and without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.
The authors do not endorse or support any harmful or malicious activities that may be carried out with the software. It is the user's responsibility to ensure that their use of the software complies with all applicable laws and regulations.
These files released under the MIT License.