ffplay-doc.texi 4.0 KB

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