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

246 lines
2.7 KiB
HTML

<HTML
><HEAD
><TITLE
>&#13;Stream a file with VLC
</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 a file
"
HREF="file.html"><LINK
REL="PREVIOUS"
TITLE="
Stream a file
"
HREF="file.html"><LINK
REL="NEXT"
TITLE="
Stream a file with VLS
"
HREF="x646.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="file.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 4. Stream a file</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x646.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="AEN621"
></A
>4.1. Stream a file with VLC</H1
><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 --sout udp:192.168.0.42 --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
,</P
></LI
><LI
><P
><EM
>192.168.0.42</EM
>
is either
:</P
><P
></P
><UL
><LI
><P
>&#13;the IP address of the machine you want to unicast
to
;</P
></LI
><LI
><P
>&#13;or the DNS name the machine you want to unicast
to
;</P
></LI
><LI
><P
>&#13;or a multicast IP 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
><P
>&#13;If you want to stream the file continuously, add the
<EM
>--loop</EM
> option
.</P
></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="file.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="x646.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Stream a file</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="file.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Stream a file with VLS</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>