At the VLC-documentation, there is a great chapter about that:
Just choose the type of stream which fits your type of stream and fill in the correct address
and serverport
.
Receiving a network stream
To receive an unicast UDP stream (sent by VLS or VLC's stream output),
start VLC with:
% vlc -vvv udp:[@:server_port]
To receive an multicast UDP stream (sent by VLS or VLC's stream
output), start VLC with:
% vlc -vvv udp:@multicast_address[:server_port]
To receive a HTTP stream, start VLC with :
% vlc -vvv http://www.example.org/your_file.mpg
To receive a RTSP stream, start VLC with:
% vlc -vvv rtsp://www.example.org/your_stream