ffplay-doc.texi 3.6 KB

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