ffplay.texi 4.2 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 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 -vf @var{filter_graph}
  51. @var{filter_graph} is a description of the filter graph to apply to
  52. the input video.
  53. Use the option "-filters" to show all the available filters (including
  54. also sources and sinks).
  55. @end table
  56. @section Advanced options
  57. @table @option
  58. @item -pix_fmt @var{format}
  59. Set pixel format.
  60. @item -stats
  61. Show the stream duration, the codec parameters, the current position in
  62. the stream and the audio/video synchronisation drift.
  63. @item -debug
  64. Print specific debug info.
  65. @item -bug
  66. Work around bugs.
  67. @item -vismv
  68. Visualize motion vectors.
  69. @item -fast
  70. Non-spec-compliant optimizations.
  71. @item -genpts
  72. Generate pts.
  73. @item -rtp_tcp
  74. Force RTP/TCP protocol usage instead of RTP/UDP. It is only meaningful
  75. if you are streaming with the RTSP protocol.
  76. @item -sync @var{type}
  77. Set the master clock to audio (@code{type=audio}), video
  78. (@code{type=video}) or external (@code{type=ext}). Default is audio. The
  79. master clock is used to control audio-video synchronization. Most media
  80. players use audio as master clock, but in some cases (streaming or high
  81. quality broadcast) it is necessary to change that. This option is mainly
  82. used for debugging purposes.
  83. @item -threads @var{count}
  84. Set the thread count.
  85. @item -ast @var{audio_stream_number}
  86. Select the desired audio stream number, counting from 0. The number
  87. refers to the list of all the input audio streams. If it is greater
  88. than the number of audio streams minus one, then the last one is
  89. selected, if it is negative the audio playback is disabled.
  90. @item -vst @var{video_stream_number}
  91. Select the desired video stream number, counting from 0. The number
  92. refers to the list of all the input video streams. If it is greater
  93. than the number of video streams minus one, then the last one is
  94. selected, if it is negative the video playback is disabled.
  95. @item -sst @var{subtitle_stream_number}
  96. Select the desired subtitle stream number, counting from 0. The number
  97. refers to the list of all the input subtitle streams. If it is greater
  98. than the number of subtitle streams minus one, then the last one is
  99. selected, if it is negative the subtitle rendering is disabled.
  100. @item -autoexit
  101. Exit when video is done playing.
  102. @item -exitonkeydown
  103. Exit if any key is pressed.
  104. @item -exitonmousedown
  105. Exit if any mouse button is pressed.
  106. @end table
  107. @section While playing
  108. @table @key
  109. @item q, ESC
  110. Quit.
  111. @item f
  112. Toggle full screen.
  113. @item p, SPC
  114. Pause.
  115. @item a
  116. Cycle audio channel.
  117. @item v
  118. Cycle video channel.
  119. @item t
  120. Cycle subtitle channel.
  121. @item w
  122. Show audio waves.
  123. @item left/right
  124. Seek backward/forward 10 seconds.
  125. @item down/up
  126. Seek backward/forward 1 minute.
  127. @item mouse click
  128. Seek to percentage in file corresponding to fraction of width.
  129. @end table
  130. @c man end
  131. @include eval.texi
  132. @include demuxers.texi
  133. @include indevs.texi
  134. @include outdevs.texi
  135. @include protocols.texi
  136. @include filters.texi
  137. @ignore
  138. @setfilename ffplay
  139. @settitle FFplay media player
  140. @c man begin SEEALSO
  141. ffmpeg(1), ffprobe(1), ffserver(1) and the FFmpeg HTML documentation
  142. @c man end
  143. @c man begin AUTHORS
  144. The FFmpeg developers
  145. @c man end
  146. @end ignore
  147. @bye