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