Commit 90c9edba authored by Diego Biurrun's avatar Diego Biurrun

doc: Replace some @file tags by more suitable markup.

parent 1afc2789
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
Libav can be hooked up with a number of external libraries to add support Libav can be hooked up with a number of external libraries to add support
for more formats. None of them are used by default, their use has to be for more formats. None of them are used by default, their use has to be
explicitly requested by passing the appropriate flags to @file{./configure}. explicitly requested by passing the appropriate flags to
@command{./configure}.
@section OpenCORE and VisualOn libraries @section OpenCORE and VisualOn libraries
......
...@@ -27,11 +27,11 @@ to configure. ...@@ -27,11 +27,11 @@ to configure.
@section BSD @section BSD
BSD make will not build Libav, you need to install and use GNU Make BSD make will not build Libav, you need to install and use GNU Make
(@file{gmake}). (@command{gmake}).
@section (Open)Solaris @section (Open)Solaris
GNU Make is required to build Libav, so you have to invoke (@file{gmake}), GNU Make is required to build Libav, so you have to invoke (@command{gmake}),
standard Solaris Make will not work. When building with a non-c99 front-end standard Solaris Make will not work. When building with a non-c99 front-end
(gcc, generic suncc) add either @code{--extra-libs=/usr/lib/values-xpg6.o} (gcc, generic suncc) add either @code{--extra-libs=/usr/lib/values-xpg6.o}
or @code{--extra-libs=/usr/lib/64/values-xpg6.o} to the configure options or @code{--extra-libs=/usr/lib/64/values-xpg6.o} to the configure options
...@@ -241,7 +241,7 @@ To create import libraries that work with the @code{/OPT:REF} option ...@@ -241,7 +241,7 @@ To create import libraries that work with the @code{/OPT:REF} option
@enumerate @enumerate
@item Open @file{Visual Studio 2005 Command Prompt}. @item Open @emph{Visual Studio 2005 Command Prompt}.
Alternatively, in a normal command line prompt, call @file{vcvars32.bat} Alternatively, in a normal command line prompt, call @file{vcvars32.bat}
which sets up the environment variables for the Visual C++ tools which sets up the environment variables for the Visual C++ tools
...@@ -251,7 +251,7 @@ which sets up the environment variables for the Visual C++ tools ...@@ -251,7 +251,7 @@ which sets up the environment variables for the Visual C++ tools
@item Enter the @file{bin} directory where the created LIB and DLL files @item Enter the @file{bin} directory where the created LIB and DLL files
are stored. are stored.
@item Generate new import libraries with @file{lib.exe}: @item Generate new import libraries with @command{lib.exe}:
@example @example
lib /machine:i386 /def:..\lib\foo-version.def /out:foo.lib lib /machine:i386 /def:..\lib\foo-version.def /out:foo.lib
......
...@@ -36,7 +36,7 @@ resource to be concatenated, each one possibly specifying a distinct ...@@ -36,7 +36,7 @@ resource to be concatenated, each one possibly specifying a distinct
protocol. protocol.
For example to read a sequence of files @file{split1.mpeg}, For example to read a sequence of files @file{split1.mpeg},
@file{split2.mpeg}, @file{split3.mpeg} with @file{avplay} use the @file{split2.mpeg}, @file{split3.mpeg} with @command{avplay} use the
command: command:
@example @example
avplay concat:split1.mpeg\|split2.mpeg\|split3.mpeg avplay concat:split1.mpeg\|split2.mpeg\|split3.mpeg
...@@ -187,7 +187,7 @@ application specified in @var{app}, may be prefixed by "mp4:". ...@@ -187,7 +187,7 @@ application specified in @var{app}, may be prefixed by "mp4:".
@end table @end table
For example to read with @file{avplay} a multimedia resource named For example to read with @command{avplay} a multimedia resource named
"sample" from the application "vod" from an RTMP server "myserver": "sample" from the application "vod" from an RTMP server "myserver":
@example @example
avplay rtmp://myserver/vod/sample avplay rtmp://myserver/vod/sample
...@@ -228,7 +228,7 @@ For example, to stream a file in real-time to an RTMP server using ...@@ -228,7 +228,7 @@ For example, to stream a file in real-time to an RTMP server using
avconv -re -i myfile -f flv rtmp://myserver/live/mystream avconv -re -i myfile -f flv rtmp://myserver/live/mystream
@end example @end example
To play the same stream using @file{avplay}: To play the same stream using @command{avplay}:
@example @example
avplay "rtmp://myserver/live/mystream live=1" avplay "rtmp://myserver/live/mystream live=1"
@end example @end example
...@@ -253,7 +253,7 @@ The required syntax for a RTSP url is: ...@@ -253,7 +253,7 @@ The required syntax for a RTSP url is:
rtsp://@var{hostname}[:@var{port}]/@var{path} rtsp://@var{hostname}[:@var{port}]/@var{path}
@end example @end example
The following options (set on the @command{avconv}/@file{avplay} command The following options (set on the @command{avconv}/@command{avplay} command
line, or set in code via @code{AVOption}s or in @code{avformat_open_input}), line, or set in code via @code{AVOption}s or in @code{avformat_open_input}),
are supported: are supported:
...@@ -292,7 +292,7 @@ When receiving data over UDP, the demuxer tries to reorder received packets ...@@ -292,7 +292,7 @@ When receiving data over UDP, the demuxer tries to reorder received packets
can be disabled by setting the maximum demuxing delay to zero (via can be disabled by setting the maximum demuxing delay to zero (via
the @code{max_delay} field of AVFormatContext). the @code{max_delay} field of AVFormatContext).
When watching multi-bitrate Real-RTSP streams with @file{avplay}, the When watching multi-bitrate Real-RTSP streams with @command{avplay}, the
streams to display can be chosen with @code{-vst} @var{n} and streams to display can be chosen with @code{-vst} @var{n} and
@code{-ast} @var{n} for video and audio respectively, and can be switched @code{-ast} @var{n} for video and audio respectively, and can be switched
on the fly by pressing @code{v} and @code{a}. on the fly by pressing @code{v} and @code{a}.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment