ffplay-doc.texi 3.5 KB

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