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.

173 lines
3.9KB

  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, codecs, protocols, ...
  32. @item -x @var{width}
  33. Force displayed width.
  34. @item -y @var{height}
  35. Force displayed height.
  36. @item -s @var{size}
  37. Set frame size (WxH or abbreviation), needed for videos which don't
  38. contain a header with the frame size like raw YUV.
  39. @item -an
  40. Disable audio.
  41. @item -vn
  42. Disable video.
  43. @item -ss @var{pos}
  44. Seek to a given position in seconds.
  45. @item -bytes
  46. Seek by bytes.
  47. @item -nodisp
  48. Disable graphical display.
  49. @item -f @var{fmt}
  50. Force format.
  51. @item -loglevel @var{loglevel}
  52. Set the logging level used by the library.
  53. @var{loglevel} is a number or a string containing one of the following values:
  54. @table @samp
  55. @item quiet
  56. @item panic
  57. @item fatal
  58. @item error
  59. @item warning
  60. @item info
  61. @item verbose
  62. @item debug
  63. @end table
  64. @end table
  65. @section Advanced options
  66. @table @option
  67. @item -pix_fmt @var{format}
  68. Set pixel format.
  69. @item -stats
  70. Show the stream duration, the codec parameters, the current position in
  71. the stream and the audio/video synchronisation drift.
  72. @item -debug
  73. Print specific debug info.
  74. @item -bug
  75. Work around bugs.
  76. @item -vismv
  77. Visualize motion vectors.
  78. @item -fast
  79. Non-spec-compliant optimizations.
  80. @item -genpts
  81. Generate pts.
  82. @item -rtp_tcp
  83. Force RTP/TCP protocol usage instead of RTP/UDP. It is only meaningful
  84. if you are streaming with the RTSP protocol.
  85. @item -sync @var{type}
  86. Set the master clock to audio (@code{type=audio}), video
  87. (@code{type=video}) or external (@code{type=ext}). Default is audio. The
  88. master clock is used to control audio-video synchronization. Most media
  89. players use audio as master clock, but in some cases (streaming or high
  90. quality broadcast) it is necessary to change that. This option is mainly
  91. used for debugging purposes.
  92. @item -threads @var{count}
  93. Set the thread count.
  94. @item -ast @var{audio_stream_number}
  95. Select the desired audio stream number, counting from 0. The number
  96. refers to the list of all the input audio streams. If it is greater
  97. than the number of audio streams minus one, then the last one is
  98. selected, if it is negative the audio playback is disabled.
  99. @item -vst @var{video_stream_number}
  100. Select the desired video stream number, counting from 0. The number
  101. refers to the list of all the input video streams. If it is greater
  102. than the number of video streams minus one, then the last one is
  103. selected, if it is negative the video playback is disabled.
  104. @item -sst @var{subtitle_stream_number}
  105. Select the desired subtitle stream number, counting from 0. The number
  106. refers to the list of all the input subtitle streams. If it is greater
  107. than the number of subtitle streams minus one, then the last one is
  108. selected, if it is negative the subtitle rendering is disabled.
  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. @ignore
  135. @setfilename ffplay
  136. @settitle FFplay media player
  137. @c man begin SEEALSO
  138. ffmpeg(1), ffserver(1) and the HTML documentation of @file{ffmpeg}.
  139. @c man end
  140. @c man begin AUTHOR
  141. Fabrice Bellard
  142. @c man end
  143. @end ignore
  144. @bye