1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2
"http://www.w3.org/TR/html40/loose.dtd">
4
<!-- Created on July, 30 2004 by texi2html 1.66 -->
6
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
7
Karl Berry <karl@freefriends.org>
8
Olaf Bachmann <obachman@mathematik.uni-kl.de>
10
Maintained by: Many creative people <dev@texi2html.cvshome.org>
11
Send bugs and suggestions to <users@texi2html.cvshome.org>
15
<TITLE>FFplay Documentation</TITLE>
17
<META NAME="description" CONTENT="FFplay Documentation">
18
<META NAME="keywords" CONTENT="FFplay Documentation">
19
<META NAME="resource-type" CONTENT="document">
20
<META NAME="distribution" CONTENT="global">
21
<META NAME="Generator" CONTENT="texi2html 1.66">
25
<BODY LANG="en" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000">
28
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
29
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC1"> < </A>]</TD>
30
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC2"> > </A>]</TD>
31
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[ << ]</TD>
32
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC1"> Up </A>]</TD>
33
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC2"> >> </A>]</TD>
34
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC1">Top</A>]</TD>
35
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC_Contents">Contents</A>]</TD>
36
<TD VALIGN="MIDDLE" ALIGN="LEFT">[Index]</TD>
37
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC_About"> ? </A>]</TD>
46
<H1> 1. Introduction </H1>
50
FFplay is a very simple and portable media player using the FFmpeg
51
libraries and the SDL library. It is mostly used as a test bench for the
52
various APIs of FFmpeg.
58
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
59
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC1"> < </A>]</TD>
60
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC3"> > </A>]</TD>
61
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC1"> << </A>]</TD>
62
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC1"> Up </A>]</TD>
63
<TD VALIGN="MIDDLE" ALIGN="LEFT">[ >> ]</TD>
64
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC1">Top</A>]</TD>
65
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC_Contents">Contents</A>]</TD>
66
<TD VALIGN="MIDDLE" ALIGN="LEFT">[Index]</TD>
67
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC_About"> ? </A>]</TD>
69
<H1> 2. Invocation </H1>
75
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
76
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC2"> < </A>]</TD>
77
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC4"> > </A>]</TD>
78
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC2"> << </A>]</TD>
79
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC1"> Up </A>]</TD>
80
<TD VALIGN="MIDDLE" ALIGN="LEFT">[ >> ]</TD>
81
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC1">Top</A>]</TD>
82
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC_Contents">Contents</A>]</TD>
83
<TD VALIGN="MIDDLE" ALIGN="LEFT">[Index]</TD>
84
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC_About"> ? </A>]</TD>
88
<TABLE><tr><td> </td><td class=example><pre>ffplay [options] `<TT>input_file</TT>'
89
</pre></td></tr></table><P>
93
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
94
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC3"> < </A>]</TD>
95
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC5"> > </A>]</TD>
96
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC2"> << </A>]</TD>
97
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC1"> Up </A>]</TD>
98
<TD VALIGN="MIDDLE" ALIGN="LEFT">[ >> ]</TD>
99
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC1">Top</A>]</TD>
100
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC_Contents">Contents</A>]</TD>
101
<TD VALIGN="MIDDLE" ALIGN="LEFT">[Index]</TD>
102
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC_About"> ? </A>]</TD>
104
<H2> 2.2 Main options </H2>
110
<DT>`<SAMP>-h</SAMP>'
112
<DT>`<SAMP>-x width</SAMP>'
113
<DD>force displayed width
114
<DT>`<SAMP>-y height</SAMP>'
115
<DD>force displayed height
116
<DT>`<SAMP>-an</SAMP>'
118
<DT>`<SAMP>-vn</SAMP>'
120
<DT>`<SAMP>-nodisp</SAMP>'
121
<DD>disable graphical display
122
<DT>`<SAMP>-f fmt</SAMP>'
124
<DT>`<SAMP>-img img_fmt</SAMP>'
125
<DD>this option is used to force a given image format
126
when playing image sequences. Example:
127
<TABLE><tr><td> </td><td class=example><pre>ffplay -img pgmyuv tests/vsynth1/%d.pgm
128
</pre></td></tr></table></DL>
133
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
134
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC4"> < </A>]</TD>
135
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC6"> > </A>]</TD>
136
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC2"> << </A>]</TD>
137
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC1"> Up </A>]</TD>
138
<TD VALIGN="MIDDLE" ALIGN="LEFT">[ >> ]</TD>
139
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC1">Top</A>]</TD>
140
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC_Contents">Contents</A>]</TD>
141
<TD VALIGN="MIDDLE" ALIGN="LEFT">[Index]</TD>
142
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC_About"> ? </A>]</TD>
144
<H2> 2.3 Advanced options </H2>
147
<DT>`<SAMP>-stats</SAMP>'
148
<DD>show the stream duration, the codec parameters, the current position in
149
the stream, and the audio/video synchronisation drift.
150
<DT>`<SAMP>-rtp_tcp</SAMP>'
151
<DD>force RTP/TCP protocol usage instead of RTP/UDP. It is only meaningful
152
if you are doing stream with the RTSP protocol.
153
<DT>`<SAMP>-sync type</SAMP>'
154
<DD>set the master clock to audio (<CODE>type=audio</CODE>), video
155
(<CODE>type=video</CODE>) or external (<CODE>type=ext</CODE>). Default is audio. The
156
master clock is used to control audio-video synchronization. Most media
157
players use audio as master clock, but in some cases (streaming or high
158
quality broadcast) it is necessary to change that. This option is mainly
159
used for debugging purposes.
165
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
166
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC5"> < </A>]</TD>
167
<TD VALIGN="MIDDLE" ALIGN="LEFT">[ > ]</TD>
168
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC2"> << </A>]</TD>
169
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC1"> Up </A>]</TD>
170
<TD VALIGN="MIDDLE" ALIGN="LEFT">[ >> ]</TD>
171
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC1">Top</A>]</TD>
172
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC_Contents">Contents</A>]</TD>
173
<TD VALIGN="MIDDLE" ALIGN="LEFT">[Index]</TD>
174
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC_About"> ? </A>]</TD>
176
<H2> 2.4 While playing </H2>
182
<DT><KBD>q, ESC</KBD>
188
<DD>toggle full screen
192
<DT><KBD>p, SPC</KBD>
198
<DD>cycle audio channel
203
<DD>cycle video channel
213
<A NAME="SEC_Contents"></A>
214
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
215
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC1">Top</A>]</TD>
216
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC_Contents">Contents</A>]</TD>
217
<TD VALIGN="MIDDLE" ALIGN="LEFT">[Index]</TD>
218
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC_About"> ? </A>]</TD>
220
<H1>Table of Contents</H1>
222
<A NAME="TOC1" HREF="ffplay-doc.html#SEC1">1. Introduction</A>
224
<A NAME="TOC2" HREF="ffplay-doc.html#SEC2">2. Invocation</A>
227
<A NAME="TOC3" HREF="ffplay-doc.html#SEC3">2.1 Syntax</A>
229
<A NAME="TOC4" HREF="ffplay-doc.html#SEC4">2.2 Main options</A>
231
<A NAME="TOC5" HREF="ffplay-doc.html#SEC5">2.3 Advanced options</A>
233
<A NAME="TOC6" HREF="ffplay-doc.html#SEC6">2.4 While playing</A>
238
<A NAME="SEC_OVERVIEW"></A>
239
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
240
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC1">Top</A>]</TD>
241
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC_Contents">Contents</A>]</TD>
242
<TD VALIGN="MIDDLE" ALIGN="LEFT">[Index]</TD>
243
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC_About"> ? </A>]</TD>
245
<H1>Short Table of Contents</H1>
247
<A NAME="TOC1" HREF="ffplay-doc.html#SEC1">1. Introduction</A>
249
<A NAME="TOC2" HREF="ffplay-doc.html#SEC2">2. Invocation</A>
254
<A NAME="SEC_About"></A>
255
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
256
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC1">Top</A>]</TD>
257
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC_Contents">Contents</A>]</TD>
258
<TD VALIGN="MIDDLE" ALIGN="LEFT">[Index]</TD>
259
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="ffplay-doc.html#SEC_About"> ? </A>]</TD>
261
<H1>About this document</H1>
262
This document was generated
264
using <A HREF="http://texi2html.cvshome.org"><I>texi2html</I></A>
266
The buttons in the navigation panels have the following meaning:
273
<TH> From 1.2.3 go to</TH>
282
previous section in reading order
295
next section in reading order
308
beginning of this chapter or previous chapter
347
cover (top) of document
394
where the <STRONG> Example </STRONG> assumes that the current position
395
is at <STRONG> Subsubsection One-Two-Three </STRONG> of a document of
396
the following structure:</P>
400
<LI>1.1 Subsection One-One
404
<LI>1.2 Subsection One-Two
406
<LI>1.2.1 Subsubsection One-Two-One</LI>
407
<LI>1.2.2 Subsubsection One-Two-Two</LI>
408
<LI>1.2.3 Subsubsection One-Two-Three
409
<STRONG><== Current Position </STRONG></LI>
410
<LI>1.2.4 Subsubsection One-Two-Four</LI>
413
<LI>1.3 Subsection One-Three
418
<LI>1.4 Subsection One-Four</LI>
426
This document was generated
427
by <I>Sam Hocevar</I> on <I>July, 30 2004</I>
428
using <A HREF="http://texi2html.cvshome.org"><I>texi2html</I></A>