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