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}
39 Show available formats.
41 Show available codecs.
43 Show available bitstream filters.
45 Show available protocols.
47 Force displayed width.
49 Force displayed height.
51 Set frame size (WxH or abbreviation), needed for videos which don't
52 contain a header with the frame size like raw YUV.
58 Seek to a given position in seconds.
62 Disable graphical display.
65 @item -loglevel @var{loglevel}
66 Set the logging level used by the library.
67 @var{loglevel} is a number or a string containing one of the following values:
80 @section Advanced options
82 @item -pix_fmt @var{format}
85 Show the stream duration, the codec parameters, the current position in
86 the stream and the audio/video synchronisation drift.
88 Print specific debug info.
92 Visualize motion vectors.
94 Non-spec-compliant optimizations.
98 Force RTP/TCP protocol usage instead of RTP/UDP. It is only meaningful
99 if you are streaming with the RTSP protocol.
100 @item -sync @var{type}
101 Set the master clock to audio (@code{type=audio}), video
102 (@code{type=video}) or external (@code{type=ext}). Default is audio. The
103 master clock is used to control audio-video synchronization. Most media
104 players use audio as master clock, but in some cases (streaming or high
105 quality broadcast) it is necessary to change that. This option is mainly
106 used for debugging purposes.
107 @item -threads @var{count}
108 Set the thread count.
109 @item -ast @var{audio_stream_number}
110 Select the desired audio stream number, counting from 0. The number
111 refers to the list of all the input audio streams. If it is greater
112 than the number of audio streams minus one, then the last one is
113 selected, if it is negative the audio playback is disabled.
114 @item -vst @var{video_stream_number}
115 Select the desired video stream number, counting from 0. The number
116 refers to the list of all the input video streams. If it is greater
117 than the number of video streams minus one, then the last one is
118 selected, if it is negative the video playback is disabled.
119 @item -sst @var{subtitle_stream_number}
120 Select the desired subtitle stream number, counting from 0. The number
121 refers to the list of all the input subtitle streams. If it is greater
122 than the number of subtitle streams minus one, then the last one is
123 selected, if it is negative the subtitle rendering is disabled.
126 @section While playing
145 Cycle subtitle channel.
151 Seek backward/forward 10 seconds.
154 Seek backward/forward 1 minute.
157 Seek to percentage in file corresponding to fraction of width.
166 @settitle FFplay media player
169 ffmpeg(1), ffserver(1) and the HTML documentation of @file{ffmpeg}.