1
<?xml version="1.0" encoding="UTF-8"?>
2
<chapter id="receive"><title id="treceive">
3
Receive and save a stream
7
Receive a stream with VLC
11
Receive an unicast stream
15
<prompt>% </prompt><userinput>vlc -vvv udp:</userinput>
21
Receive a multicast stream
26
<prompt>% </prompt><userinput>vlc -vvv udp:@239.255.12.42</userinput>
30
where <emphasis>239.255.12.42</emphasis> is the
31
multicast IP address you want to join.
38
Receive an HTTP/FTP/MMS stream
43
Use one of the following command lines:</para>
50
<prompt>% </prompt><userinput>vlc -vvv http://example/stream.xyz</userinput>
54
where <emphasis>http://example/stream.xyz</emphasis>
55
is the HTTP address of the stream;</para>
62
<prompt>% </prompt><userinput>vlc -vvv ftp://example/stream.xyz</userinput>
66
where <emphasis>ftp://example/stream.xyz</emphasis>
67
is the FTP address of the stream;</para>
73
<prompt>% </prompt><userinput>vlc -vvv mms://viptvr.yacast.fr/encoderfranceinfo</userinput>
78
<emphasis>mms://viptvr.yacast.fr/encoderfranceinfo</emphasis> is the MMS
79
address of the stream.
89
Receive a RTP stream available through RTSP
94
<prompt>% </prompt><userinput>vlc -vvv rtsp://www.hardradio.com/tonbeme.mov</userinput>
98
where <emphasis>rtsp://www.hardradio.com/tonbeme.mov</emphasis> is the address of the stream.
105
Receive a stream described by an SDP file
110
<prompt>% </prompt><userinput>vlc -vvv http://server.example.org/stream.sdp</userinput>
117
Save a stream with VLC
122
VLC can save the stream to the disk. In order
123
to do this, use the Stream Output of VLC : you can do it via the
124
graphical interface, or you can add to the command line the following
128
<userinput>--sout file/muxer:stream.xyz</userinput>
138
<listitem><para><emphasis>muxer</emphasis>
139
is one of the formats supported by VLC's stream
146
<listitem><para><emphasis>ogg</emphasis>
147
for OGG format,</para></listitem>
149
<listitem><para><emphasis>ps</emphasis>
150
for MPEG2-PS format,</para></listitem>
152
<listitem><para><emphasis>ts</emphasis>
153
for MPEG2-PS format.</para></listitem>
160
and <filename>stream.xyz</filename> is the name of
161
the file you want to save the stream to, with the right extension.
170
Receive a stream with a set-top-box
175
Some set-top-boxes with Ethernet cards can receive
176
MPEG2-TS streams over UDP and support multicast.
180
Set-top-boxes known to work with VLC are :
184
<listitem><para><ulink url="http://www.pace.co.uk">Pace</ulink> set top boxes. (Pace Micro DSL 4000)</para></listitem>
185
<listitem><para><ulink url="http://www.aminocom.com">Aminocom</ulink> set top boxes. (all the models with mpeg2)</para></listitem>
186
<listitem><para>tuxia / gct-allwell (mpeg4 and mpeg2) sigma designs8174 chipset</para></listitem>
187
<listitem><para>i3micro mood200 (mpeg4 and mpeg2 in transport streams)</para></listitem>