1\input texinfo @c -*- texinfo -*- 2 3@settitle avplay Documentation 4@titlepage 5@center @titlefont{avplay Documentation} 6@end titlepage 7 8@top 9 10@contents 11 12@chapter Synopsis 13 14@example 15@c man begin SYNOPSIS 16avplay [options] @file{input_file} 17@c man end 18@end example 19 20@chapter Description 21@c man begin DESCRIPTION 22 23AVplay is a very simple and portable media player using the Libav 24libraries and the SDL library. It is mostly used as a testbed for the 25various Libav APIs. 26@c man end 27 28@chapter Options 29@c man begin OPTIONS 30 31@include avtools-common-opts.texi 32 33@section Main options 34 35@table @option 36@item -x @var{width} 37Force displayed width. 38@item -y @var{height} 39Force displayed height. 40@item -s @var{size} 41This option has been removed. Use private format options for specifying the 42input video size. For example with the rawvideo demuxer you need to specify the 43option @var{video_size}. 44@item -an 45Disable audio. 46@item -vn 47Disable video. 48@item -ss @var{pos} 49Seek to a given position in seconds. 50@item -t @var{duration} 51play <duration> seconds of audio/video 52@item -bytes 53Seek by bytes. 54@item -nodisp 55Disable graphical display. 56@item -f @var{fmt} 57Force format. 58@item -window_title @var{title} 59Set window title (default is the input filename). 60@item -loop @var{number} 61Loops 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 64the input video. 65Use the option "-filters" to show all the available filters (including 66also sources and sinks). 67 68@end table 69 70@section Advanced options 71@table @option 72@item -pix_fmt @var{format} 73This option has been removed. Use private options for specifying the 74input pixel format. For example with the rawvideo demuxer you need to specify 75the option @var{pixel_format}. 76@item -stats 77Show the stream duration, the codec parameters, the current position in 78the stream and the audio/video synchronisation drift. 79@item -debug 80Print specific debug info. 81@item -bug 82Work around bugs. 83@item -vismv 84Visualize motion vectors. 85@item -fast 86Non-spec-compliant optimizations. 87@item -genpts 88Generate pts. 89@item -rtp_tcp 90Force RTP/TCP protocol usage instead of RTP/UDP. It is only meaningful 91if you are streaming with the RTSP protocol. 92@item -sync @var{type} 93Set the master clock to audio (@code{type=audio}), video 94(@code{type=video}) or external (@code{type=ext}). Default is audio. The 95master clock is used to control audio-video synchronization. Most media 96players use audio as master clock, but in some cases (streaming or high 97quality broadcast) it is necessary to change that. This option is mainly 98used for debugging purposes. 99@item -threads @var{count} 100Set the thread count. 101@item -ast @var{audio_stream_number} 102Select the desired audio stream number, counting from 0. The number 103refers to the list of all the input audio streams. If it is greater 104than the number of audio streams minus one, then the last one is 105selected, if it is negative the audio playback is disabled. 106@item -vst @var{video_stream_number} 107Select the desired video stream number, counting from 0. The number 108refers to the list of all the input video streams. If it is greater 109than the number of video streams minus one, then the last one is 110selected, if it is negative the video playback is disabled. 111@item -sst @var{subtitle_stream_number} 112Select the desired subtitle stream number, counting from 0. The number 113refers to the list of all the input subtitle streams. If it is greater 114than the number of subtitle streams minus one, then the last one is 115selected, if it is negative the subtitle rendering is disabled. 116@item -autoexit 117Exit when video is done playing. 118@item -exitonkeydown 119Exit if any key is pressed. 120@item -exitonmousedown 121Exit if any mouse button is pressed. 122@end table 123 124@section While playing 125 126@table @key 127@item q, ESC 128Quit. 129 130@item f 131Toggle full screen. 132 133@item p, SPC 134Pause. 135 136@item a 137Cycle audio channel. 138 139@item v 140Cycle video channel. 141 142@item t 143Cycle subtitle channel. 144 145@item w 146Show audio waves. 147 148@item left/right 149Seek backward/forward 10 seconds. 150 151@item down/up 152Seek backward/forward 1 minute. 153 154@item mouse click 155Seek to percentage in file corresponding to fraction of width. 156 157@end table 158 159@c man end 160 161@include eval.texi 162@include demuxers.texi 163@include muxers.texi 164@include indevs.texi 165@include outdevs.texi 166@include protocols.texi 167@include filters.texi 168 169@ignore 170 171@setfilename avplay 172@settitle AVplay media player 173 174@c man begin SEEALSO 175avconv(1), avprobe(1) and the Libav HTML documentation 176@c man end 177 178@c man begin AUTHORS 179The Libav developers 180@c man end 181 182@end ignore 183 184@bye 185