-
Notifications
You must be signed in to change notification settings - Fork 1
Video Streaming old
-
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.list
deb http://www.linux-projects.org/listing/uv4l_repo/raspbian/ wheezy stretch
-
Run the following commands:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install uv4l uv4l-raspicam
sudo apt-get install uv4l-raspicam-extras
sudo apt-get install uv4l-server
sudo apt-get install uv4l-uvc
sudo apt-get install uv4l-xscreen
sudo apt-get install uv4l-mjpegstream
sudo 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
ifconfig
to 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