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

606 lines
6.7 KiB
HTML

<HTML
><HEAD
><TITLE
>&#13;Install VLS
</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="
Install the required software and hardware
"
HREF="install.html"><LINK
REL="PREVIOUS"
TITLE="
Install VLC
"
HREF="x282.html"><LINK
REL="NEXT"
TITLE="
Receive and save a stream
"
HREF="receive.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="x282.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 2. Install the required software and hardware</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="receive.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="AEN457"
></A
>2.2. Install VLS</H1
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN459"
></A
>2.2.1. Windows</H2
><P
>&#13;Download the ZIP file from the <A
HREF="http://www.videolan.org/streaming/download-vls-windows.html"
TARGET="_top"
>VLS
Windows download page</A
>, unzip-it and run
<TT
CLASS="filename"
>setup.exe</TT
>
.</P
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN464"
></A
>2.2.2. GNULinux &#38; Mac OS X</H2
><DIV
CLASS="simplesect"
><H3
CLASS="simplesect"
><A
NAME="AEN466"
></A
>2.2.2.1. Install the libraries</H3
><P
>&#13;Many libraries are needed for particular uses
</P
><P
></P
><UL
><LI
><P
><EM
>libdvbpsi</EM
>
(always needed)
</P
></LI
><LI
><P
><EM
>libdvdcss</EM
>
if you want to be able to access encrypted DVDs
,</P
></LI
><LI
><P
><EM
>libdvdread</EM
>
if you want to be able to stream DVDs
,</P
></LI
><LI
><P
><EM
>libdvb</EM
>
if you want to be able to stream from a DVB card (a
satellite card or a digital terrestial TV card)
.</P
></LI
></UL
><P
>&#13;Download the libraries from the <A
HREF="http://www.videolan.org/streaming/download-vls-sources.html"
TARGET="_top"
>VLS
sources download page</A
>
.</P
><P
>&#13;For each library, uncompress, configure
(unless for <EM
>libdvb</EM
> which doesn't have a
<EM
>./configure</EM
>), compile and install
:</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
>tar xvzf library.tar.gz</B
></TT
>
<TT
CLASS="prompt"
>% </TT
><TT
CLASS="userinput"
><B
>cd library</B
></TT
>
<TT
CLASS="prompt"
>% </TT
><TT
CLASS="userinput"
><B
>./configure</B
></TT
>
<TT
CLASS="prompt"
>% </TT
><TT
CLASS="userinput"
><B
>make</B
></TT
>
<TT
CLASS="prompt"
># </TT
><TT
CLASS="userinput"
><B
>make install</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;Check that the configuration file
<TT
CLASS="filename"
>/etc/ld.so.conf</TT
> contains the following line
:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
>&#13;/usr/local/lib
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;If the line is not present, add-it and then run
:</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
>ldconfig</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="simplesect"
><H3
CLASS="simplesect"
><A
NAME="AEN505"
></A
>2.2.2.2. Install VLS</H3
><P
>&#13;Download the sources of the latest release : get
the file <TT
CLASS="filename"
>vls-version.tar.gz</TT
> from the <A
HREF="http://www.videolan.org/streaming/download-vls-sources.html"
TARGET="_top"
>VLS
sources download page</A
>. Uncompress-it and generate
<EM
>./configure</EM
>
:</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
>tar xvzf vls-version.tar.gz</B
></TT
>
<TT
CLASS="prompt"
>% </TT
><TT
CLASS="userinput"
><B
>cd vls-version</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;To get the list of configuration options, do
</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
>./configure --help</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;Then configure vls
:</P
><P
></P
><UL
><LI
><P
>&#13;if you want a basic VLS without DVD support, do
:</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
>./configure --disable-dvd</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
></LI
><LI
><P
>&#13;if you want a VLS with DVD support, do
:</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
>./configure</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
></LI
><LI
><P
>&#13;if you want a VLS with DVB support, do
:</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
>./configure --enable-dvb --with-dvb=PATH_TO_DVB_DRIVERS --with-libdvb=PATH_TO_LIBDVB</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
></LI
></UL
><P
>&#13;Then, compile and install
:</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
>make</B
></TT
>
<TT
CLASS="prompt"
># </TT
><TT
CLASS="userinput"
><B
>make install</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;You can also do a <B
CLASS="command"
>make uninstall</B
>,
<B
CLASS="command"
>make clean</B
> or <B
CLASS="command"
>make distclean</B
> as
needed
.</P
></DIV
></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="x282.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="receive.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Install VLC</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="install.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Receive and save a stream</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>