RaspberryPi RTSP Streaming Camera
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
export-image
nbproject
scripts
stage0
stage1
stage2
stage3
.dockerignore
.gitignore
.travis.yml
Dockerfile
LICENSE
LICENSE_PI-GEN
README.md
build-docker.sh
build.sh
config
docker-compose.yml

README.md

RaspberryPiStreamingCamera

This project uses the Raspberry Pi Camera. The image will be streamed in H.264 over the integrated RTSP Server. This project is meant to be very secure, therefore we renounce e.g. on a web interface, which whould provides an attack area.

Build:

The Build on Travis-CI failed due to missing binfmt-support. I am now using my own Build System.

Used Software by this project:

Hardware Tips:

Howto:

  • Unzip your downloaded image, and write it to SD card with win32 disk imager.
  • Place a wpa_supplicant.conf file on the boot partition to connect the camera with you WIFI. Consider multiple AP for am more stable communication in case an AP goes down.
  • The Raspberry Pi is configured for DHCP and will therefore retrieve an IP address, that will displayed on boot, in case you cant find it in your router/DHCP Server.
  • SSH is enabled by default. The default login is: username 'pi' and password 'raspberry'. !!! You need to change that. !!!
  • If you can access the PI with ssh you should be able to connect the RTSP Server (for example with vlc) with URL rtsp://<PI-IP-ADDRESS>:8554

What is handled by the installation files or image?

  • Enable camera (Image only)
  • Preparing Raspbian - Regenerate security keys (best practice) (Image only)
  • Preparing Raspbian - Enable ssh
  • Update System
  • Install UV4L components
  • Install the RTSP server
  • Best practise configuration (all working from start)

Optional:

  • Readonly - Remove rsyslog and install a memory resident variant
  • Readonly - configure the boot options to be read-only on next boot

Build your own image:

Install with script, manually on existing device:

  • checkout this repository
git clone git@github.com:florian-asche/RaspberryPiStreamingCamera.git
cd RaspberryPiStreamingCamera
  • goto stage3/files directory
cd stage3
cd files
  • Enable camera
raspi-config
[...]
  • Install Software and configure them
./install.sh

Optional: Make device readonly:

cd /installfiles/
./make_me_readonly.sh

Configuration:

The configuration is made the best way i could find. It should be perfect. If you still want to change that, you can to so here:

sudo su
cd /etc/uv4l/

Thanks: