old-www/HOWTO/VideoLAN-HOWTO/x1194.html

462 lines
5.5 KiB
HTML

<HTML
><HEAD
><TITLE
>&#13;Stream in IPv6
</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="VideoLAN HOWTO"
HREF="index.html"><LINK
REL="UP"
TITLE="
Stream in IPv6
"
HREF="ipv6.html"><LINK
REL="PREVIOUS"
TITLE="
Stream in IPv6
"
HREF="ipv6.html"><LINK
REL="NEXT"
TITLE="
Receive in IPv6
"
HREF="x1245.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>VideoLAN HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="ipv6.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 10. Stream in IPv6</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x1245.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="AEN1194"
></A
>10.1. Stream in IPv6</H1
><DIV
CLASS="note"
><P
></P
><TABLE
CLASS="note"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>&#13;You will need an IPv6-aware operating system, like
Linux 2.4.21 with the <EM
>ipv6</EM
> module loaded, Windows
XP Service Pack 1 or Mac OS X version 10.2 or higher. Please look at the
features pages on the <A
HREF="http://www.videolan.org"
TARGET="_top"
>VideoLAN web
site</A
> to know about the status of IPv6 in VLC and VLS for each
O.S
.</P
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="warning"
><P
></P
><TABLE
CLASS="warning"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/warning.gif"
HSPACE="5"
ALT="Warning"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>&#13;If you are using VMware under Linux, you will have
to stop VMware and unload the VMware kernel modules, because we noticed
it prevented IPv6 streaming
!</P
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN1202"
></A
>10.1.1. Stream with VLC</H2
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;<TT
CLASS="prompt"
>% </TT
><TT
CLASS="userinput"
><B
>vlc -vvv video1.xyz --ipv6 --sout udp:[ff08::1] --ttl 12</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;where
:</P
><P
></P
><UL
><LI
><P
><TT
CLASS="filename"
>video1.xyz</TT
>
is the file you want to stream (you can also put
<B
CLASS="command"
>dvdold:/dev/dvd</B
> to stream a DVD or any other input
configuration)
,</P
></LI
><LI
><P
><EM
>ff08::1</EM
>
is either
:</P
><P
></P
><UL
><LI
><P
>&#13;the IPv6 address of the machine you want to unicast
to
;</P
></LI
><LI
><P
>&#13;or the multicast IPv6 address
.</P
></LI
></UL
></LI
><LI
><P
><EM
>12</EM
>
is the value of the TTL (Time To
Live) of your IP packets (which means that the stream will be
able to cross 11 routers)
.</P
></LI
></UL
><DIV
CLASS="note"
><P
></P
><TABLE
CLASS="note"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>&#13;Under Unix/Linux, you may have to protect the square
brackets around the IPv6 address
:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;<TT
CLASS="prompt"
>% </TT
><TT
CLASS="userinput"
><B
>vlc -vvv video1.xyz --ipv6 --sout udp:\[ff08::1\] --ttl 12</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="note"
><P
></P
><TABLE
CLASS="note"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>&#13;You may have to specify the output network
interface
:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;<TT
CLASS="prompt"
>% </TT
><TT
CLASS="userinput"
><B
>vlc -vvv video1.xyz --ipv6 --sout udp:[ff08::1%eth0] --ttl 12</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;where <EM
>eth0</EM
> is the name of the
network interface (under Linux the network interfaces
are named <EM
>ethX</EM
>, under Mac OS X it's
<EM
>enX</EM
> and under Windows it's <EM
>X</EM
>,
where <EM
>X</EM
> is the appropriate number)
.</P
></TD
></TR
></TABLE
></DIV
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN1240"
></A
>10.1.2. Stream with VLS</H2
><P
>&#13;You will need to use the configuration
file <TT
CLASS="filename"
>vls.cfg</TT
>. Please, see the <A
HREF="http://www.videolan.org/doc/"
TARGET="_top"
>VLS user guide</A
> to know how to
write one for IPv6 streaming in unicast or multicast
.</P
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="ipv6.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x1245.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Stream in IPv6</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ipv6.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Receive in IPv6</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>