yading@10
|
1 \input texinfo @c -*- texinfo -*-
|
yading@10
|
2
|
yading@10
|
3 @settitle ffplay Documentation
|
yading@10
|
4 @titlepage
|
yading@10
|
5 @center @titlefont{ffplay Documentation}
|
yading@10
|
6 @end titlepage
|
yading@10
|
7
|
yading@10
|
8 @top
|
yading@10
|
9
|
yading@10
|
10 @contents
|
yading@10
|
11
|
yading@10
|
12 @chapter Synopsis
|
yading@10
|
13
|
yading@10
|
14 ffplay [@var{options}] [@file{input_file}]
|
yading@10
|
15
|
yading@10
|
16 @chapter Description
|
yading@10
|
17 @c man begin DESCRIPTION
|
yading@10
|
18
|
yading@10
|
19 FFplay is a very simple and portable media player using the FFmpeg
|
yading@10
|
20 libraries and the SDL library. It is mostly used as a testbed for the
|
yading@10
|
21 various FFmpeg APIs.
|
yading@10
|
22 @c man end
|
yading@10
|
23
|
yading@10
|
24 @chapter Options
|
yading@10
|
25 @c man begin OPTIONS
|
yading@10
|
26
|
yading@10
|
27 @include avtools-common-opts.texi
|
yading@10
|
28
|
yading@10
|
29 @section Main options
|
yading@10
|
30
|
yading@10
|
31 @table @option
|
yading@10
|
32 @item -x @var{width}
|
yading@10
|
33 Force displayed width.
|
yading@10
|
34 @item -y @var{height}
|
yading@10
|
35 Force displayed height.
|
yading@10
|
36 @item -s @var{size}
|
yading@10
|
37 Set frame size (WxH or abbreviation), needed for videos which do
|
yading@10
|
38 not contain a header with the frame size like raw YUV. This option
|
yading@10
|
39 has been deprecated in favor of private options, try -video_size.
|
yading@10
|
40 @item -an
|
yading@10
|
41 Disable audio.
|
yading@10
|
42 @item -vn
|
yading@10
|
43 Disable video.
|
yading@10
|
44 @item -ss @var{pos}
|
yading@10
|
45 Seek to a given position in seconds.
|
yading@10
|
46 @item -t @var{duration}
|
yading@10
|
47 play <duration> seconds of audio/video
|
yading@10
|
48 @item -bytes
|
yading@10
|
49 Seek by bytes.
|
yading@10
|
50 @item -nodisp
|
yading@10
|
51 Disable graphical display.
|
yading@10
|
52 @item -f @var{fmt}
|
yading@10
|
53 Force format.
|
yading@10
|
54 @item -window_title @var{title}
|
yading@10
|
55 Set window title (default is the input filename).
|
yading@10
|
56 @item -loop @var{number}
|
yading@10
|
57 Loops movie playback <number> times. 0 means forever.
|
yading@10
|
58 @item -showmode @var{mode}
|
yading@10
|
59 Set the show mode to use.
|
yading@10
|
60 Available values for @var{mode} are:
|
yading@10
|
61 @table @samp
|
yading@10
|
62 @item 0, video
|
yading@10
|
63 show video
|
yading@10
|
64 @item 1, waves
|
yading@10
|
65 show audio waves
|
yading@10
|
66 @item 2, rdft
|
yading@10
|
67 show audio frequency band using RDFT ((Inverse) Real Discrete Fourier Transform)
|
yading@10
|
68 @end table
|
yading@10
|
69
|
yading@10
|
70 Default value is "video", if video is not present or cannot be played
|
yading@10
|
71 "rdft" is automatically selected.
|
yading@10
|
72
|
yading@10
|
73 You can interactively cycle through the available show modes by
|
yading@10
|
74 pressing the key @key{w}.
|
yading@10
|
75
|
yading@10
|
76 @item -vf @var{filtergraph}
|
yading@10
|
77 Create the filtergraph specified by @var{filtergraph} and use it to
|
yading@10
|
78 filter the video stream.
|
yading@10
|
79
|
yading@10
|
80 @var{filtergraph} is a description of the filtergraph to apply to
|
yading@10
|
81 the stream, and must have a single video input and a single video
|
yading@10
|
82 output. In the filtergraph, the input is associated to the label
|
yading@10
|
83 @code{in}, and the output to the label @code{out}. See the
|
yading@10
|
84 ffmpeg-filters manual for more information about the filtergraph
|
yading@10
|
85 syntax.
|
yading@10
|
86
|
yading@10
|
87 @item -af @var{filtergraph}
|
yading@10
|
88 @var{filtergraph} is a description of the filtergraph to apply to
|
yading@10
|
89 the input audio.
|
yading@10
|
90 Use the option "-filters" to show all the available filters (including
|
yading@10
|
91 sources and sinks).
|
yading@10
|
92
|
yading@10
|
93 @item -i @var{input_file}
|
yading@10
|
94 Read @var{input_file}.
|
yading@10
|
95 @end table
|
yading@10
|
96
|
yading@10
|
97 @section Advanced options
|
yading@10
|
98 @table @option
|
yading@10
|
99 @item -pix_fmt @var{format}
|
yading@10
|
100 Set pixel format.
|
yading@10
|
101 This option has been deprecated in favor of private options, try -pixel_format.
|
yading@10
|
102
|
yading@10
|
103 @item -stats
|
yading@10
|
104 Print several playback statistics, in particular show the stream
|
yading@10
|
105 duration, the codec parameters, the current position in the stream and
|
yading@10
|
106 the audio/video synchronisation drift. It is on by default, to
|
yading@10
|
107 explicitly disable it you need to specify @code{-nostats}.
|
yading@10
|
108
|
yading@10
|
109 @item -bug
|
yading@10
|
110 Work around bugs.
|
yading@10
|
111 @item -fast
|
yading@10
|
112 Non-spec-compliant optimizations.
|
yading@10
|
113 @item -genpts
|
yading@10
|
114 Generate pts.
|
yading@10
|
115 @item -rtp_tcp
|
yading@10
|
116 Force RTP/TCP protocol usage instead of RTP/UDP. It is only meaningful
|
yading@10
|
117 if you are streaming with the RTSP protocol.
|
yading@10
|
118 @item -sync @var{type}
|
yading@10
|
119 Set the master clock to audio (@code{type=audio}), video
|
yading@10
|
120 (@code{type=video}) or external (@code{type=ext}). Default is audio. The
|
yading@10
|
121 master clock is used to control audio-video synchronization. Most media
|
yading@10
|
122 players use audio as master clock, but in some cases (streaming or high
|
yading@10
|
123 quality broadcast) it is necessary to change that. This option is mainly
|
yading@10
|
124 used for debugging purposes.
|
yading@10
|
125 @item -threads @var{count}
|
yading@10
|
126 Set the thread count.
|
yading@10
|
127 @item -ast @var{audio_stream_number}
|
yading@10
|
128 Select the desired audio stream number, counting from 0. The number
|
yading@10
|
129 refers to the list of all the input audio streams. If it is greater
|
yading@10
|
130 than the number of audio streams minus one, then the last one is
|
yading@10
|
131 selected, if it is negative the audio playback is disabled.
|
yading@10
|
132 @item -vst @var{video_stream_number}
|
yading@10
|
133 Select the desired video stream number, counting from 0. The number
|
yading@10
|
134 refers to the list of all the input video streams. If it is greater
|
yading@10
|
135 than the number of video streams minus one, then the last one is
|
yading@10
|
136 selected, if it is negative the video playback is disabled.
|
yading@10
|
137 @item -sst @var{subtitle_stream_number}
|
yading@10
|
138 Select the desired subtitle stream number, counting from 0. The number
|
yading@10
|
139 refers to the list of all the input subtitle streams. If it is greater
|
yading@10
|
140 than the number of subtitle streams minus one, then the last one is
|
yading@10
|
141 selected, if it is negative the subtitle rendering is disabled.
|
yading@10
|
142 @item -autoexit
|
yading@10
|
143 Exit when video is done playing.
|
yading@10
|
144 @item -exitonkeydown
|
yading@10
|
145 Exit if any key is pressed.
|
yading@10
|
146 @item -exitonmousedown
|
yading@10
|
147 Exit if any mouse button is pressed.
|
yading@10
|
148
|
yading@10
|
149 @item -codec:@var{media_specifier} @var{codec_name}
|
yading@10
|
150 Force a specific decoder implementation for the stream identified by
|
yading@10
|
151 @var{media_specifier}, which can assume the values @code{a} (audio),
|
yading@10
|
152 @code{v} (video), and @code{s} subtitle.
|
yading@10
|
153
|
yading@10
|
154 @item -acodec @var{codec_name}
|
yading@10
|
155 Force a specific audio decoder.
|
yading@10
|
156
|
yading@10
|
157 @item -vcodec @var{codec_name}
|
yading@10
|
158 Force a specific video decoder.
|
yading@10
|
159
|
yading@10
|
160 @item -scodec @var{codec_name}
|
yading@10
|
161 Force a specific subtitle decoder.
|
yading@10
|
162 @end table
|
yading@10
|
163
|
yading@10
|
164 @section While playing
|
yading@10
|
165
|
yading@10
|
166 @table @key
|
yading@10
|
167 @item q, ESC
|
yading@10
|
168 Quit.
|
yading@10
|
169
|
yading@10
|
170 @item f
|
yading@10
|
171 Toggle full screen.
|
yading@10
|
172
|
yading@10
|
173 @item p, SPC
|
yading@10
|
174 Pause.
|
yading@10
|
175
|
yading@10
|
176 @item a
|
yading@10
|
177 Cycle audio channel.
|
yading@10
|
178
|
yading@10
|
179 @item v
|
yading@10
|
180 Cycle video channel.
|
yading@10
|
181
|
yading@10
|
182 @item t
|
yading@10
|
183 Cycle subtitle channel.
|
yading@10
|
184
|
yading@10
|
185 @item w
|
yading@10
|
186 Show audio waves.
|
yading@10
|
187
|
yading@10
|
188 @item left/right
|
yading@10
|
189 Seek backward/forward 10 seconds.
|
yading@10
|
190
|
yading@10
|
191 @item down/up
|
yading@10
|
192 Seek backward/forward 1 minute.
|
yading@10
|
193
|
yading@10
|
194 @item page down/page up
|
yading@10
|
195 Seek backward/forward 10 minutes.
|
yading@10
|
196
|
yading@10
|
197 @item mouse click
|
yading@10
|
198 Seek to percentage in file corresponding to fraction of width.
|
yading@10
|
199
|
yading@10
|
200 @end table
|
yading@10
|
201
|
yading@10
|
202 @c man end
|
yading@10
|
203
|
yading@10
|
204 @ifset config-all
|
yading@10
|
205 @include all-components.texi
|
yading@10
|
206 @end ifset
|
yading@10
|
207
|
yading@10
|
208 @chapter See Also
|
yading@10
|
209
|
yading@10
|
210 @ifhtml
|
yading@10
|
211 @ifset config-all
|
yading@10
|
212 @url{ffplay.html,ffplay},
|
yading@10
|
213 @end ifset
|
yading@10
|
214 @ifset config-not-all
|
yading@10
|
215 @url{ffplay-all.html,ffmpeg-all},
|
yading@10
|
216 @end ifset
|
yading@10
|
217 @url{ffmpeg.html,ffmpeg}, @url{ffprobe.html,ffprobe}, @url{ffserver.html,ffserver},
|
yading@10
|
218 @url{ffmpeg-utils.html,ffmpeg-utils},
|
yading@10
|
219 @url{ffmpeg-scaler.html,ffmpeg-scaler},
|
yading@10
|
220 @url{ffmpeg-resampler.html,ffmpeg-resampler},
|
yading@10
|
221 @url{ffmpeg-codecs.html,ffmpeg-codecs},
|
yading@10
|
222 @url{ffmpeg-bitstream-filters.html,ffmpeg-bitstream-filters},
|
yading@10
|
223 @url{ffmpeg-formats.html,ffmpeg-formats},
|
yading@10
|
224 @url{ffmpeg-devices.html,ffmpeg-devices},
|
yading@10
|
225 @url{ffmpeg-protocols.html,ffmpeg-protocols},
|
yading@10
|
226 @url{ffmpeg-filters.html,ffmpeg-filters}
|
yading@10
|
227 @end ifhtml
|
yading@10
|
228
|
yading@10
|
229 @ifnothtml
|
yading@10
|
230 @ifset config-all
|
yading@10
|
231 ffplay(1),
|
yading@10
|
232 @end ifset
|
yading@10
|
233 @ifset config-not-all
|
yading@10
|
234 ffplay-all(1),
|
yading@10
|
235 @end ifset
|
yading@10
|
236 ffmpeg(1), ffprobe(1), ffserver(1),
|
yading@10
|
237 ffmpeg-utils(1), ffmpeg-scaler(1), ffmpeg-resampler(1),
|
yading@10
|
238 ffmpeg-codecs(1), ffmpeg-bitstream-filters(1), ffmpeg-formats(1),
|
yading@10
|
239 ffmpeg-devices(1), ffmpeg-protocols(1), ffmpeg-filters(1)
|
yading@10
|
240 @end ifnothtml
|
yading@10
|
241
|
yading@10
|
242 @include authors.texi
|
yading@10
|
243
|
yading@10
|
244 @ignore
|
yading@10
|
245
|
yading@10
|
246 @setfilename ffplay
|
yading@10
|
247 @settitle FFplay media player
|
yading@10
|
248
|
yading@10
|
249 @end ignore
|
yading@10
|
250
|
yading@10
|
251 @bye
|