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.

142 lines
2.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. @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. @end table
  82. @section While playing
  83. @table @key
  84. @item q, ESC
  85. Quit.
  86. @item f
  87. Toggle full screen.
  88. @item p, SPC
  89. Pause.
  90. @item a
  91. Cycle audio channel.
  92. @item v
  93. Cycle video channel.
  94. @item w
  95. Show audio waves.
  96. @item left/right
  97. Seek backward/forward 10 seconds.
  98. @item down/up
  99. Seek backward/forward 1 minute.
  100. @item mouse click
  101. Seek to percentage in file corresponding to fraction of width.
  102. @end table
  103. @c man end
  104. @ignore
  105. @setfilename ffplay
  106. @settitle FFplay media player
  107. @c man begin SEEALSO
  108. ffmpeg(1), ffserver(1) and the HTML documentation of @file{ffmpeg}.
  109. @c man end
  110. @c man begin AUTHOR
  111. Fabrice Bellard
  112. @c man end
  113. @end ignore
  114. @bye