avplay.texi 4.3 KB

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