@c man begin DESCRIPTION
FFplay is a very simple and portable media player using the FFmpeg
-libraries and the SDL library. It is mostly used as a test bench for the
-various APIs of FFmpeg.
+libraries and the SDL library. It is mostly used as a testbed for the
+various FFmpeg APIs.
@c man end
@chapter Invocation
@section Syntax
-@example
+@example
@c man begin SYNOPSIS
ffplay [options] @file{input_file}
@c man end
force displayed width
@item -y height
force displayed height
+@item -s size
+Set frame size (WxH or abbreviation), needed for videos which don't
+contain a header with the framesize like raw YUV.
@item -an
disable audio
@item -vn
disable video
+@item -ss pos
+seek to a given position in seconds
+@item -bytes
+seek by bytes
@item -nodisp
disable graphical display
@item -f fmt
force format
-@item -img img_fmt
-this option is used to force a given image format
-when playing image sequences. Example:
-@example
-ffplay -img pgmyuv tests/vsynth1/%d.pgm
-@end example
@end table
@section Advanced options
@table @option
+@item -pix_fmt format
+set pixel format
@item -stats
-show the stream duration, the codec parameters, the current position in
-the stream, and the audio/video synchronisation drift.
+Show the stream duration, the codec parameters, the current position in
+the stream and the audio/video synchronisation drift.
+@item -debug
+print specific debug info
+@item -bug
+work around bugs
+@item -vismv
+visualize motion vectors
+@item -fast
+non-spec-compliant optimizations
+@item -genpts
+generate pts
@item -rtp_tcp
-force RTP/TCP protocol usage instead of RTP/UDP. It is only meaningful
-if you are doing stream with the RTSP protocol.
+Force RTP/TCP protocol usage instead of RTP/UDP. It is only meaningful
+if you are streaming with the RTSP protocol.
@item -sync type
-set the master clock to audio (@code{type=audio}), video
+Set the master clock to audio (@code{type=audio}), video
(@code{type=video}) or external (@code{type=ext}). Default is audio. The
master clock is used to control audio-video synchronization. Most media
players use audio as master clock, but in some cases (streaming or high
quality broadcast) it is necessary to change that. This option is mainly
used for debugging purposes.
+@item -threads count
+thread count
@end table
@section While playing
@item w
show audio waves
+
+@item left/right
+seek backward/forward 10 seconds
+
+@item down/up
+seek backward/forward 1 minute
+
+@item mouse click
+seek to percentage in file corresponding to fraction of width
+
@end table
@c man end