You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

185 lines
4.5KB

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