@sp 3
@end titlepage
+@chapter Synopsis
-@chapter Introduction
+@example
+@c man begin SYNOPSIS
+ffplay [options] @file{input_file}
+@c man end
+@end example
+@chapter Description
@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 testbed for the
various FFmpeg APIs.
@c man end
-@chapter Invocation
+@chapter Options
+@c man begin OPTIONS
-@section Syntax
-@example
-@c man begin SYNOPSIS
-ffplay [options] @file{input_file}
-@c man end
-@end example
+@include fftools-common-opts.texi
-@c man begin OPTIONS
@section Main options
@table @option
-@item -h
-Show help.
-@item -version
-Show version.
-@item -L
-Show license.
-@item -formats
-Show available formats, codecs, protocols, ...
@item -x @var{width}
Force displayed width.
@item -y @var{height}
Disable video.
@item -ss @var{pos}
Seek to a given position in seconds.
+@item -t @var{duration}
+play <duration> seconds of audio/video
@item -bytes
Seek by bytes.
@item -nodisp
Disable graphical display.
@item -f @var{fmt}
Force format.
+@item -window_title @var{title}
+Set window title (default is the input filename).
+@item -loop @var{number}
+Loops movie playback <number> times. 0 means forever.
+@item -vf @var{filter_graph}
+@var{filter_graph} is a description of the filter graph to apply to
+the input video.
+Use the option "-filters" to show all the available filters (including
+also sources and sinks).
+
@end table
@section Advanced options
refers to the list of all the input subtitle streams. If it is greater
than the number of subtitle streams minus one, then the last one is
selected, if it is negative the subtitle rendering is disabled.
+@item -autoexit
+Exit when video is done playing.
+@item -exitonkeydown
+Exit if any key is pressed.
+@item -exitonmousedown
+Exit if any mouse button is pressed.
@end table
@section While playing
@c man end
+@include indevs.texi
+@include outdevs.texi
+@include protocols.texi
+@include filters.texi
+
@ignore
@setfilename ffplay
@settitle FFplay media player
@c man begin SEEALSO
-ffmpeg(1), ffserver(1) and the HTML documentation of @file{ffmpeg}.
+ffmpeg(1), ffprobe(1), ffserver(1) and the FFmpeg HTML documentation
@c man end
-@c man begin AUTHOR
-Fabrice Bellard
+@c man begin AUTHORS
+The FFmpeg developers
@c man end
@end ignore