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.

159 lines
3.7KB

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