-
Notifications
You must be signed in to change notification settings - Fork 4
Home
-
Download/install Etcher
-
Download RPi image
-
Burn image to SD card
-
touch /Volumes/boot/ssh
-
cp wpa_supplicant.conf /Volumes/boot
-
sudo raspi-config (enable SSH, enable camera)
-
(setup ssh keys)
-
(remove password-based ssh)
-
(update pi user password)
-
sudo apt-get install -y python-pip
-
pip install --user picamera
-
apt-get install -y vlc
-
https://www.jeffgeerling.com/blogs/jeff-geerling/raspberry-pi-zero-conserve-energy
-
sudo update-rc.d -f bluetooth remove
-
(download nginx source)
-
(unzip nginx source)
-
(clone nginx-rtmp source)
-
apt-get install -y libpcre3 libpcre3-dev libssl-dev zlib1g-dev
-
cd nginx-1.10.3
-
./configure --add-module=/home/pi/nginx-rtmp-module
-
make
-
sudo make install
-
Raspivid docs: https://www.raspberrypi.org/documentation/raspbian/applications/camera.md
-
Browser-based video: https://raspberrypi.stackexchange.com/a/7657
sudo modprobe bcm2835-v4l2
You can add the line to /etc/modules to get the kernel to insert the module on boot automatically.
echo "bcm2835-v4l2" | tee -a /etc/modules
Ensure you can run the command first sudo modprobe bcm2835-v4l2
avconv -f video4linux2 -s 640×360 -r 10 -b 350k -i /dev/video0 -f flv rtmp://some/rtmp_streaming_server/
v4l2-ctl --list-formats
https://sites.google.com/site/how2raspberrypi/streaming-video-with-vlc https://www.reddit.com/r/raspberry_pi/comments/2krkgp/where_is_the_dev_location_of_the_pi_camera_module/ https://sandilands.info/sgordon/live-webca-streaming-using-vlc-command-line