1
\input texinfo @c -*- texinfo -*-
3
@settitle ffplay Documentation
5
@center @titlefont{ffplay Documentation}
16
ffplay [options] @file{input_file}
21
@c man begin DESCRIPTION
23
FFplay is a very simple and portable media player using the Libav
24
libraries and the SDL library. It is mostly used as a testbed for the
31
@include fftools-common-opts.texi
37
Force displayed width.
39
Force displayed height.
41
Set frame size (WxH or abbreviation), needed for videos which don't
42
contain a header with the frame size like raw YUV.
48
Seek to a given position in seconds.
49
@item -t @var{duration}
50
play <duration> seconds of audio/video
54
Disable graphical display.
57
@item -window_title @var{title}
58
Set window title (default is the input filename).
59
@item -loop @var{number}
60
Loops movie playback <number> times. 0 means forever.
61
@item -vf @var{filter_graph}
62
@var{filter_graph} is a description of the filter graph to apply to
64
Use the option "-filters" to show all the available filters (including
65
also sources and sinks).
69
@section Advanced options
71
@item -pix_fmt @var{format}
74
Show the stream duration, the codec parameters, the current position in
75
the stream and the audio/video synchronisation drift.
77
Print specific debug info.
81
Visualize motion vectors.
83
Non-spec-compliant optimizations.
87
Force RTP/TCP protocol usage instead of RTP/UDP. It is only meaningful
88
if you are streaming with the RTSP protocol.
89
@item -sync @var{type}
90
Set the master clock to audio (@code{type=audio}), video
91
(@code{type=video}) or external (@code{type=ext}). Default is audio. The
92
master clock is used to control audio-video synchronization. Most media
93
players use audio as master clock, but in some cases (streaming or high
94
quality broadcast) it is necessary to change that. This option is mainly
95
used for debugging purposes.
96
@item -threads @var{count}
98
@item -ast @var{audio_stream_number}
99
Select the desired audio stream number, counting from 0. The number
100
refers to the list of all the input audio streams. If it is greater
101
than the number of audio streams minus one, then the last one is
102
selected, if it is negative the audio playback is disabled.
103
@item -vst @var{video_stream_number}
104
Select the desired video stream number, counting from 0. The number
105
refers to the list of all the input video streams. If it is greater
106
than the number of video streams minus one, then the last one is
107
selected, if it is negative the video playback is disabled.
108
@item -sst @var{subtitle_stream_number}
109
Select the desired subtitle stream number, counting from 0. The number
110
refers to the list of all the input subtitle streams. If it is greater
111
than the number of subtitle streams minus one, then the last one is
112
selected, if it is negative the subtitle rendering is disabled.
114
Exit when video is done playing.
116
Exit if any key is pressed.
117
@item -exitonmousedown
118
Exit if any mouse button is pressed.
121
@section While playing
140
Cycle subtitle channel.
146
Seek backward/forward 10 seconds.
149
Seek backward/forward 1 minute.
152
Seek to percentage in file corresponding to fraction of width.
159
@include demuxers.texi
162
@include outdevs.texi
163
@include protocols.texi
164
@include filters.texi
169
@settitle FFplay media player
172
ffmpeg(1), ffprobe(1), ffserver(1) and the Libav HTML documentation