Video Streaming old - UMDBPP/LIVE GitHub Wiki
-
Image Raspberry Pi with 2019-04-08-raspbian-stretch.zip here using Balena Etcher.
-
Power the Raspberry Pi, open the terminal, and run
sudo raspi-config. Select "Enable Camera" and "Expand Filesystem". **Nik - I remember these options were buried a bit, please make these directions a bit clearer with screenshots if you can -
Install the Raspicam (uv4l) driver with:
wget http://www.linux-projects.org/listing/uv4l_repo/lrkey.asc && sudo apt-key add ./lrkey.asc -
Add the following line to the file /etc/apt/sources.list:
sudo vim /etc/apt/sources.listdeb http://www.linux-projects.org/listing/uv4l_repo/raspbian/ wheezy stretch -
Run the following commands:
sudo apt-get updatesudo apt-get upgradesudo apt-get install uv4l uv4l-raspicamsudo apt-get install uv4l-raspicam-extrassudo apt-get install uv4l-serversudo apt-get install uv4l-uvcsudo apt-get install uv4l-xscreensudo apt-get install uv4l-mjpegstreamsudo reboot
**Nik - I remember not all these commands being necessary, but I do not remember which were invalid - please delete the ones that do not work
-
Start the streaming server:
sudo uv4l -nopreview --auto-video_nr --driver raspicam --encoding mjpeg --width 1920 --height 1080 --framerate 30 --server-option '--port=9090' --server-option '--max-queued-connections=30' --server-option '--max-streams=25' --server-option '--max-threads=29 -
To view the video feed, open the terminal and run
ifconfigto determine your Raspberry Pi's local IP address and type it into a browser:http://some_ip_address
For more information, refer to this instructable.
Change whatever you see fit Nik to make this as accurate as we can