old-www/REF/VideoLAN-Quickstart/x583.html

199 lines
2.7 KiB
HTML

<HTML
><HEAD
><TITLE
>&#13;Send announces when streaming with VLC
</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="VideoLAN Quickstart"
HREF="index.html"><LINK
REL="UP"
TITLE="
Add a channel information service
"
HREF="vlc-sap.html"><LINK
REL="PREVIOUS"
TITLE="
Add a channel information service
"
HREF="vlc-sap.html"><LINK
REL="NEXT"
TITLE="
Start VLC(s) on the client(s)
"
HREF="x594.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 Quickstart</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="vlc-sap.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 5. Add a channel information service</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x594.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="AEN583"
></A
>5.1. Send announces when streaming with VLC</H1
><P
>&#13;To send announces with VLC, you need to use the complex syntax of
VLC's stream output, like this:
</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 --sout '#standard{access=udp,url=239.255.12.42,sap="Test Stream"}' --ttl 12</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
><P
>where <TT
CLASS="filename"
>video1.xyz</TT
> is the file you want
to stream, <EM
>239.255.12.42</EM
> is the multicast IP
address you want to stream on, <EM
>Test Stream</EM
> is
the name that will be used for this program in the SAP announces and
<EM
>12</EM
> is the value of the TTL (Time To Live) of the
stream and of the SAP announces.</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="vlc-sap.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="x594.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Add a channel information service</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="vlc-sap.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Start VLC(s) on the client(s)</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>