Difference between revisions of "Raspberry Pi Video Streaming"

From TheBeard Science Project Wiki
Jump to: navigation, search
Line 27: Line 27:

Latest revision as of 22:58, 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