2003-08-24 11:16:29 +00:00
|
|
|
\input texinfo @c -*- texinfo -*-
|
|
|
|
|
2011-07-26 15:51:34 +00:00
|
|
|
@settitle avplay Documentation
|
2003-08-24 11:16:29 +00:00
|
|
|
@titlepage
|
2011-07-26 15:51:34 +00:00
|
|
|
@center @titlefont{avplay Documentation}
|
2003-08-24 11:16:29 +00:00
|
|
|
@end titlepage
|
|
|
|
|
2011-01-29 12:24:13 +00:00
|
|
|
@top
|
|
|
|
|
|
|
|
@contents
|
|
|
|
|
2010-06-08 22:32:29 +00:00
|
|
|
@chapter Synopsis
|
|
|
|
|
|
|
|
@example
|
|
|
|
@c man begin SYNOPSIS
|
2011-07-26 15:51:34 +00:00
|
|
|
avplay [options] @file{input_file}
|
2010-06-08 22:32:29 +00:00
|
|
|
@c man end
|
|
|
|
@end example
|
2003-08-24 11:16:29 +00:00
|
|
|
|
2010-06-03 21:23:07 +00:00
|
|
|
@chapter Description
|
2003-08-24 11:16:29 +00:00
|
|
|
@c man begin DESCRIPTION
|
2010-06-03 21:23:07 +00:00
|
|
|
|
2011-07-26 15:51:34 +00:00
|
|
|
AVplay is a very simple and portable media player using the Libav
|
2005-06-09 18:12:07 +00:00
|
|
|
libraries and the SDL library. It is mostly used as a testbed for the
|
2011-03-14 21:59:19 +00:00
|
|
|
various Libav APIs.
|
2003-08-24 11:16:29 +00:00
|
|
|
@c man end
|
|
|
|
|
2010-06-08 22:32:29 +00:00
|
|
|
@chapter Options
|
2003-08-24 11:16:29 +00:00
|
|
|
@c man begin OPTIONS
|
2010-02-21 10:56:38 +00:00
|
|
|
|
2011-09-02 20:17:38 +00:00
|
|
|
@include avtools-common-opts.texi
|
2010-02-21 10:56:38 +00:00
|
|
|
|
2003-08-24 11:16:29 +00:00
|
|
|
@section Main options
|
|
|
|
|
|
|
|
@table @option
|
2008-04-08 16:39:30 +00:00
|
|
|
@item -x @var{width}
|
2008-05-26 23:01:22 +00:00
|
|
|
Force displayed width.
|
2008-04-08 16:39:30 +00:00
|
|
|
@item -y @var{height}
|
2008-05-26 23:01:22 +00:00
|
|
|
Force displayed height.
|
2008-04-08 16:39:30 +00:00
|
|
|
@item -s @var{size}
|
2011-07-16 21:08:06 +00:00
|
|
|
This option has been removed. Use private format options for specifying the
|
2011-08-21 14:20:37 +00:00
|
|
|
input video size. For example with the rawvideo demuxer you need to specify the
|
|
|
|
option @var{video_size}.
|
2003-08-24 11:16:29 +00:00
|
|
|
@item -an
|
2008-05-26 23:01:22 +00:00
|
|
|
Disable audio.
|
2003-08-24 11:16:29 +00:00
|
|
|
@item -vn
|
2008-05-26 23:01:22 +00:00
|
|
|
Disable video.
|
2008-04-08 16:39:30 +00:00
|
|
|
@item -ss @var{pos}
|
2008-05-26 23:01:22 +00:00
|
|
|
Seek to a given position in seconds.
|
2010-04-01 20:56:23 +00:00
|
|
|
@item -t @var{duration}
|
|
|
|
play <duration> seconds of audio/video
|
2007-03-12 17:16:12 +00:00
|
|
|
@item -bytes
|
2008-05-26 23:01:22 +00:00
|
|
|
Seek by bytes.
|
2003-08-24 11:16:29 +00:00
|
|
|
@item -nodisp
|
2008-05-26 23:01:22 +00:00
|
|
|
Disable graphical display.
|
2008-04-08 16:39:30 +00:00
|
|
|
@item -f @var{fmt}
|
2008-05-26 23:01:22 +00:00
|
|
|
Force format.
|
2010-03-17 23:39:18 +00:00
|
|
|
@item -window_title @var{title}
|
|
|
|
Set window title (default is the input filename).
|
2010-03-23 17:39:51 +00:00
|
|
|
@item -loop @var{number}
|
|
|
|
Loops movie playback <number> times. 0 means forever.
|
2010-06-21 22:09:07 +00:00
|
|
|
@item -vf @var{filter_graph}
|
|
|
|
@var{filter_graph} is a description of the filter graph to apply to
|
|
|
|
the input video.
|
|
|
|
Use the option "-filters" to show all the available filters (including
|
|
|
|
also sources and sinks).
|
|
|
|
|
2009-12-21 21:50:23 +00:00
|
|
|
@end table
|
2003-08-24 11:16:29 +00:00
|
|
|
|
|
|
|
@section Advanced options
|
|
|
|
@table @option
|
2008-04-08 16:39:30 +00:00
|
|
|
@item -pix_fmt @var{format}
|
2011-07-16 20:43:11 +00:00
|
|
|
This option has been removed. Use private options for specifying the
|
2011-08-21 14:20:37 +00:00
|
|
|
input pixel format. For example with the rawvideo demuxer you need to specify
|
|
|
|
the option @var{pixel_format}.
|
2003-08-24 11:16:29 +00:00
|
|
|
@item -stats
|
2005-06-09 18:12:07 +00:00
|
|
|
Show the stream duration, the codec parameters, the current position in
|
|
|
|
the stream and the audio/video synchronisation drift.
|
2007-03-12 17:16:12 +00:00
|
|
|
@item -bug
|
2008-05-26 23:01:22 +00:00
|
|
|
Work around bugs.
|
2007-03-12 17:16:12 +00:00
|
|
|
@item -vismv
|
2008-05-26 23:01:22 +00:00
|
|
|
Visualize motion vectors.
|
2007-03-12 17:16:12 +00:00
|
|
|
@item -fast
|
2008-05-26 23:01:22 +00:00
|
|
|
Non-spec-compliant optimizations.
|
2007-03-12 17:16:12 +00:00
|
|
|
@item -genpts
|
2008-05-26 23:01:22 +00:00
|
|
|
Generate pts.
|
2003-08-24 11:16:29 +00:00
|
|
|
@item -rtp_tcp
|
2005-06-09 18:12:07 +00:00
|
|
|
Force RTP/TCP protocol usage instead of RTP/UDP. It is only meaningful
|
|
|
|
if you are streaming with the RTSP protocol.
|
2008-04-08 16:39:30 +00:00
|
|
|
@item -sync @var{type}
|
2005-06-09 18:12:07 +00:00
|
|
|
Set the master clock to audio (@code{type=audio}), video
|
2003-08-24 11:16:29 +00:00
|
|
|
(@code{type=video}) or external (@code{type=ext}). Default is audio. The
|
|
|
|
master clock is used to control audio-video synchronization. Most media
|
|
|
|
players use audio as master clock, but in some cases (streaming or high
|
|
|
|
quality broadcast) it is necessary to change that. This option is mainly
|
|
|
|
used for debugging purposes.
|
2008-04-08 16:39:30 +00:00
|
|
|
@item -threads @var{count}
|
2008-05-26 23:01:22 +00:00
|
|
|
Set the thread count.
|
2009-03-01 17:13:33 +00:00
|
|
|
@item -ast @var{audio_stream_number}
|
|
|
|
Select the desired audio stream number, counting from 0. The number
|
|
|
|
refers to the list of all the input audio streams. If it is greater
|
|
|
|
than the number of audio streams minus one, then the last one is
|
|
|
|
selected, if it is negative the audio playback is disabled.
|
|
|
|
@item -vst @var{video_stream_number}
|
|
|
|
Select the desired video stream number, counting from 0. The number
|
|
|
|
refers to the list of all the input video streams. If it is greater
|
|
|
|
than the number of video streams minus one, then the last one is
|
|
|
|
selected, if it is negative the video playback is disabled.
|
|
|
|
@item -sst @var{subtitle_stream_number}
|
|
|
|
Select the desired subtitle stream number, counting from 0. The number
|
|
|
|
refers to the list of all the input subtitle streams. If it is greater
|
|
|
|
than the number of subtitle streams minus one, then the last one is
|
|
|
|
selected, if it is negative the subtitle rendering is disabled.
|
2010-07-04 12:43:18 +00:00
|
|
|
@item -autoexit
|
|
|
|
Exit when video is done playing.
|
2010-07-04 12:43:12 +00:00
|
|
|
@item -exitonkeydown
|
|
|
|
Exit if any key is pressed.
|
|
|
|
@item -exitonmousedown
|
|
|
|
Exit if any mouse button is pressed.
|
2003-08-24 11:16:29 +00:00
|
|
|
@end table
|
|
|
|
|
|
|
|
@section While playing
|
|
|
|
|
|
|
|
@table @key
|
|
|
|
@item q, ESC
|
2008-05-26 23:01:22 +00:00
|
|
|
Quit.
|
2003-08-24 11:16:29 +00:00
|
|
|
|
|
|
|
@item f
|
2008-05-26 23:01:22 +00:00
|
|
|
Toggle full screen.
|
2003-08-24 11:16:29 +00:00
|
|
|
|
|
|
|
@item p, SPC
|
2008-05-26 23:01:22 +00:00
|
|
|
Pause.
|
2003-08-24 11:16:29 +00:00
|
|
|
|
|
|
|
@item a
|
2008-05-26 23:01:22 +00:00
|
|
|
Cycle audio channel.
|
2003-08-24 11:16:29 +00:00
|
|
|
|
|
|
|
@item v
|
2008-05-26 23:01:22 +00:00
|
|
|
Cycle video channel.
|
2003-08-24 11:16:29 +00:00
|
|
|
|
2009-02-08 22:22:26 +00:00
|
|
|
@item t
|
|
|
|
Cycle subtitle channel.
|
|
|
|
|
2003-08-24 11:16:29 +00:00
|
|
|
@item w
|
2008-05-26 23:01:22 +00:00
|
|
|
Show audio waves.
|
2007-03-12 17:16:12 +00:00
|
|
|
|
|
|
|
@item left/right
|
2008-05-26 23:01:22 +00:00
|
|
|
Seek backward/forward 10 seconds.
|
2007-03-12 17:16:12 +00:00
|
|
|
|
|
|
|
@item down/up
|
2008-05-26 23:01:22 +00:00
|
|
|
Seek backward/forward 1 minute.
|
2007-03-12 17:16:12 +00:00
|
|
|
|
|
|
|
@item mouse click
|
2008-05-26 23:01:22 +00:00
|
|
|
Seek to percentage in file corresponding to fraction of width.
|
2007-03-12 17:16:12 +00:00
|
|
|
|
2003-08-24 11:16:29 +00:00
|
|
|
@end table
|
|
|
|
|
|
|
|
@c man end
|
|
|
|
|
2010-11-03 19:43:55 +00:00
|
|
|
@include eval.texi
|
2011-01-09 10:22:21 +00:00
|
|
|
@include demuxers.texi
|
2011-01-26 22:55:53 +00:00
|
|
|
@include muxers.texi
|
2010-07-27 13:10:59 +00:00
|
|
|
@include indevs.texi
|
|
|
|
@include outdevs.texi
|
2010-07-31 15:45:29 +00:00
|
|
|
@include protocols.texi
|
2010-06-21 22:09:07 +00:00
|
|
|
@include filters.texi
|
|
|
|
|
2003-08-24 11:16:29 +00:00
|
|
|
@ignore
|
|
|
|
|
2011-07-26 15:51:34 +00:00
|
|
|
@setfilename avplay
|
|
|
|
@settitle AVplay media player
|
2003-08-24 11:16:29 +00:00
|
|
|
|
|
|
|
@c man begin SEEALSO
|
2011-12-10 17:30:03 +00:00
|
|
|
avconv(1), avprobe(1) and the Libav HTML documentation
|
2003-08-24 11:16:29 +00:00
|
|
|
@c man end
|
|
|
|
|
2010-06-05 16:21:17 +00:00
|
|
|
@c man begin AUTHORS
|
2011-03-14 21:59:19 +00:00
|
|
|
The Libav developers
|
2003-08-24 11:16:29 +00:00
|
|
|
@c man end
|
|
|
|
|
|
|
|
@end ignore
|
|
|
|
|
|
|
|
@bye
|