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