This is an old revision of the document!
Documentation: https://wiki.videolan.org/Documentation:Streaming_HowTo/Command_Line_Examples/
HTTP streaming
Stream in HTTP:
* on the server, run:
vlc -vvv input_stream --sout '#standard{access=http,mux=ogg,dst=server.example.org:8080}'
* on the client(s), run:
vlc http://server.example.org:8080
Transcode and stream in HTTP
vlc -vvv input_stream --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:standard{access=http,mux=ogg,dst=server.example.org:8080}'
Recording a live video stream
vlc http://example.com/live.asf --sout="#duplicate{dst=std{access=file,mux=asf,dst='C:\test\test.asf'},dst=nodisplay}"
- For example, if you want to stream an audio CD in Ogg/Vorbis over HTTP:
vlc -vvv cdda:/dev/cdrom --sout '#transcode{acodec=vorb,ab=128}:standard{access=http,mux=ogg,dst=server.example.org:8080}'