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

256 lines
2.9 KiB
HTML

<HTML
><HEAD
><TITLE
>&#13;Save a stream 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="
Receive and save a stream
"
HREF="receive.html"><LINK
REL="PREVIOUS"
TITLE="
Receive a stream with VLC
"
HREF="x549.html"><LINK
REL="NEXT"
TITLE="
Receive a stream with a set-top-box
"
HREF="x613.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="x549.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 3. Receive and save a stream</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x613.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="AEN585"
></A
>3.2. Save a stream with VLC</H1
><P
>&#13;VLC can save the stream to the disk. In order
to do this, use the Stream Output of VLC : you can do it via the
graphical interface, or you can add to the command line the following
argument
:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;<TT
CLASS="userinput"
><B
>--sout file/muxer:stream.xyz</B
></TT
>
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;where
:</P
><P
></P
><UL
><LI
><P
><EM
>muxer</EM
>
is one of the formats supported by VLC's stream
output, i.e.
:</P
><P
></P
><UL
><LI
><P
><EM
>avi</EM
>
for AVI format
,</P
></LI
><LI
><P
><EM
>ogg</EM
>
for OGG format
,</P
></LI
><LI
><P
><EM
>ps</EM
>
for MPEG2-PS format
,</P
></LI
><LI
><P
><EM
>ts</EM
> or
<EM
>ts_dvbpsi</EM
>
for MPEG2-PS format (the latter uses
<EM
>libdvbpsi</EM
> for the task)
.</P
></LI
></UL
></LI
><LI
><P
>&#13;and <TT
CLASS="filename"
>stream.xyz</TT
> is the name of
the file you want to save the stream to, with the right extension
.</P
></LI
></UL
></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="x549.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="x613.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Receive a stream with VLC</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="receive.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Receive a stream with a set-top-box</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>