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.

187 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 -bug
  67. Work around bugs.
  68. @item -fast
  69. Non-spec-compliant optimizations.
  70. @item -genpts
  71. Generate pts.
  72. @item -rtp_tcp
  73. Force RTP/TCP protocol usage instead of RTP/UDP. It is only meaningful
  74. if you are streaming with the RTSP protocol.
  75. @item -sync @var{type}
  76. Set the master clock to audio (@code{type=audio}), video
  77. (@code{type=video}) or external (@code{type=ext}). Default is audio. The
  78. master clock is used to control audio-video synchronization. Most media
  79. players use audio as master clock, but in some cases (streaming or high
  80. quality broadcast) it is necessary to change that. This option is mainly
  81. used for debugging purposes.
  82. @item -threads @var{count}
  83. Set the thread count.
  84. @item -ast @var{audio_stream_number}
  85. Select the desired audio stream number, counting from 0. The number
  86. refers to the list of all the input audio streams. If it is greater
  87. than the number of audio streams minus one, then the last one is
  88. selected, if it is negative the audio playback is disabled.
  89. @item -vst @var{video_stream_number}
  90. Select the desired video stream number, counting from 0. The number
  91. refers to the list of all the input video streams. If it is greater
  92. than the number of video streams minus one, then the last one is
  93. selected, if it is negative the video playback is disabled.
  94. @item -sst @var{subtitle_stream_number}
  95. Select the desired subtitle stream number, counting from 0. The number
  96. refers to the list of all the input subtitle streams. If it is greater
  97. than the number of subtitle streams minus one, then the last one is
  98. selected, if it is negative the subtitle rendering is disabled.
  99. @item -noautoexit
  100. Do not exit after playback is finished.
  101. @item -exitonkeydown
  102. Exit if any key is pressed.
  103. @item -exitonmousedown
  104. Exit if any mouse button is pressed.
  105. @item -noautorotate
  106. Disable automatically rotating video based on file metadata.
  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 PGDOWN/PGUP
  129. Seek to the previous/next chapter.
  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 decoders.texi
  136. @include demuxers.texi
  137. @include muxers.texi
  138. @include indevs.texi
  139. @include outdevs.texi
  140. @include protocols.texi
  141. @include filters.texi
  142. @ignore
  143. @setfilename avplay
  144. @settitle avplay media player
  145. @c man begin SEEALSO
  146. avconv(1), avprobe(1) and the Libav HTML documentation
  147. @c man end
  148. @c man begin AUTHORS
  149. The Libav developers
  150. @c man end
  151. @end ignore
  152. @bye