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.

138 lines
2.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. @section Main options
  23. @table @option
  24. @item -h
  25. show help
  26. @item -version
  27. show version
  28. @item -x @var{width}
  29. force displayed width
  30. @item -y @var{height}
  31. force displayed height
  32. @item -s @var{size}
  33. Set frame size (WxH or abbreviation), needed for videos which don't
  34. contain a header with the framesize like raw YUV.
  35. @item -an
  36. disable audio
  37. @item -vn
  38. disable video
  39. @item -ss @var{pos}
  40. seek to a given position in seconds
  41. @item -bytes
  42. seek by bytes
  43. @item -nodisp
  44. disable graphical display
  45. @item -f @var{fmt}
  46. force format
  47. @end table
  48. @section Advanced options
  49. @table @option
  50. @item -pix_fmt @var{format}
  51. set pixel format
  52. @item -stats
  53. Show the stream duration, the codec parameters, the current position in
  54. the stream and the audio/video synchronisation drift.
  55. @item -debug
  56. print specific debug info
  57. @item -bug
  58. work around bugs
  59. @item -vismv
  60. visualize motion vectors
  61. @item -fast
  62. non-spec-compliant optimizations
  63. @item -genpts
  64. generate pts
  65. @item -rtp_tcp
  66. Force RTP/TCP protocol usage instead of RTP/UDP. It is only meaningful
  67. if you are streaming with the RTSP protocol.
  68. @item -sync @var{type}
  69. Set the master clock to audio (@code{type=audio}), video
  70. (@code{type=video}) or external (@code{type=ext}). Default is audio. The
  71. master clock is used to control audio-video synchronization. Most media
  72. players use audio as master clock, but in some cases (streaming or high
  73. quality broadcast) it is necessary to change that. This option is mainly
  74. used for debugging purposes.
  75. @item -threads @var{count}
  76. thread count
  77. @end table
  78. @section While playing
  79. @table @key
  80. @item q, ESC
  81. quit
  82. @item f
  83. toggle full screen
  84. @item p, SPC
  85. pause
  86. @item a
  87. cycle audio channel
  88. @item v
  89. cycle video channel
  90. @item w
  91. show audio waves
  92. @item left/right
  93. seek backward/forward 10 seconds
  94. @item down/up
  95. seek backward/forward 1 minute
  96. @item mouse click
  97. seek to percentage in file corresponding to fraction of width
  98. @end table
  99. @c man end
  100. @ignore
  101. @setfilename ffplay
  102. @settitle FFplay media player
  103. @c man begin SEEALSO
  104. ffmpeg(1), ffserver(1) and the html documentation of @file{ffmpeg}.
  105. @c man end
  106. @c man begin AUTHOR
  107. Fabrice Bellard
  108. @c man end
  109. @end ignore
  110. @bye