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.

157 lines
3.6KB

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