Dependencies:

apt-get install vlc-nox

File to stream:

cvlc -v file.mp4 --sout '#standard{access=http,mux=asf,dst=0.0.0.0:8080}'

Authenticated Stream to Stream (without audio)

cvlc -v http://x.x.x.x:pppp/test --no-sout-audio --sout-http-user foo --sout-http-pwd foopass --sout '#standard{access=http,mux=asf,dst=0.0.0.0:8080}'

More options:

vlc -H

More info:

http://www.videolan.org/doc/streaming-howto/en/

http://www.videolan.org/doc/streaming-howto/en/ch04.html

Related content