1 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
2 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
4 <!ENTITY legal SYSTEM "legal.xml">
5 <!ENTITY appversion "0.8.9">
6 <!ENTITY manrevision "0.4">
7 <!ENTITY date "Feb 2011">
8 <!ENTITY app "<application>Gnash</application>">
9 <!ENTITY appname "Gnash">
10 <!ENTITY version "0.8">
16 <refentrytitle>gnash</refentrytitle>
17 <manvolnum>1</manvolnum>
20 <!-- the refname becomes the output name of the man page -->
22 <refname>gnash</refname>
23 <refname>gtk-gnash</refname>
24 <refname>kde4-gnash</refname>
25 <refpurpose>GNU Flash (SWF) Player</refpurpose>
29 <refsynopsisdiv><title>Synopsis</title>
31 gnash [option]... [URL]
35 <refsect1><title>Description</title>
37 Run the SWF movie player.
53 <term>--version</term>
56 Print the version number, and the configuration, of the
57 Gnash player. Please provide this information when submitting bug
64 <term>-s factor</term>
65 <term>--scale factor</term>
68 Scale the movie up/down by the specified factor.
77 Produce a core file instead of letting SDL trap it
84 <term>--delay num</term>
87 Number of milliseconds to delay in main loop.
94 <term>--verbose</term>
97 Be verbose; i.e. print log messages to stdout.
106 Be very verbose about movie action execution. Must be used in
116 Be very verbose about parsing. Must be used in conjunction with -v.
125 Audio dump file (wave format).
131 <term>--hwaccel none|vaapi|xv</term>
134 Hardware Video Accelerator to use none|vaapi|xv|omap (default: none)
141 <term>--xid xid</term>
144 The XID of the parent window Gnash should use instead of
145 creating a new one. This is only used when embedding the player
153 <term>--writelog</term>
156 Write the gnash-dbg.log debug log to disk. By default the
157 plugin writes its log in your home directory when using a
158 launcher from GNOME or KDE.
164 <term>-j width</term>
165 <term>--width width</term>
168 Set the width of the window. This is only used when embedding
169 the player into another window.
175 <term>-k height</term>
176 <term>--height height</term>
179 Set the height of the window. This is only used when embedding
180 the player into another window.
186 <term>-X x-pos</term>
187 <term>--x-pos x-pos</term>
190 Set window x position.
196 <term>-Y y-pos</term>
197 <term>--y-pos y-pos</term>
200 Set window y position.
210 Play once; exit when/if movie reaches the last frame.
219 Start Gnash with a Flash debugger console so one can set
220 breakpoints or watchpoints.
226 <term>-r [0|1|2|3]</term>
229 0 disables rendering and sound (good for batch tests).
232 1 enables rendering, disable sound.
235 2 disables rendering, enable sound.
238 3 enables rendering and sound (default setting).
244 <term>-M ffmpeg|gst</term>
245 <term>--media ffmpeg|gst</term>
248 The media handler to use (default: ffmpeg).
254 <term>-R agg|cairo|opengl</term>
255 <term>--renderer agg|cairo|opengl</term>
258 The renderer to use (default: agg).
265 <term>--timeout sec</term>
268 Timeout and exit after the specified number of seconds.
275 <term>--real-url url</term>
278 Set "real" url of the movie (useful for downloaded movies).
285 <term>--base-url url</term>
288 Set "base" url for this run (used to resolve relative urls,
289 defaults to movie url)
295 <term>-P param</term>
296 <term>--param param</term>
299 Set parameter (ie. "FlashVars=A=1&b=2")
306 <term>--fd x:y</term>
309 Set file descriptors to use for external communications. x is
310 use by the player to send commands to the plugin, y is used
311 by the plugin to send commands to the standalone player.
317 <term>--max-advances num</term>
320 Exit after specified number of frame advances.
326 <term>--fullscreen</term>
329 Start in fullscreen mode.
335 <term>--hide-menubar</term>
338 Start without displaying the menu bar.
344 <term>--screenshot list</term>
347 Set a list of frame advances to be saved as screenshots. The list
348 must be comma-separated. Valid values are integers and the phrase
349 "last". If "last" is specified, the final
350 frame before exit is saved. Invalid values are ignored. Frame numbers
351 apply to the sequence of frames as the SWF is executed, not the
352 frame sequence defined in the SWF. Use in combination with
353 --screenshot-file to specify output filename.
359 <term>--screenshot-file file</term>
362 Specify the output pattern for screenshot filenames. The token %f
363 in a pattern will be replaced with a frame identifier. If you specify
364 multiple frames and do not use %f, the file will be overwritten for
365 each screenshot. If this option is not specified but screenshots
366 are requested, a default filename will be used.
373 <refsect2><title>Keys</title>
416 Force immediate redraw.
425 Toggle fullscreen. ESC also exits fullscreen.
434 Save a spontaneous screenshot. If no screenshots were requested
435 from the command line, a default filename is used. Otherwise, the
436 same filename pattern is used for requested and spontaneous
443 Flash is a registered trademark of Adobe Corporation.