User Tools

Site Tools


This is an old revision of the document!

Create a VLC-readable stream

If you would like to see a realtime stream from your RaspberryPi Cam, the best solution is to use VLC as a streaming-client.

First you have to install vlc-tools by installing “vlc”:

sudo apt-get update
sudo apt-get install vlc

Then just run the usual raspivid command, pushing all output to stdin and pipe this into cvlc to create the broadcast networkstream:

raspivid -n -o - -t 999999 -w 1024 -h 768 -fps 25 | cvlc stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8090}' :demux=h264

Expecting your raspi has e.g. the IP, then you can just open VLC and open a new networkstream by opening:

The port you choose (here 8090) is flexible, so you can choose a port on your own. In addition you can also choose the resolution, in this example I chose 1024px * 768px.

Beside a lot of other internet examples you can also use “-t 0” for unlimited streaming, instead of putting in the many nines.

createvlcstream.1381345813.txt.gz · Last modified: 09.10.2013 21:10 by derk