ffplay-doc.texi 2.5 KB

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