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.

181 lines
4.0KB

  1. \input texinfo @c -*- texinfo -*-
  2. @settitle FFplay Documentation
  3. @titlepage
  4. @sp 7
  5. @center @titlefont{FFplay Documentation}
  6. @sp 3
  7. @end titlepage
  8. @chapter Introduction
  9. @c man begin DESCRIPTION
  10. FFplay is a very simple and portable media player using the FFmpeg
  11. libraries and the SDL library. It is mostly used as a testbed for the
  12. various FFmpeg APIs.
  13. @c man end
  14. @chapter Invocation
  15. @section Syntax
  16. @example
  17. @c man begin SYNOPSIS
  18. ffplay [options] @file{input_file}
  19. @c man end
  20. @end example
  21. @c man begin OPTIONS
  22. @section Main options
  23. @table @option
  24. @item -h
  25. Show help.
  26. @item -version
  27. Show version.
  28. @item -L
  29. Show license.
  30. @item -formats
  31. Show available formats.
  32. @item -codecs
  33. Show available codecs.
  34. @item -bsfs
  35. Show available bitstream filters.
  36. @item -protocols
  37. Show available protocols.
  38. @item -filters
  39. Show available libavfilter filters.
  40. @item -x @var{width}
  41. Force displayed width.
  42. @item -y @var{height}
  43. Force displayed height.
  44. @item -s @var{size}
  45. Set frame size (WxH or abbreviation), needed for videos which don't
  46. contain a header with the frame size like raw YUV.
  47. @item -an
  48. Disable audio.
  49. @item -vn
  50. Disable video.
  51. @item -ss @var{pos}
  52. Seek to a given position in seconds.
  53. @item -bytes
  54. Seek by bytes.
  55. @item -nodisp
  56. Disable graphical display.
  57. @item -f @var{fmt}
  58. Force format.
  59. @item -loglevel @var{loglevel}
  60. Set the logging level used by the library.
  61. @var{loglevel} is a number or a string containing one of the following values:
  62. @table @samp
  63. @item quiet
  64. @item panic
  65. @item fatal
  66. @item error
  67. @item warning
  68. @item info
  69. @item verbose
  70. @item debug
  71. @end table
  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. @end table
  118. @section While playing
  119. @table @key
  120. @item q, ESC
  121. Quit.
  122. @item f
  123. Toggle full screen.
  124. @item p, SPC
  125. Pause.
  126. @item a
  127. Cycle audio channel.
  128. @item v
  129. Cycle video channel.
  130. @item t
  131. Cycle subtitle channel.
  132. @item w
  133. Show audio waves.
  134. @item left/right
  135. Seek backward/forward 10 seconds.
  136. @item down/up
  137. Seek backward/forward 1 minute.
  138. @item mouse click
  139. Seek to percentage in file corresponding to fraction of width.
  140. @end table
  141. @c man end
  142. @ignore
  143. @setfilename ffplay
  144. @settitle FFplay media player
  145. @c man begin SEEALSO
  146. ffmpeg(1), ffserver(1) and the HTML documentation of @file{ffmpeg}.
  147. @c man end
  148. @c man begin AUTHOR
  149. Fabrice Bellard
  150. @c man end
  151. @end ignore
  152. @bye