Difference between revisions of "Raspberry Pi Video Streaming"
From TheBeard Science Project Wiki
(Created page with " Plug in the Pi Camera and start the Raspberry Pi. To following steps were done on Raspbian Jessie 2017-05-07. Update packages: <source> sudo apt-get update sudo apt-get upgr...") |
|||
Line 1: | Line 1: | ||
− | Plug in the Pi Camera and start the Raspberry Pi. To following steps were done on Raspbian Jessie 2017-05 | + | Plug in the Pi Camera and start the Raspberry Pi. To following steps were done on [http://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2017-07-05/ Raspbian Jessie 2017-07-05]. |
Update packages: | Update packages: |
Revision as of 22:30, 12 June 2019
Plug in the Pi Camera and start the Raspberry Pi. To following steps were done on Raspbian Jessie 2017-07-05.
Update packages:
sudo apt-get update
sudo apt-get upgrade
Install VLC:
sudo apt-get install vlc
Run the configuration tool and enable the camera, then reboot:
sudo raspi-config
Now run raspivid
and pipe it to cvlc
:
raspivid -o - -t 0 -rot 90 -fps 24 |cvlc -vvv stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8160}' :demux=h264
On the client machine, run VLC and go to Media > Open Network Stream... then enter the following (assuming the server IP is 192.168.0.1):
http://192.168.0.1:8160