1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
|
---|
2 | <html>
|
---|
3 | <!-- Created on June, 30 2006 by texi2html 1.76 -->
|
---|
4 | <!--
|
---|
5 | Written by: Lionel Cons <[email protected]> (original author)
|
---|
6 | Karl Berry <[email protected]>
|
---|
7 | Olaf Bachmann <[email protected]>
|
---|
8 | and many others.
|
---|
9 | Maintained by: Many creative people <[email protected]>
|
---|
10 | Send bugs and suggestions to <[email protected]>
|
---|
11 |
|
---|
12 | -->
|
---|
13 | <head>
|
---|
14 | <title>FFplay Documentation: 1. Introduction</title>
|
---|
15 |
|
---|
16 | <meta name="description" content="FFplay Documentation: 1. Introduction">
|
---|
17 | <meta name="keywords" content="FFplay Documentation: 1. Introduction">
|
---|
18 | <meta name="resource-type" content="document">
|
---|
19 | <meta name="distribution" content="global">
|
---|
20 | <meta name="Generator" content="texi2html 1.76">
|
---|
21 | <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
---|
22 | <style type="text/css">
|
---|
23 | <!--
|
---|
24 | a.summary-letter {text-decoration: none}
|
---|
25 | pre.display {font-family: serif}
|
---|
26 | pre.format {font-family: serif}
|
---|
27 | pre.menu-comment {font-family: serif}
|
---|
28 | pre.menu-preformatted {font-family: serif}
|
---|
29 | pre.smalldisplay {font-family: serif; font-size: smaller}
|
---|
30 | pre.smallexample {font-size: smaller}
|
---|
31 | pre.smallformat {font-family: serif; font-size: smaller}
|
---|
32 | pre.smalllisp {font-size: smaller}
|
---|
33 | span.sansserif {font-family:sans-serif; font-weight:normal;}
|
---|
34 | ul.toc {list-style: none}
|
---|
35 | -->
|
---|
36 | </style>
|
---|
37 |
|
---|
38 |
|
---|
39 | </head>
|
---|
40 |
|
---|
41 | <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
|
---|
42 |
|
---|
43 | <a name="SEC1"></a>
|
---|
44 | <table cellpadding="1" cellspacing="1" border="0">
|
---|
45 | <tr><td valign="middle" align="left">[ < ]</td>
|
---|
46 | <td valign="middle" align="left">[<a href="#SEC2" title="Next section in reading order"> > </a>]</td>
|
---|
47 | <td valign="middle" align="left"> </td>
|
---|
48 | <td valign="middle" align="left">[ << ]</td>
|
---|
49 | <td valign="middle" align="left">[ Up ]</td>
|
---|
50 | <td valign="middle" align="left">[<a href="#SEC2" title="Next chapter"> >> </a>]</td>
|
---|
51 | <td valign="middle" align="left"> </td>
|
---|
52 | <td valign="middle" align="left"> </td>
|
---|
53 | <td valign="middle" align="left"> </td>
|
---|
54 | <td valign="middle" align="left"> </td>
|
---|
55 | <td valign="middle" align="left">[<a href="#SEC1" title="Cover (top) of document">Top</a>]</td>
|
---|
56 | <td valign="middle" align="left">[Contents]</td>
|
---|
57 | <td valign="middle" align="left">[Index]</td>
|
---|
58 | <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
|
---|
59 | </tr></table>
|
---|
60 | <h1 class="chapter"> 1. Introduction </h1>
|
---|
61 |
|
---|
62 | <p>FFplay is a very simple and portable media player using the FFmpeg
|
---|
63 | libraries and the SDL library. It is mostly used as a testbed for the
|
---|
64 | various FFmpeg APIs.
|
---|
65 | </p>
|
---|
66 | <hr size="6">
|
---|
67 | <a name="SEC2"></a>
|
---|
68 | <table cellpadding="1" cellspacing="1" border="0">
|
---|
69 | <tr><td valign="middle" align="left">[<a href="#SEC1" title="Previous section in reading order"> < </a>]</td>
|
---|
70 | <td valign="middle" align="left">[<a href="#SEC3" title="Next section in reading order"> > </a>]</td>
|
---|
71 | <td valign="middle" align="left"> </td>
|
---|
72 | <td valign="middle" align="left">[<a href="#SEC1" title="Beginning of this chapter or previous chapter"> << </a>]</td>
|
---|
73 | <td valign="middle" align="left">[<a href="#SEC1" title="Up section"> Up </a>]</td>
|
---|
74 | <td valign="middle" align="left">[ >> ]</td>
|
---|
75 | <td valign="middle" align="left"> </td>
|
---|
76 | <td valign="middle" align="left"> </td>
|
---|
77 | <td valign="middle" align="left"> </td>
|
---|
78 | <td valign="middle" align="left"> </td>
|
---|
79 | <td valign="middle" align="left">[<a href="#SEC1" title="Cover (top) of document">Top</a>]</td>
|
---|
80 | <td valign="middle" align="left">[Contents]</td>
|
---|
81 | <td valign="middle" align="left">[Index]</td>
|
---|
82 | <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
|
---|
83 | </tr></table>
|
---|
84 | <h1 class="chapter"> 2. Invocation </h1>
|
---|
85 |
|
---|
86 | <hr size="6">
|
---|
87 | <a name="SEC3"></a>
|
---|
88 | <table cellpadding="1" cellspacing="1" border="0">
|
---|
89 | <tr><td valign="middle" align="left">[<a href="#SEC2" title="Previous section in reading order"> < </a>]</td>
|
---|
90 | <td valign="middle" align="left">[<a href="#SEC4" title="Next section in reading order"> > </a>]</td>
|
---|
91 | <td valign="middle" align="left"> </td>
|
---|
92 | <td valign="middle" align="left">[<a href="#SEC2" title="Beginning of this chapter or previous chapter"> << </a>]</td>
|
---|
93 | <td valign="middle" align="left">[<a href="#SEC2" title="Up section"> Up </a>]</td>
|
---|
94 | <td valign="middle" align="left">[ >> ]</td>
|
---|
95 | <td valign="middle" align="left"> </td>
|
---|
96 | <td valign="middle" align="left"> </td>
|
---|
97 | <td valign="middle" align="left"> </td>
|
---|
98 | <td valign="middle" align="left"> </td>
|
---|
99 | <td valign="middle" align="left">[<a href="#SEC1" title="Cover (top) of document">Top</a>]</td>
|
---|
100 | <td valign="middle" align="left">[Contents]</td>
|
---|
101 | <td valign="middle" align="left">[Index]</td>
|
---|
102 | <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
|
---|
103 | </tr></table>
|
---|
104 | <h2 class="section"> 2.1 Syntax </h2>
|
---|
105 | <table><tr><td> </td><td><pre class="example">ffplay [options] <tt>`input_file'</tt>
|
---|
106 | </pre></td></tr></table>
|
---|
107 | <hr size="6">
|
---|
108 | <a name="SEC4"></a>
|
---|
109 | <table cellpadding="1" cellspacing="1" border="0">
|
---|
110 | <tr><td valign="middle" align="left">[<a href="#SEC3" title="Previous section in reading order"> < </a>]</td>
|
---|
111 | <td valign="middle" align="left">[<a href="#SEC5" title="Next section in reading order"> > </a>]</td>
|
---|
112 | <td valign="middle" align="left"> </td>
|
---|
113 | <td valign="middle" align="left">[<a href="#SEC2" title="Beginning of this chapter or previous chapter"> << </a>]</td>
|
---|
114 | <td valign="middle" align="left">[<a href="#SEC2" title="Up section"> Up </a>]</td>
|
---|
115 | <td valign="middle" align="left">[ >> ]</td>
|
---|
116 | <td valign="middle" align="left"> </td>
|
---|
117 | <td valign="middle" align="left"> </td>
|
---|
118 | <td valign="middle" align="left"> </td>
|
---|
119 | <td valign="middle" align="left"> </td>
|
---|
120 | <td valign="middle" align="left">[<a href="#SEC1" title="Cover (top) of document">Top</a>]</td>
|
---|
121 | <td valign="middle" align="left">[Contents]</td>
|
---|
122 | <td valign="middle" align="left">[Index]</td>
|
---|
123 | <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
|
---|
124 | </tr></table>
|
---|
125 | <h2 class="section"> 2.2 Main options </h2>
|
---|
126 |
|
---|
127 | <dl compact="compact">
|
---|
128 | <dt> <samp>`-h'</samp></dt>
|
---|
129 | <dd><p>show help
|
---|
130 | </p></dd>
|
---|
131 | <dt> <samp>`-x width'</samp></dt>
|
---|
132 | <dd><p>force displayed width
|
---|
133 | </p></dd>
|
---|
134 | <dt> <samp>`-y height'</samp></dt>
|
---|
135 | <dd><p>force displayed height
|
---|
136 | </p></dd>
|
---|
137 | <dt> <samp>`-an'</samp></dt>
|
---|
138 | <dd><p>disable audio
|
---|
139 | </p></dd>
|
---|
140 | <dt> <samp>`-vn'</samp></dt>
|
---|
141 | <dd><p>disable video
|
---|
142 | </p></dd>
|
---|
143 | <dt> <samp>`-nodisp'</samp></dt>
|
---|
144 | <dd><p>disable graphical display
|
---|
145 | </p></dd>
|
---|
146 | <dt> <samp>`-f fmt'</samp></dt>
|
---|
147 | <dd><p>force format
|
---|
148 | </p></dd>
|
---|
149 | <dt> <samp>`-img img_fmt'</samp></dt>
|
---|
150 | <dd><p>This option is used to force a given image format
|
---|
151 | when playing image sequences. Example:
|
---|
152 | </p><table><tr><td> </td><td><pre class="example">ffplay -img pgmyuv tests/vsynth1/%d.pgm
|
---|
153 | </pre></td></tr></table></dd>
|
---|
154 | </dl>
|
---|
155 |
|
---|
156 | <hr size="6">
|
---|
157 | <a name="SEC5"></a>
|
---|
158 | <table cellpadding="1" cellspacing="1" border="0">
|
---|
159 | <tr><td valign="middle" align="left">[<a href="#SEC4" title="Previous section in reading order"> < </a>]</td>
|
---|
160 | <td valign="middle" align="left">[<a href="#SEC6" title="Next section in reading order"> > </a>]</td>
|
---|
161 | <td valign="middle" align="left"> </td>
|
---|
162 | <td valign="middle" align="left">[<a href="#SEC2" title="Beginning of this chapter or previous chapter"> << </a>]</td>
|
---|
163 | <td valign="middle" align="left">[<a href="#SEC2" title="Up section"> Up </a>]</td>
|
---|
164 | <td valign="middle" align="left">[ >> ]</td>
|
---|
165 | <td valign="middle" align="left"> </td>
|
---|
166 | <td valign="middle" align="left"> </td>
|
---|
167 | <td valign="middle" align="left"> </td>
|
---|
168 | <td valign="middle" align="left"> </td>
|
---|
169 | <td valign="middle" align="left">[<a href="#SEC1" title="Cover (top) of document">Top</a>]</td>
|
---|
170 | <td valign="middle" align="left">[Contents]</td>
|
---|
171 | <td valign="middle" align="left">[Index]</td>
|
---|
172 | <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
|
---|
173 | </tr></table>
|
---|
174 | <h2 class="section"> 2.3 Advanced options </h2>
|
---|
175 | <dl compact="compact">
|
---|
176 | <dt> <samp>`-stats'</samp></dt>
|
---|
177 | <dd><p>Show the stream duration, the codec parameters, the current position in
|
---|
178 | the stream and the audio/video synchronisation drift.
|
---|
179 | </p></dd>
|
---|
180 | <dt> <samp>`-rtp_tcp'</samp></dt>
|
---|
181 | <dd><p>Force RTP/TCP protocol usage instead of RTP/UDP. It is only meaningful
|
---|
182 | if you are streaming with the RTSP protocol.
|
---|
183 | </p></dd>
|
---|
184 | <dt> <samp>`-sync type'</samp></dt>
|
---|
185 | <dd><p>Set the master clock to audio (<code>type=audio</code>), video
|
---|
186 | (<code>type=video</code>) or external (<code>type=ext</code>). Default is audio. The
|
---|
187 | master clock is used to control audio-video synchronization. Most media
|
---|
188 | players use audio as master clock, but in some cases (streaming or high
|
---|
189 | quality broadcast) it is necessary to change that. This option is mainly
|
---|
190 | used for debugging purposes.
|
---|
191 | </p></dd>
|
---|
192 | </dl>
|
---|
193 |
|
---|
194 | <hr size="6">
|
---|
195 | <a name="SEC6"></a>
|
---|
196 | <table cellpadding="1" cellspacing="1" border="0">
|
---|
197 | <tr><td valign="middle" align="left">[<a href="#SEC5" title="Previous section in reading order"> < </a>]</td>
|
---|
198 | <td valign="middle" align="left">[ > ]</td>
|
---|
199 | <td valign="middle" align="left"> </td>
|
---|
200 | <td valign="middle" align="left">[<a href="#SEC2" title="Beginning of this chapter or previous chapter"> << </a>]</td>
|
---|
201 | <td valign="middle" align="left">[<a href="#SEC2" title="Up section"> Up </a>]</td>
|
---|
202 | <td valign="middle" align="left">[ >> ]</td>
|
---|
203 | <td valign="middle" align="left"> </td>
|
---|
204 | <td valign="middle" align="left"> </td>
|
---|
205 | <td valign="middle" align="left"> </td>
|
---|
206 | <td valign="middle" align="left"> </td>
|
---|
207 | <td valign="middle" align="left">[<a href="#SEC1" title="Cover (top) of document">Top</a>]</td>
|
---|
208 | <td valign="middle" align="left">[Contents]</td>
|
---|
209 | <td valign="middle" align="left">[Index]</td>
|
---|
210 | <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
|
---|
211 | </tr></table>
|
---|
212 | <h2 class="section"> 2.4 While playing </h2>
|
---|
213 |
|
---|
214 | <dl compact="compact">
|
---|
215 | <dt> <kbd>q, ESC</kbd></dt>
|
---|
216 | <dd><p>quit
|
---|
217 | </p>
|
---|
218 | </dd>
|
---|
219 | <dt> <kbd>f</kbd></dt>
|
---|
220 | <dd><p>toggle full screen
|
---|
221 | </p>
|
---|
222 | </dd>
|
---|
223 | <dt> <kbd>p, SPC</kbd></dt>
|
---|
224 | <dd><p>pause
|
---|
225 | </p>
|
---|
226 | </dd>
|
---|
227 | <dt> <kbd>a</kbd></dt>
|
---|
228 | <dd><p>cycle audio channel
|
---|
229 | </p>
|
---|
230 | </dd>
|
---|
231 | <dt> <kbd>v</kbd></dt>
|
---|
232 | <dd><p>cycle video channel
|
---|
233 | </p>
|
---|
234 | </dd>
|
---|
235 | <dt> <kbd>w</kbd></dt>
|
---|
236 | <dd><p>show audio waves
|
---|
237 | </p></dd>
|
---|
238 | </dl>
|
---|
239 |
|
---|
240 |
|
---|
241 |
|
---|
242 | <hr size="6">
|
---|
243 | <a name="SEC_About"></a>
|
---|
244 | <table cellpadding="1" cellspacing="1" border="0">
|
---|
245 | <tr><td valign="middle" align="left">[<a href="#SEC1" title="Cover (top) of document">Top</a>]</td>
|
---|
246 | <td valign="middle" align="left">[Contents]</td>
|
---|
247 | <td valign="middle" align="left">[Index]</td>
|
---|
248 | <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
|
---|
249 | </tr></table>
|
---|
250 | <h1>About This Document</h1>
|
---|
251 | <p>
|
---|
252 | This document was generated on <i>June, 30 2006</i> using <a href="http://texi2html.cvshome.org/"><i>texi2html 1.76</i></a>.
|
---|
253 | </p>
|
---|
254 | <p>
|
---|
255 | The buttons in the navigation panels have the following meaning:
|
---|
256 | </p>
|
---|
257 | <table border="1">
|
---|
258 | <tr>
|
---|
259 | <th> Button </th>
|
---|
260 | <th> Name </th>
|
---|
261 | <th> Go to </th>
|
---|
262 | <th> From 1.2.3 go to</th>
|
---|
263 | </tr>
|
---|
264 | <tr>
|
---|
265 | <td align="center"> [ < ] </td>
|
---|
266 | <td align="center">Back</td>
|
---|
267 | <td>previous section in reading order</td>
|
---|
268 | <td>1.2.2</td>
|
---|
269 | </tr>
|
---|
270 | <tr>
|
---|
271 | <td align="center"> [ > ] </td>
|
---|
272 | <td align="center">Forward</td>
|
---|
273 | <td>next section in reading order</td>
|
---|
274 | <td>1.2.4</td>
|
---|
275 | </tr>
|
---|
276 | <tr>
|
---|
277 | <td align="center"> [ << ] </td>
|
---|
278 | <td align="center">FastBack</td>
|
---|
279 | <td>beginning of this chapter or previous chapter</td>
|
---|
280 | <td>1</td>
|
---|
281 | </tr>
|
---|
282 | <tr>
|
---|
283 | <td align="center"> [ Up ] </td>
|
---|
284 | <td align="center">Up</td>
|
---|
285 | <td>up section</td>
|
---|
286 | <td>1.2</td>
|
---|
287 | </tr>
|
---|
288 | <tr>
|
---|
289 | <td align="center"> [ >> ] </td>
|
---|
290 | <td align="center">FastForward</td>
|
---|
291 | <td>next chapter</td>
|
---|
292 | <td>2</td>
|
---|
293 | </tr>
|
---|
294 | <tr>
|
---|
295 | <td align="center"> [Top] </td>
|
---|
296 | <td align="center">Top</td>
|
---|
297 | <td>cover (top) of document</td>
|
---|
298 | <td> </td>
|
---|
299 | </tr>
|
---|
300 | <tr>
|
---|
301 | <td align="center"> [Contents] </td>
|
---|
302 | <td align="center">Contents</td>
|
---|
303 | <td>table of contents</td>
|
---|
304 | <td> </td>
|
---|
305 | </tr>
|
---|
306 | <tr>
|
---|
307 | <td align="center"> [Index] </td>
|
---|
308 | <td align="center">Index</td>
|
---|
309 | <td>index</td>
|
---|
310 | <td> </td>
|
---|
311 | </tr>
|
---|
312 | <tr>
|
---|
313 | <td align="center"> [ ? ] </td>
|
---|
314 | <td align="center">About</td>
|
---|
315 | <td>about (help)</td>
|
---|
316 | <td> </td>
|
---|
317 | </tr>
|
---|
318 | </table>
|
---|
319 |
|
---|
320 | <p>
|
---|
321 | where the <strong> Example </strong> assumes that the current position is at <strong> Subsubsection One-Two-Three </strong> of a document of the following structure:
|
---|
322 | </p>
|
---|
323 |
|
---|
324 | <ul>
|
---|
325 | <li> 1. Section One
|
---|
326 | <ul>
|
---|
327 | <li>1.1 Subsection One-One
|
---|
328 | <ul>
|
---|
329 | <li>...</li>
|
---|
330 | </ul>
|
---|
331 | </li>
|
---|
332 | <li>1.2 Subsection One-Two
|
---|
333 | <ul>
|
---|
334 | <li>1.2.1 Subsubsection One-Two-One</li>
|
---|
335 | <li>1.2.2 Subsubsection One-Two-Two</li>
|
---|
336 | <li>1.2.3 Subsubsection One-Two-Three
|
---|
337 | <strong><== Current Position </strong></li>
|
---|
338 | <li>1.2.4 Subsubsection One-Two-Four</li>
|
---|
339 | </ul>
|
---|
340 | </li>
|
---|
341 | <li>1.3 Subsection One-Three
|
---|
342 | <ul>
|
---|
343 | <li>...</li>
|
---|
344 | </ul>
|
---|
345 | </li>
|
---|
346 | <li>1.4 Subsection One-Four</li>
|
---|
347 | </ul>
|
---|
348 | </li>
|
---|
349 | </ul>
|
---|
350 |
|
---|
351 | <hr size="1">
|
---|
352 | <p>
|
---|
353 | <font size="-1">
|
---|
354 | This document was generated on <i>June, 30 2006</i> using <a href="http://texi2html.cvshome.org/"><i>texi2html 1.76</i></a>.
|
---|
355 | </font>
|
---|
356 | <br>
|
---|
357 |
|
---|
358 | </p>
|
---|
359 | </body>
|
---|
360 | </html>
|
---|