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.
51 Disable graphical display.
54 @item -window_title @var{title}
55 Set window title (default is the input filename).
58 @section Advanced options
60 @item -pix_fmt @var{format}
63 Show the stream duration, the codec parameters, the current position in
64 the stream and the audio/video synchronisation drift.
66 Print specific debug info.
70 Visualize motion vectors.
72 Non-spec-compliant optimizations.
76 Force RTP/TCP protocol usage instead of RTP/UDP. It is only meaningful
77 if you are streaming with the RTSP protocol.
78 @item -sync @var{type}
79 Set the master clock to audio (@code{type=audio}), video
80 (@code{type=video}) or external (@code{type=ext}). Default is audio. The
81 master clock is used to control audio-video synchronization. Most media
82 players use audio as master clock, but in some cases (streaming or high
83 quality broadcast) it is necessary to change that. This option is mainly
84 used for debugging purposes.
85 @item -threads @var{count}
87 @item -ast @var{audio_stream_number}
88 Select the desired audio stream number, counting from 0. The number
89 refers to the list of all the input audio streams. If it is greater
90 than the number of audio streams minus one, then the last one is
91 selected, if it is negative the audio playback is disabled.
92 @item -vst @var{video_stream_number}
93 Select the desired video stream number, counting from 0. The number
94 refers to the list of all the input video streams. If it is greater
95 than the number of video streams minus one, then the last one is
96 selected, if it is negative the video playback is disabled.
97 @item -sst @var{subtitle_stream_number}
98 Select the desired subtitle stream number, counting from 0. The number
99 refers to the list of all the input subtitle streams. If it is greater
100 than the number of subtitle streams minus one, then the last one is
101 selected, if it is negative the subtitle rendering is disabled.
104 @section While playing
123 Cycle subtitle channel.
129 Seek backward/forward 10 seconds.
132 Seek backward/forward 1 minute.
135 Seek to percentage in file corresponding to fraction of width.
144 @settitle FFplay media player
147 ffmpeg(1), ffserver(1) and the HTML documentation of @file{ffmpeg}.