VLC streaming

Revision as of 01:48, 26 March 2013 by Olimex (talk | contribs) (Created page with "===VLC video Streaming=== <br> To do video streaming you have to install VLC and proper video codec: <pre> # apt-get install vlc # apt-get install libavcodec-extra-53 # chm...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

VLC video Streaming


To do video streaming you have to install VLC and proper video codec:


# apt-get install vlc
# apt-get install libavcodec-extra-53
# chmod 777 /dev/video*
# adduser vlc
# su vlc
# cvlc v4l2:// :v4l2-vdev="/dev/video0" :v4l-adev="/dev/null" --sout 
'#transcode{vcodec=mpg2,vb=2048,scale=0.4}:standard{access=http,mux=ogg,dst=:8080}'

what vlc parameters are available and what they mean is described here

Now to watch the camera you need video player.
For example: start VLC media player, from file menu -> open network stream and type http://XXX.XXX.XXX.XXX:8080 where XXX.XXX.XXX.XXX is A13_OLinuXino IP address.