Difference between revisions of "Raspberry Pi Video Streaming"

From TheBeard Science Project Wiki
Jump to: navigation, search
(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...")
(No difference)

Revision as of 22:23, 12 June 2019

Plug in the Pi Camera and start the Raspberry Pi. To following steps were done on Raspbian Jessie 2017-05-07.

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