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.

203 lines
4.8KB

  1. \input texinfo @c -*- texinfo -*-
  2. @settitle ffplay Documentation
  3. @titlepage
  4. @center @titlefont{ffplay Documentation}
  5. @end titlepage
  6. @top
  7. @contents
  8. @chapter Synopsis
  9. @example
  10. @c man begin SYNOPSIS
  11. ffplay [options] [@file{input_file}]
  12. @c man end
  13. @end example
  14. @chapter Description
  15. @c man begin DESCRIPTION
  16. FFplay is a very simple and portable media player using the FFmpeg
  17. libraries and the SDL library. It is mostly used as a testbed for the
  18. various FFmpeg 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. Set frame size (WxH or abbreviation), needed for videos which don't
  31. contain a header with the frame size like raw YUV.
  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 -showmode @var{mode}
  51. Set the show mode to use.
  52. Available values for @var{mode} are:
  53. @table @samp
  54. @item 0, video
  55. show video
  56. @item 1, waves
  57. show audio waves
  58. @item 2, rdft
  59. show audio frequency band using RDFT ((Inverse) Real Discrete Fourier Transform)
  60. @end table
  61. Default value is "video", if video is not present or cannot be played
  62. "rdft" is automatically selected.
  63. You can interactively cycle through the available show modes by
  64. pressing the key @key{w}.
  65. @item -vf @var{filter_graph}
  66. @var{filter_graph} is a description of the filter graph to apply to
  67. the input video.
  68. Use the option "-filters" to show all the available filters (including
  69. also sources and sinks).
  70. @item -i @var{input_file}
  71. Read @var{input_file}.
  72. @end table
  73. @section Advanced options
  74. @table @option
  75. @item -pix_fmt @var{format}
  76. Set pixel format.
  77. @item -stats
  78. Show the stream duration, the codec parameters, the current position in
  79. the stream and the audio/video synchronisation drift.
  80. @item -debug
  81. Print specific debug info.
  82. @item -bug
  83. Work around bugs.
  84. @item -vismv
  85. Visualize motion vectors.
  86. @item -fast
  87. Non-spec-compliant optimizations.
  88. @item -genpts
  89. Generate pts.
  90. @item -rtp_tcp
  91. Force RTP/TCP protocol usage instead of RTP/UDP. It is only meaningful
  92. if you are streaming with the RTSP protocol.
  93. @item -sync @var{type}
  94. Set the master clock to audio (@code{type=audio}), video
  95. (@code{type=video}) or external (@code{type=ext}). Default is audio. The
  96. master clock is used to control audio-video synchronization. Most media
  97. players use audio as master clock, but in some cases (streaming or high
  98. quality broadcast) it is necessary to change that. This option is mainly
  99. used for debugging purposes.
  100. @item -threads @var{count}
  101. Set the thread count.
  102. @item -ast @var{audio_stream_number}
  103. Select the desired audio stream number, counting from 0. The number
  104. refers to the list of all the input audio streams. If it is greater
  105. than the number of audio streams minus one, then the last one is
  106. selected, if it is negative the audio playback is disabled.
  107. @item -vst @var{video_stream_number}
  108. Select the desired video stream number, counting from 0. The number
  109. refers to the list of all the input video streams. If it is greater
  110. than the number of video streams minus one, then the last one is
  111. selected, if it is negative the video playback is disabled.
  112. @item -sst @var{subtitle_stream_number}
  113. Select the desired subtitle stream number, counting from 0. The number
  114. refers to the list of all the input subtitle streams. If it is greater
  115. than the number of subtitle streams minus one, then the last one is
  116. selected, if it is negative the subtitle rendering is disabled.
  117. @item -autoexit
  118. Exit when video is done playing.
  119. @item -exitonkeydown
  120. Exit if any key is pressed.
  121. @item -exitonmousedown
  122. Exit if any mouse button is pressed.
  123. @end table
  124. @section While playing
  125. @table @key
  126. @item q, ESC
  127. Quit.
  128. @item f
  129. Toggle full screen.
  130. @item p, SPC
  131. Pause.
  132. @item a
  133. Cycle audio channel.
  134. @item v
  135. Cycle video channel.
  136. @item t
  137. Cycle subtitle channel.
  138. @item w
  139. Show audio waves.
  140. @item left/right
  141. Seek backward/forward 10 seconds.
  142. @item down/up
  143. Seek backward/forward 1 minute.
  144. @item mouse click
  145. Seek to percentage in file corresponding to fraction of width.
  146. @end table
  147. @c man end
  148. @include eval.texi
  149. @include decoders.texi
  150. @include demuxers.texi
  151. @include muxers.texi
  152. @include indevs.texi
  153. @include outdevs.texi
  154. @include protocols.texi
  155. @include filters.texi
  156. @ignore
  157. @setfilename ffplay
  158. @settitle FFplay media player
  159. @c man begin SEEALSO
  160. ffmpeg(1), ffprobe(1), ffserver(1) and the FFmpeg HTML documentation
  161. @c man end
  162. @c man begin AUTHORS
  163. The FFmpeg developers
  164. @c man end
  165. @end ignore
  166. @bye