1 \input texinfo @c -*- texinfo -*-
3 @settitle avplay Documentation
5 @center @titlefont{avplay Documentation}
16 avplay [options] @file{input_file}
21 @c man begin DESCRIPTION
23 AVplay is a very simple and portable media player using the Libav
24 libraries and the SDL library. It is mostly used as a testbed for the
31 @include avtools-common-opts.texi
37 Force displayed width.
39 Force displayed height.
41 This option has been removed. Use private format options for specifying the
42 input video size. For example with the rawvideo demuxer you need to specify the
43 option @var{video_size}.
49 Seek to a given position in seconds.
50 @item -t @var{duration}
51 play <duration> seconds of audio/video
55 Disable graphical display.
58 @item -window_title @var{title}
59 Set window title (default is the input filename).
60 @item -loop @var{number}
61 Loops movie playback <number> times. 0 means forever.
62 @item -vf @var{filter_graph}
63 @var{filter_graph} is a description of the filter graph to apply to
65 Use the option "-filters" to show all the available filters (including
66 also sources and sinks).
70 @section Advanced options
72 @item -pix_fmt @var{format}
73 This option has been removed. Use private options for specifying the
74 input pixel format. For example with the rawvideo demuxer you need to specify
75 the option @var{pixel_format}.
77 Show the stream duration, the codec parameters, the current position in
78 the stream and the audio/video synchronisation drift.
80 Print specific debug info.
84 Visualize motion vectors.
86 Non-spec-compliant optimizations.
90 Force RTP/TCP protocol usage instead of RTP/UDP. It is only meaningful
91 if you are streaming with the RTSP protocol.
92 @item -sync @var{type}
93 Set the master clock to audio (@code{type=audio}), video
94 (@code{type=video}) or external (@code{type=ext}). Default is audio. The
95 master clock is used to control audio-video synchronization. Most media
96 players use audio as master clock, but in some cases (streaming or high
97 quality broadcast) it is necessary to change that. This option is mainly
98 used for debugging purposes.
99 @item -threads @var{count}
100 Set the thread count.
101 @item -ast @var{audio_stream_number}
102 Select the desired audio stream number, counting from 0. The number
103 refers to the list of all the input audio streams. If it is greater
104 than the number of audio streams minus one, then the last one is
105 selected, if it is negative the audio playback is disabled.
106 @item -vst @var{video_stream_number}
107 Select the desired video stream number, counting from 0. The number
108 refers to the list of all the input video streams. If it is greater
109 than the number of video streams minus one, then the last one is
110 selected, if it is negative the video playback is disabled.
111 @item -sst @var{subtitle_stream_number}
112 Select the desired subtitle stream number, counting from 0. The number
113 refers to the list of all the input subtitle streams. If it is greater
114 than the number of subtitle streams minus one, then the last one is
115 selected, if it is negative the subtitle rendering is disabled.
117 Exit when video is done playing.
119 Exit if any key is pressed.
120 @item -exitonmousedown
121 Exit if any mouse button is pressed.
124 @section While playing
143 Cycle subtitle channel.
149 Seek backward/forward 10 seconds.
152 Seek backward/forward 1 minute.
155 Seek to percentage in file corresponding to fraction of width.
162 @include demuxers.texi
165 @include outdevs.texi
166 @include protocols.texi
167 @include filters.texi
172 @settitle AVplay media player
175 avconv(1), avprobe(1) and the Libav HTML documentation