1 \input texinfo @c -*- texinfo -*-
3 @settitle FFplay Documentation
6 @center @titlefont{FFplay Documentation}
13 @c man begin DESCRIPTION
14 FFplay is a very simple and portable media player using the FFmpeg
15 libraries and the SDL library. It is mostly used as a testbed for the
24 ffplay [options] @file{input_file}
30 @include fftools-common-opts.texi
36 Force displayed width.
38 Force displayed height.
40 Set frame size (WxH or abbreviation), needed for videos which don't
41 contain a header with the frame size like raw YUV.
47 Seek to a given position in seconds.
48 @item -t @var{duration}
49 play <duration> seconds of audio/video
53 Disable graphical display.
56 @item -window_title @var{title}
57 Set window title (default is the input filename).
58 @item -loop @var{number}
59 Loops movie playback <number> times. 0 means forever.
62 @section Advanced options
64 @item -pix_fmt @var{format}
67 Show the stream duration, the codec parameters, the current position in
68 the stream and the audio/video synchronisation drift.
70 Print specific debug info.
74 Visualize motion vectors.
76 Non-spec-compliant optimizations.
80 Force RTP/TCP protocol usage instead of RTP/UDP. It is only meaningful
81 if you are streaming with the RTSP protocol.
82 @item -sync @var{type}
83 Set the master clock to audio (@code{type=audio}), video
84 (@code{type=video}) or external (@code{type=ext}). Default is audio. The
85 master clock is used to control audio-video synchronization. Most media
86 players use audio as master clock, but in some cases (streaming or high
87 quality broadcast) it is necessary to change that. This option is mainly
88 used for debugging purposes.
89 @item -threads @var{count}
91 @item -ast @var{audio_stream_number}
92 Select the desired audio stream number, counting from 0. The number
93 refers to the list of all the input audio streams. If it is greater
94 than the number of audio streams minus one, then the last one is
95 selected, if it is negative the audio playback is disabled.
96 @item -vst @var{video_stream_number}
97 Select the desired video stream number, counting from 0. The number
98 refers to the list of all the input video streams. If it is greater
99 than the number of video streams minus one, then the last one is
100 selected, if it is negative the video playback is disabled.
101 @item -sst @var{subtitle_stream_number}
102 Select the desired subtitle stream number, counting from 0. The number
103 refers to the list of all the input subtitle streams. If it is greater
104 than the number of subtitle streams minus one, then the last one is
105 selected, if it is negative the subtitle rendering is disabled.
108 @section While playing
127 Cycle subtitle channel.
133 Seek backward/forward 10 seconds.
136 Seek backward/forward 1 minute.
139 Seek to percentage in file corresponding to fraction of width.
148 @settitle FFplay media player
151 ffmpeg(1), ffserver(1) and the HTML documentation of @file{ffmpeg}.