1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><TITLE>Fiascotopnm User Manual</TITLE></HEAD>
<BODY>
<H1>fiascotopnm</H1>
Updated: 12 July 2000
<BR>
<A HREF="#index">Table Of Contents</A>
<H2>NAME</H2>
fiascotopnm - Convert compressed FIASCO image to PGM, or PPM
<H2 id="synopsis">SYNOPSIS</H2>
<B>fiascotopnm </B>
[<I>option</I>]...
[<I>filename</I>]...
<p>All option names may be abbreviated; for example, --output may be
written --outp or --ou. For all options an one letter short option
is provided. Mandatory or optional arguments to long options are
mandatory or optional for short options, too. Both short and long
options are case sensitive.
<H2 id="description">DESCRIPTION</H2>
<p>This program is part of <a href="index.html">Netpbm</a>.
<p><B>fiascotopnm</B> decompresses the named FIASCO files, or the
Standard Input if no file is named, and writes the images as PGM, or
PPM files, depending on whether the FIASCO image is black and white or
color.
<H2 id="options">OPTIONS</H2>
<DL COMPACT>
<DT><B>-o</B>[<I>name</I>], <B>--output=</B>[<I>name</I>]
<DD> Write decompressed image to the file <I>name</I>.ppm (if PPM) or
<I>name</I>.pgm (if PGM). If <I>name</I> is <b>-</b>, then produce
the image file on the standard output. The optional argument
<I>name</I> can be omitted, then the input filename is used as
basename with the suffix .ppm or .pgm. In case of video streams, the
frames are stored in the files <I>name</I>.<B>N</B>.ppm where <B>N</B>
is the frame number (of the form 00..0 - 99..9); output on the
standard output is not possible with video streams.
<P> If <I>name</I> is a relative path and the environment variable
<B>FIASCO_IMAGES</B> is a (colon-separated) list of directories, then
the output file(s) are written to the first (writable) directory of
this list. Otherwise, the current directory is used to store the
output file(s).
<DT><B>-z</B>, <B>--fast</B>
<DD>
Decompress images in the 4:2:0 format; i.e., each chroma channel is
decompressed to an image of halved width and height. Use this option
on slow machines when the desired frame rate is not achieved; the
output quality is only slightly decreased.
<DT><B>-d</B>, <B>--double</B><DD>
Double the size of the X11 window both in width and height; no pixel
interpolation is used, each pixel is just replaced by four identical
pixels.
<DT><B>-p</B>, <B>--panel</B>
<DD>
Show a panel with play, stop, pause, record and exit buttons to
control the display of videos. When pressing the record button, all
frames are decompressed and stored in memory. The other buttons work
in the usual way.
<DT><B>-m</B> <I>N</I>, <B>--magnify=</B><I>N</I>
<DD>
Set magnification of the decompressed image. Positive values enlarge
and negative values reduce the image width and height by a factor of
2^|<I>N</I>|.
<DT><B>-s</B> <I>N</I>, <B>--smooth=</B><I>N</I>
<DD>
Smooth decompressed image(s) along the partitioning borders by the
given amount <I>N</I>. <I>N</I> is 1 (minimum) to 100 (maximum); default
is 70. When <I>N</I>=0, then the smoothing amount specified in the
FIASCO file is used (defined by the FIASCO coder).
<DT><B>-F</B> <I>N</I>, <B>--fps=</B><I>N</I>
<DD>
Set number of frames per second to <I>N</I>. When using this option,
the frame rate specified in the FIASCO file is overridden.
<DT><B>-v</B>, <B>--version</B>
<DD>
Print <B>fiascotopnm</B> version number, then exit.
<DT><B>-f</B> <I>name</I>, <B>--config=</B><I>name</I>
<DD>Load parameter file <I>name</I> to initialize the options of
<B>fiascotopnm</B>. See file <B>system.fiascorc</B> for an example of
the syntax. Options of <B>fiascotopnm </B> are set by any of the
following methods (in the specified order):
<OL>
<LI>Global ressource file <B>/etc/system.fiascorc</B>
<LI>$HOME<B>/.fiascorc</B>
<LI>command line
<LI>--config=<I>name</I>
</OL>
<DT><B>-h</B>, <B>--info</B>
<DD>
Print brief help, then exit.
<DT><B>-H</B>, <B>--help</B>
<DD>
Print detailed help, then exit.
</DL>
<H2 id="examples">EXAMPLES</H2>
<PRE>
fiascotopnm foo.wfa >foo.ppm
</PRE>
<P>Decompress the FIASCO file "foo.wfa" and store it as
"foo.ppm".
<PRE>
fiascotopnm -o foo1.wfa foo2.wfa
</PRE>
<P>Decompress the FIASCO files "foo1.wfa" and
"foo2.wfa" and write the frames to the image files
"foo1.wfa.ppm" and "foo2.wfa.ppm".
<PRE>
fiascotopnm -oimage foo1.wfa
</PRE>
<P>Decompress the FIASCO file "foo1.wfa" and write all 15
frames to the image files "image.00.ppm", ... ,
"image.14.ppm".
<PRE>
fiascotopnm --fast --magnify=-1 --double video.wfa >stream.ppm
</PRE>
<P>Decompress the FIASCO file "video.wfa". The
decompression speed is as fast as possible: the image is decompressed
(in 4:2:0 format) at a quarter of its original size; then the image is
enlarged again by pixel doubling.
<H2 id="files">FILES</H2>
<DL COMPACT>
<DT><B>/etc/system.fiascorc</B>
<DD>The systemwide initialization file.
<DT>$HOME<B>/.fiascorc</B>
<DD>The personal initialization file.
</DL>
<H2 id="environment">ENVIRONMENT</H2>
<DL COMPACT>
<DT><B>FIASCO_IMAGES</B>
<DD>Save path for image files. Default is "./".
<DT><B>FIASCO_DATA</B>
<DD>Search path for FIASCO files. Default is "./".
</DL>
<H2 id="seealso">SEE ALSO</H2>
<B><A HREF="pnmtofiasco.html">pnmtofiasco</A></B>,
<B><A HREF="pnm.html">pnm</A></B>
<P>
Ullrich Hafner, Juergen Albert, Stefan Frank, and Michael Unger.
<B>Weighted Finite Automata for Video Compression</B>, IEEE Journal on
Selected Areas In Communications, January 1998
<BR>
Ullrich Hafner. <B>Low Bit-Rate Image and Video Coding with Weighted
Finite Automata</B>, Ph.D. thesis, Mensch & Buch Verlag, ISBN
3-89820-002-7, October 1999.
<H2 id="author">AUTHOR</H2>
Ullrich Hafner <<A HREF="mailto:hafner@bigfoot.de">hafner@bigfoot.de</A>>
<HR>
<H2 id="index">Table Of Contents</H2>
<UL>
<LI><A HREF="#synopsis">SYNOPSIS</A>
<LI><A HREF="#description">DESCRIPTION</A>
<LI><A HREF="#options">OPTIONS</A>
<LI><A HREF="#examples">EXAMPLES</A>
<LI><A HREF="#files">FILES</A>
<LI><A HREF="#environment">ENVIRONMENT</A>
<LI><A HREF="#seealso">SEE ALSO</A>
<LI><A HREF="#author">AUTHOR</A>
</UL>
</BODY>
</HTML>
|