Chris@1
|
1 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
|
Chris@1
|
2
|
Chris@1
|
3 <!-- Process this file with docbook-to-man to generate an nroff manual
|
Chris@1
|
4 page: `docbook-to-man manpage.sgml > manpage.1'. You may view
|
Chris@1
|
5 the manual page with: `docbook-to-man manpage.sgml | nroff -man |
|
Chris@1
|
6 less'. A typical entry in a Makefile or Makefile.am is:
|
Chris@1
|
7
|
Chris@1
|
8 manpage.1: manpage.sgml
|
Chris@1
|
9 docbook-to-man $< > $@
|
Chris@1
|
10 -->
|
Chris@1
|
11
|
Chris@1
|
12 <!-- This is based on an example constructed by Colin Watson
|
Chris@1
|
13 <email>cjwatson@debian.org</email>, based on a man page template
|
Chris@1
|
14 provided by Tom Christiansen <email>tchrist@jhereg.perl.com</email>
|
Chris@1
|
15 and a DocBook man page example by Craig Small
|
Chris@1
|
16 <email>csmall@debian.org</email>.
|
Chris@1
|
17 -->
|
Chris@1
|
18
|
Chris@1
|
19 <!-- Fill in the various UPPER CASE things here. -->
|
Chris@1
|
20 <!ENTITY manfirstname "<firstname>dann</firstname>">
|
Chris@1
|
21 <!ENTITY mansurname "<surname>frazier</surname>">
|
Chris@1
|
22 <!-- Please adjust the date whenever revising the manpage. -->
|
Chris@1
|
23 <!ENTITY mandate "<date>2006-11-14</date>">
|
Chris@1
|
24 <!-- SECTION should be 1-8, maybe with subsection. Other parameters are
|
Chris@1
|
25 allowed: see man(7), man(1). -->
|
Chris@1
|
26 <!ENTITY mansection "<manvolnum>1</manvolnum>">
|
Chris@1
|
27 <!ENTITY manemail "<email>dannf@debian.org</email>">
|
Chris@1
|
28 <!ENTITY manusername "dannf">
|
Chris@1
|
29 <!ENTITY manucpackage "<refentrytitle>METAFLAC</refentrytitle>">
|
Chris@1
|
30 <!ENTITY manpackage "metaflac">
|
Chris@1
|
31 ]>
|
Chris@1
|
32
|
Chris@1
|
33 <refentry>
|
Chris@1
|
34 <refentryinfo>
|
Chris@1
|
35 <address>
|
Chris@1
|
36 &manemail;
|
Chris@1
|
37 </address>
|
Chris@1
|
38 <author>
|
Chris@1
|
39 &manfirstname;
|
Chris@1
|
40 &mansurname;
|
Chris@1
|
41 </author>
|
Chris@1
|
42 <copyright>
|
Chris@1
|
43 <year>2002,2003,2004,2005</year>
|
Chris@1
|
44 <holder>&manusername;</holder>
|
Chris@1
|
45 </copyright>
|
Chris@1
|
46 &mandate;
|
Chris@1
|
47 </refentryinfo>
|
Chris@1
|
48 <refmeta>
|
Chris@1
|
49 &manucpackage;
|
Chris@1
|
50
|
Chris@1
|
51 &mansection;
|
Chris@1
|
52 </refmeta>
|
Chris@1
|
53 <refnamediv>
|
Chris@1
|
54 <refname>&manpackage;</refname>
|
Chris@1
|
55
|
Chris@1
|
56 <refpurpose>
|
Chris@1
|
57 program to list, add, remove, or edit metadata in one or more FLAC files.
|
Chris@1
|
58 </refpurpose>
|
Chris@1
|
59 </refnamediv>
|
Chris@1
|
60 <refsynopsisdiv>
|
Chris@1
|
61 <cmdsynopsis>
|
Chris@1
|
62 <command>&manpackage;</command>
|
Chris@1
|
63
|
Chris@1
|
64 <group choice="opt"><arg><replaceable>options</replaceable></arg></group>
|
Chris@1
|
65 <group choice="opt">
|
Chris@1
|
66 <arg><replaceable>operations</replaceable></arg></group>
|
Chris@1
|
67 <arg rep="repeat" choice="req"><replaceable>FLACfile</replaceable></arg>
|
Chris@1
|
68 </cmdsynopsis>
|
Chris@1
|
69 </refsynopsisdiv>
|
Chris@1
|
70 <refsect1>
|
Chris@1
|
71 <title>DESCRIPTION</title>
|
Chris@1
|
72
|
Chris@1
|
73 <para>Use <command>&manpackage;</command> to list, add, remove, or edit
|
Chris@1
|
74 metadata in one or more FLAC files. You may perform one major operation,
|
Chris@1
|
75 or many shorthand operations at a time.</para>
|
Chris@1
|
76
|
Chris@1
|
77 </refsect1>
|
Chris@1
|
78 <refsect1>
|
Chris@1
|
79 <title>OPTIONS</title>
|
Chris@1
|
80
|
Chris@1
|
81 <variablelist>
|
Chris@1
|
82 <varlistentry>
|
Chris@1
|
83 <term><option>--preserve-modtime</option></term>
|
Chris@1
|
84 <listitem>
|
Chris@1
|
85 <para>
|
Chris@1
|
86 Preserve the original modification time in spite of edits.
|
Chris@1
|
87 </para>
|
Chris@1
|
88 </listitem>
|
Chris@1
|
89 </varlistentry>
|
Chris@1
|
90 <varlistentry>
|
Chris@1
|
91 <term><option>--with-filename</option></term>
|
Chris@1
|
92 <listitem>
|
Chris@1
|
93 <para>
|
Chris@1
|
94 Prefix each output line with the FLAC file name (the default if
|
Chris@1
|
95 more than one FLAC file is specified).
|
Chris@1
|
96 </para>
|
Chris@1
|
97 </listitem>
|
Chris@1
|
98 </varlistentry>
|
Chris@1
|
99 <varlistentry>
|
Chris@1
|
100 <term><option>--no-filename</option></term>
|
Chris@1
|
101 <listitem>
|
Chris@1
|
102 <para>
|
Chris@1
|
103 Do not prefix each output line with the FLAC file name (the default
|
Chris@1
|
104 if only one FLAC file is specified).
|
Chris@1
|
105 </para>
|
Chris@1
|
106 </listitem>
|
Chris@1
|
107 </varlistentry>
|
Chris@1
|
108 <varlistentry>
|
Chris@1
|
109 <term><option>--no-utf8-convert</option></term>
|
Chris@1
|
110 <listitem>
|
Chris@1
|
111 <para>
|
Chris@1
|
112 Do not convert tags from UTF-8 to local charset, or vice versa. This is
|
Chris@1
|
113 useful for scripts, and setting tags in situations where the locale is wrong.
|
Chris@1
|
114 </para>
|
Chris@1
|
115 </listitem>
|
Chris@1
|
116 </varlistentry>
|
Chris@1
|
117 <varlistentry>
|
Chris@1
|
118 <term><option>--dont-use-padding</option></term>
|
Chris@1
|
119 <listitem>
|
Chris@1
|
120 <para>
|
Chris@1
|
121 By default metaflac tries to use padding where possible to avoid
|
Chris@1
|
122 rewriting the entire file if the metadata size changes. Use this
|
Chris@1
|
123 option to tell metaflac to not take advantage of padding this way.
|
Chris@1
|
124 </para>
|
Chris@1
|
125 </listitem>
|
Chris@1
|
126 </varlistentry>
|
Chris@1
|
127 </variablelist>
|
Chris@1
|
128 </refsect1>
|
Chris@1
|
129 <refsect1>
|
Chris@1
|
130 <title>SHORTHAND OPERATIONS</title>
|
Chris@1
|
131
|
Chris@1
|
132 <variablelist>
|
Chris@1
|
133 <varlistentry>
|
Chris@1
|
134 <term><option>--show-md5sum</option></term>
|
Chris@1
|
135 <listitem>
|
Chris@1
|
136 <para>
|
Chris@1
|
137 Show the MD5 signature from the STREAMINFO block.
|
Chris@1
|
138 </para>
|
Chris@1
|
139 </listitem>
|
Chris@1
|
140 </varlistentry>
|
Chris@1
|
141 <varlistentry>
|
Chris@1
|
142 <term><option>--show-min-blocksize</option></term>
|
Chris@1
|
143 <listitem>
|
Chris@1
|
144 <para>
|
Chris@1
|
145 Show the minimum block size from the STREAMINFO block.
|
Chris@1
|
146 </para>
|
Chris@1
|
147 </listitem>
|
Chris@1
|
148 </varlistentry>
|
Chris@1
|
149 <varlistentry>
|
Chris@1
|
150 <term><option>--show-max-blocksize</option></term>
|
Chris@1
|
151 <listitem>
|
Chris@1
|
152 <para>
|
Chris@1
|
153 Show the maximum block size from the STREAMINFO block.
|
Chris@1
|
154 </para>
|
Chris@1
|
155 </listitem>
|
Chris@1
|
156 </varlistentry>
|
Chris@1
|
157 <varlistentry>
|
Chris@1
|
158 <term><option>--show-min-framesize</option></term>
|
Chris@1
|
159 <listitem>
|
Chris@1
|
160 <para>
|
Chris@1
|
161 Show the minimum frame size from the STREAMINFO block.
|
Chris@1
|
162 </para>
|
Chris@1
|
163 </listitem>
|
Chris@1
|
164 </varlistentry>
|
Chris@1
|
165 <varlistentry>
|
Chris@1
|
166 <term><option>--show-max-framesize</option></term>
|
Chris@1
|
167 <listitem>
|
Chris@1
|
168 <para>
|
Chris@1
|
169 Show the maximum frame size from the STREAMINFO block.
|
Chris@1
|
170 </para>
|
Chris@1
|
171 </listitem>
|
Chris@1
|
172 </varlistentry>
|
Chris@1
|
173 <varlistentry>
|
Chris@1
|
174 <term><option>--show-sample-rate</option></term>
|
Chris@1
|
175 <listitem>
|
Chris@1
|
176 <para>
|
Chris@1
|
177 Show the sample rate from the STREAMINFO block.
|
Chris@1
|
178 </para>
|
Chris@1
|
179 </listitem>
|
Chris@1
|
180 </varlistentry>
|
Chris@1
|
181 <varlistentry>
|
Chris@1
|
182 <term><option>--show-channels</option></term>
|
Chris@1
|
183 <listitem>
|
Chris@1
|
184 <para>
|
Chris@1
|
185 Show the number of channels from the STREAMINFO block.
|
Chris@1
|
186 </para>
|
Chris@1
|
187 </listitem>
|
Chris@1
|
188 </varlistentry>
|
Chris@1
|
189 <varlistentry>
|
Chris@1
|
190 <term><option>--show-bps</option></term>
|
Chris@1
|
191 <listitem>
|
Chris@1
|
192 <para>
|
Chris@1
|
193 Show the # of bits per sample from the STREAMINFO block.
|
Chris@1
|
194 </para>
|
Chris@1
|
195 </listitem>
|
Chris@1
|
196 </varlistentry>
|
Chris@1
|
197 <varlistentry>
|
Chris@1
|
198 <term><option>--show-total-samples</option></term>
|
Chris@1
|
199 <listitem>
|
Chris@1
|
200 <para>
|
Chris@1
|
201 Show the total # of samples from the STREAMINFO block.
|
Chris@1
|
202 </para>
|
Chris@1
|
203 </listitem>
|
Chris@1
|
204 </varlistentry>
|
Chris@1
|
205 <varlistentry>
|
Chris@1
|
206 <term><option>--show-vendor-tag</option></term>
|
Chris@1
|
207 <listitem>
|
Chris@1
|
208 <para>
|
Chris@1
|
209 Show the vendor string from the VORBIS_COMMENT block.
|
Chris@1
|
210 </para>
|
Chris@1
|
211 </listitem>
|
Chris@1
|
212 </varlistentry>
|
Chris@1
|
213 <varlistentry>
|
Chris@1
|
214 <term><option>--show-tag=name</option></term>
|
Chris@1
|
215 <listitem>
|
Chris@1
|
216 <para>
|
Chris@1
|
217 Show all tags where the the field name matches 'name'.
|
Chris@1
|
218 </para>
|
Chris@1
|
219 </listitem>
|
Chris@1
|
220 </varlistentry>
|
Chris@1
|
221 <varlistentry>
|
Chris@1
|
222 <term><option>--remove-tag=name</option></term>
|
Chris@1
|
223 <listitem>
|
Chris@1
|
224 <para>
|
Chris@1
|
225 Remove all tags whose field name is 'name'.
|
Chris@1
|
226 </para>
|
Chris@1
|
227 </listitem>
|
Chris@1
|
228 </varlistentry>
|
Chris@1
|
229 <varlistentry>
|
Chris@1
|
230 <term><option>--remove-first-tag=name</option></term>
|
Chris@1
|
231 <listitem>
|
Chris@1
|
232 <para>
|
Chris@1
|
233 Remove first tag whose field name is 'name'.
|
Chris@1
|
234 </para>
|
Chris@1
|
235 </listitem>
|
Chris@1
|
236 </varlistentry>
|
Chris@1
|
237 <varlistentry>
|
Chris@1
|
238 <term><option>--remove-all-tags</option></term>
|
Chris@1
|
239 <listitem>
|
Chris@1
|
240 <para>
|
Chris@1
|
241 Remove all tags, leaving only the vendor string.
|
Chris@1
|
242 </para>
|
Chris@1
|
243 </listitem>
|
Chris@1
|
244 </varlistentry>
|
Chris@1
|
245 <varlistentry>
|
Chris@1
|
246 <term><option>--set-tag=field</option></term>
|
Chris@1
|
247 <listitem>
|
Chris@1
|
248 <para>
|
Chris@1
|
249 Add a tag. The field must comply with the
|
Chris@1
|
250 Vorbis comment spec, of the form "NAME=VALUE". If there is
|
Chris@1
|
251 currently no tag block, one will be created.
|
Chris@1
|
252 </para>
|
Chris@1
|
253 </listitem>
|
Chris@1
|
254 </varlistentry>
|
Chris@1
|
255 <varlistentry>
|
Chris@1
|
256 <term><option>--set-tag-from-file=field</option></term>
|
Chris@1
|
257 <listitem>
|
Chris@1
|
258 <para>
|
Chris@1
|
259 Like --set-tag, except the VALUE is a filename whose
|
Chris@1
|
260 contents will be read verbatim to set the tag value.
|
Chris@1
|
261 Unless --no-utf8-convert is specified, the contents will be
|
Chris@1
|
262 converted to UTF-8 from the local charset. This can be used
|
Chris@1
|
263 to store a cuesheet in a tag (e.g.
|
Chris@1
|
264 --set-tag-from-file="CUESHEET=image.cue"). Do not try to
|
Chris@1
|
265 store binary data in tag fields! Use APPLICATION blocks for
|
Chris@1
|
266 that.
|
Chris@1
|
267 </para>
|
Chris@1
|
268 </listitem>
|
Chris@1
|
269 </varlistentry>
|
Chris@1
|
270 <varlistentry>
|
Chris@1
|
271 <term><option>--import-tags-from=file</option></term>
|
Chris@1
|
272 <listitem>
|
Chris@1
|
273 <para>
|
Chris@1
|
274 Import tags from a file. Use '-' for stdin. Each
|
Chris@1
|
275 line should be of the form NAME=VALUE. Multi-line comments
|
Chris@1
|
276 are currently not supported. Specify --remove-all-tags and/or
|
Chris@1
|
277 --no-utf8-convert before --import-tags-from if necessary. If
|
Chris@1
|
278 FILE is '-' (stdin), only one FLAC file may be specified.
|
Chris@1
|
279 </para>
|
Chris@1
|
280 </listitem>
|
Chris@1
|
281 </varlistentry>
|
Chris@1
|
282 <varlistentry>
|
Chris@1
|
283 <term><option>--export-tags-to=file</option></term>
|
Chris@1
|
284 <listitem>
|
Chris@1
|
285 <para>
|
Chris@1
|
286 Export tags to a file. Use '-' for stdout. Each
|
Chris@1
|
287 line will be of the form NAME=VALUE. Specify
|
Chris@1
|
288 --no-utf8-convert if necessary.
|
Chris@1
|
289 </para>
|
Chris@1
|
290 </listitem>
|
Chris@1
|
291 </varlistentry>
|
Chris@1
|
292 <varlistentry>
|
Chris@1
|
293 <term><option>--import-cuesheet-from=file</option></term>
|
Chris@1
|
294 <listitem>
|
Chris@1
|
295 <para>
|
Chris@1
|
296 Import a cuesheet from a file. Use '-' for stdin. Only one
|
Chris@1
|
297 FLAC file may be specified. A seekpoint will be added for each
|
Chris@1
|
298 index point in the cuesheet to the SEEKTABLE unless
|
Chris@1
|
299 --no-cued-seekpoints is specified.
|
Chris@1
|
300 </para>
|
Chris@1
|
301 </listitem>
|
Chris@1
|
302 </varlistentry>
|
Chris@1
|
303 <varlistentry>
|
Chris@1
|
304 <term><option>--export-cuesheet-to=file</option></term>
|
Chris@1
|
305 <listitem>
|
Chris@1
|
306 <para>
|
Chris@1
|
307 Export CUESHEET block to a cuesheet file, suitable for use by
|
Chris@1
|
308 CD authoring software. Use '-' for stdout. Only one FLAC file
|
Chris@1
|
309 may be specified on the command line.
|
Chris@1
|
310 </para>
|
Chris@1
|
311 </listitem>
|
Chris@1
|
312 </varlistentry>
|
Chris@1
|
313 <varlistentry>
|
Chris@1
|
314 <term><option>--import-picture-from</option>={<replaceable>FILENAME</replaceable>|<replaceable>SPECIFICATION</replaceable>}</term>
|
Chris@1
|
315 <listitem>
|
Chris@1
|
316 <para>Import a picture and store it in a PICTURE metadata block. More than one --import-picture-from command can be specified. Either a filename for the picture file or a more complete specification form can be used. The SPECIFICATION is a string whose parts are separated by | (pipe) characters. Some parts may be left empty to invoke default values. FILENAME is just shorthand for "||||FILENAME". The format of SPECIFICATION is</para>
|
Chris@1
|
317 <para>[TYPE]|[MIME-TYPE]|[DESCRIPTION]|[WIDTHxHEIGHTxDEPTH[/COLORS]]|FILE</para>
|
Chris@1
|
318 <para>TYPE is optional; it is a number from one of:</para>
|
Chris@1
|
319 <para>0: Other</para>
|
Chris@1
|
320 <para>1: 32x32 pixels 'file icon' (PNG only)</para>
|
Chris@1
|
321 <para>2: Other file icon</para>
|
Chris@1
|
322 <para>3: Cover (front)</para>
|
Chris@1
|
323 <para>4: Cover (back)</para>
|
Chris@1
|
324 <para>5: Leaflet page</para>
|
Chris@1
|
325 <para>6: Media (e.g. label side of CD)</para>
|
Chris@1
|
326 <para>7: Lead artist/lead performer/soloist</para>
|
Chris@1
|
327 <para>8: Artist/performer</para>
|
Chris@1
|
328 <para>9: Conductor</para>
|
Chris@1
|
329 <para>10: Band/Orchestra</para>
|
Chris@1
|
330 <para>11: Composer</para>
|
Chris@1
|
331 <para>12: Lyricist/text writer</para>
|
Chris@1
|
332 <para>13: Recording Location</para>
|
Chris@1
|
333 <para>14: During recording</para>
|
Chris@1
|
334 <para>15: During performance</para>
|
Chris@1
|
335 <para>16: Movie/video screen capture</para>
|
Chris@1
|
336 <para>17: A bright coloured fish</para>
|
Chris@1
|
337 <para>18: Illustration</para>
|
Chris@1
|
338 <para>19: Band/artist logotype</para>
|
Chris@1
|
339 <para>20: Publisher/Studio logotype</para>
|
Chris@1
|
340 <para>The default is 3 (front cover). There may only be one picture each of type 1 and 2 in a file.</para>
|
Chris@1
|
341
|
Chris@1
|
342 <para>MIME-TYPE is optional; if left blank, it will be detected from the file. For best compatibility with players, use pictures with MIME type image/jpeg or image/png. The MIME type can also be --> to mean that FILE is actually a URL to an image, though this use is discouraged.</para>
|
Chris@1
|
343
|
Chris@1
|
344 <para>DESCRIPTION is optional; the default is an empty string.</para>
|
Chris@1
|
345
|
Chris@1
|
346 <para>The next part specfies the resolution and color information. If the MIME-TYPE is image/jpeg, image/png, or image/gif, you can usually leave this empty and they can be detected from the file. Otherwise, you must specify the width in pixels, height in pixels, and color depth in bits-per-pixel. If the image has indexed colors you should also specify the number of colors used. When manually specified, it is not checked against the file for accuracy.</para>
|
Chris@1
|
347
|
Chris@1
|
348 <para>FILE is the path to the picture file to be imported, or the URL if MIME type is --></para>
|
Chris@1
|
349
|
Chris@1
|
350 <para>For example, "|image/jpeg|||../cover.jpg" will embed the JPEG file at ../cover.jpg, defaulting to type 3 (front cover) and an empty description. The resolution and color info will be retrieved from the file itself.</para>
|
Chris@1
|
351
|
Chris@1
|
352 <para>The specification "4|-->|CD|320x300x24/173|http://blah.blah/backcover.tiff" will embed the given URL, with type 4 (back cover), description "CD", and a manually specified resolution of 320x300, 24 bits-per-pixel, and 173 colors. The file at the URL will not be fetched; the URL itself is stored in the PICTURE metadata block.</para>
|
Chris@1
|
353 </listitem>
|
Chris@1
|
354 </varlistentry>
|
Chris@1
|
355 <varlistentry>
|
Chris@1
|
356 <term><option>--export-picture-to=file</option></term>
|
Chris@1
|
357 <listitem>
|
Chris@1
|
358 <para>
|
Chris@1
|
359 Export PICTURE block to a file. Use '-' for stdout. Only one FLAC file may be specified on the command line. The first PICTURE block will be exported unless --export-picture-to is preceded by a --block-number=# option to specify the exact metadata block to extract. Note that the block number is the one shown by --list.
|
Chris@1
|
360 </para>
|
Chris@1
|
361 </listitem>
|
Chris@1
|
362 </varlistentry>
|
Chris@1
|
363 <varlistentry>
|
Chris@1
|
364 <term><option>--add-replay-gain</option></term>
|
Chris@1
|
365 <listitem>
|
Chris@1
|
366 <para>
|
Chris@1
|
367 Calculates the title and album gains/peaks of the given FLAC
|
Chris@1
|
368 files as if all the files were part of one album, then stores
|
Chris@1
|
369 them as FLAC tags. The tags are the same as
|
Chris@1
|
370 those used by vorbisgain. Existing ReplayGain tags will be
|
Chris@1
|
371 replaced. If only one FLAC file is given, the album and title
|
Chris@1
|
372 gains will be the same. Since this operation requires two
|
Chris@1
|
373 passes, it is always executed last, after all other operations
|
Chris@1
|
374 have been completed and written to disk. All FLAC files
|
Chris@1
|
375 specified must have the same resolution, sample rate, and
|
Chris@1
|
376 number of channels. The sample rate must be one of 8, 11.025,
|
Chris@1
|
377 12, 16, 22.05, 24, 32, 44.1, or 48 kHz.
|
Chris@1
|
378 </para>
|
Chris@1
|
379 </listitem>
|
Chris@1
|
380 </varlistentry>
|
Chris@1
|
381 <varlistentry>
|
Chris@1
|
382 <term><option>--remove-replay-gain</option></term>
|
Chris@1
|
383 <listitem>
|
Chris@1
|
384 <para>
|
Chris@1
|
385 Removes the ReplayGain tags.
|
Chris@1
|
386 </para>
|
Chris@1
|
387 </listitem>
|
Chris@1
|
388 </varlistentry>
|
Chris@1
|
389 <varlistentry>
|
Chris@1
|
390 <term><option>--add-seekpoint</option>={<replaceable>#</replaceable>|<replaceable>X</replaceable>|<replaceable>#x</replaceable>|<replaceable>#s</replaceable>}</term>
|
Chris@1
|
391 <listitem>
|
Chris@1
|
392 <para>
|
Chris@1
|
393 Add seek points to a SEEKTABLE block. Using #, a seek point at
|
Chris@1
|
394 that sample number is added. Using X, a placeholder point is
|
Chris@1
|
395 added at the end of a the table. Using #x, # evenly spaced seek
|
Chris@1
|
396 points will be added, the first being at sample 0. Using #s, a
|
Chris@1
|
397 seekpoint will be added every # seconds (# does not have to be a
|
Chris@1
|
398 whole number; it can be, for example, 9.5, meaning a seekpoint
|
Chris@1
|
399 every 9.5 seconds). If no SEEKTABLE block exists, one will be
|
Chris@1
|
400 created. If one already exists, points will be added to the
|
Chris@1
|
401 existing table, and any duplicates will be turned into placeholder
|
Chris@1
|
402 points. You may use many --add-seekpoint options; the resulting
|
Chris@1
|
403 SEEKTABLE will be the unique-ified union of all such values.
|
Chris@1
|
404 Example: --add-seekpoint=100x --add-seekpoint=3.5s will add 100
|
Chris@1
|
405 evenly spaced seekpoints and a seekpoint every 3.5 seconds.
|
Chris@1
|
406 </para>
|
Chris@1
|
407 </listitem>
|
Chris@1
|
408 </varlistentry>
|
Chris@1
|
409 <varlistentry>
|
Chris@1
|
410 <term><option>--add-padding=length</option></term>
|
Chris@1
|
411 <listitem>
|
Chris@1
|
412 <para>
|
Chris@1
|
413 Add a padding block of the given length (in bytes). The overall
|
Chris@1
|
414 length of the new block will be 4 + length; the extra 4 bytes is
|
Chris@1
|
415 for the metadata block header.
|
Chris@1
|
416 </para>
|
Chris@1
|
417 </listitem>
|
Chris@1
|
418 </varlistentry>
|
Chris@1
|
419 </variablelist>
|
Chris@1
|
420 </refsect1>
|
Chris@1
|
421 <refsect1>
|
Chris@1
|
422 <title>MAJOR OPERATIONS</title>
|
Chris@1
|
423
|
Chris@1
|
424 <variablelist>
|
Chris@1
|
425 <varlistentry>
|
Chris@1
|
426 <term><option>--list</option></term>
|
Chris@1
|
427 <listitem>
|
Chris@1
|
428 <para>
|
Chris@1
|
429 List the contents of one or more metadata blocks to stdout. By
|
Chris@1
|
430 default, all metadata blocks are listed in text format. Use the
|
Chris@1
|
431 following options to change this behavior:
|
Chris@1
|
432 </para>
|
Chris@1
|
433 <variablelist>
|
Chris@1
|
434 <varlistentry>
|
Chris@1
|
435 <term><option>--block-number=#[,#[...]]</option></term>
|
Chris@1
|
436 <listitem>
|
Chris@1
|
437 <para>
|
Chris@1
|
438 An optional comma-separated list of block numbers to display.
|
Chris@1
|
439 The first block, the STREAMINFO block, is block 0.
|
Chris@1
|
440 </para>
|
Chris@1
|
441 </listitem>
|
Chris@1
|
442 </varlistentry>
|
Chris@1
|
443 <varlistentry>
|
Chris@1
|
444 <term><option>--block-type=type[,type[...]]</option></term>
|
Chris@1
|
445 <listitem><para></para></listitem>
|
Chris@1
|
446 </varlistentry>
|
Chris@1
|
447 <varlistentry>
|
Chris@1
|
448 <term><option>--except-block-type=type[,type[...]]</option></term>
|
Chris@1
|
449 <listitem>
|
Chris@1
|
450 <para>
|
Chris@1
|
451 An optional comma-separated list of block types to be included
|
Chris@1
|
452 or ignored with this option. Use only one of --block-type or
|
Chris@1
|
453 --except-block-type. The valid block types are: STREAMINFO,
|
Chris@1
|
454 PADDING, APPLICATION, SEEKTABLE, VORBIS_COMMENT. You may
|
Chris@1
|
455 narrow down the types of APPLICATION blocks displayed as
|
Chris@1
|
456 follows:
|
Chris@1
|
457 </para>
|
Chris@1
|
458 <para>
|
Chris@1
|
459 APPLICATION:abcd The APPLICATION block(s) whose textual repre-
|
Chris@1
|
460 sentation of the 4-byte ID is "abcd"
|
Chris@1
|
461 APPLICATION:0xXXXXXXXX The APPLICATION block(s) whose hexadecimal big-
|
Chris@1
|
462 endian representation of the 4-byte ID is
|
Chris@1
|
463 "0xXXXXXXXX". For the example "abcd" above the
|
Chris@1
|
464 hexadecimal equivalalent is 0x61626364
|
Chris@1
|
465 </para>
|
Chris@1
|
466 <note>
|
Chris@1
|
467 <para>
|
Chris@1
|
468 if both --block-number and --[except-]block-type are
|
Chris@1
|
469 specified, the result is the logical AND of both
|
Chris@1
|
470 arguments.</para></note>
|
Chris@1
|
471 </listitem>
|
Chris@1
|
472 </varlistentry>
|
Chris@1
|
473 <varlistentry>
|
Chris@1
|
474 <term><option>--application-data-format=hexdump|text</option></term>
|
Chris@1
|
475 <listitem>
|
Chris@1
|
476 <para>
|
Chris@1
|
477 If the application block you are displaying contains binary
|
Chris@1
|
478 data but your --data-format=text, you can display a hex dump
|
Chris@1
|
479 of the application data contents instead using
|
Chris@1
|
480 --application-data-format=hexdump.
|
Chris@1
|
481 </para>
|
Chris@1
|
482 </listitem>
|
Chris@1
|
483 </varlistentry>
|
Chris@1
|
484 </variablelist>
|
Chris@1
|
485 </listitem>
|
Chris@1
|
486 </varlistentry>
|
Chris@1
|
487 <varlistentry>
|
Chris@1
|
488 <term><option>--remove</option></term>
|
Chris@1
|
489 <listitem>
|
Chris@1
|
490 <para>
|
Chris@1
|
491 Remove one or more metadata blocks from the metadata. Unless
|
Chris@1
|
492 --dont-use-padding is specified, the blocks will be replaced with
|
Chris@1
|
493 padding. You may not remove the STREAMINFO block.
|
Chris@1
|
494 </para>
|
Chris@1
|
495 <variablelist>
|
Chris@1
|
496 <varlistentry>
|
Chris@1
|
497 <term><option>--block-number=#[,#[...]]</option></term>
|
Chris@1
|
498 <listitem><para></para></listitem>
|
Chris@1
|
499 </varlistentry>
|
Chris@1
|
500 <varlistentry>
|
Chris@1
|
501 <term><option>--block-type=type[,type[...]]</option></term>
|
Chris@1
|
502 <listitem><para></para></listitem>
|
Chris@1
|
503 </varlistentry>
|
Chris@1
|
504 <varlistentry>
|
Chris@1
|
505 <term><option>--except-block-type=type[,type[...]]</option></term>
|
Chris@1
|
506 <listitem>
|
Chris@1
|
507 <para>See --list above for usage.</para>
|
Chris@1
|
508 <note>
|
Chris@1
|
509 <para>
|
Chris@1
|
510 if both --block-number and --[except-]block-type are
|
Chris@1
|
511 specified, the result is the logical AND of both arguments.
|
Chris@1
|
512 </para></note>
|
Chris@1
|
513 </listitem>
|
Chris@1
|
514 </varlistentry>
|
Chris@1
|
515 </variablelist>
|
Chris@1
|
516 </listitem>
|
Chris@1
|
517 </varlistentry>
|
Chris@1
|
518 <varlistentry>
|
Chris@1
|
519 <term><option>--remove-all</option></term>
|
Chris@1
|
520 <listitem>
|
Chris@1
|
521 <para>
|
Chris@1
|
522 Remove all metadata blocks (except the STREAMINFO block) from the
|
Chris@1
|
523 metadata. Unless --dont-use-padding is specified, the blocks will
|
Chris@1
|
524 be replaced with padding.
|
Chris@1
|
525 </para>
|
Chris@1
|
526 </listitem>
|
Chris@1
|
527 </varlistentry>
|
Chris@1
|
528 <varlistentry>
|
Chris@1
|
529 <term><option>--merge-padding</option></term>
|
Chris@1
|
530 <listitem>
|
Chris@1
|
531 <para>
|
Chris@1
|
532 Merge adjacent PADDING blocks into single blocks.
|
Chris@1
|
533 </para>
|
Chris@1
|
534 </listitem>
|
Chris@1
|
535 </varlistentry>
|
Chris@1
|
536 <varlistentry>
|
Chris@1
|
537 <term><option>--sort-padding</option></term>
|
Chris@1
|
538 <listitem>
|
Chris@1
|
539 <para>
|
Chris@1
|
540 Move all PADDING blocks to the end of the metadata and merge them
|
Chris@1
|
541 into a single block.
|
Chris@1
|
542 </para>
|
Chris@1
|
543 </listitem>
|
Chris@1
|
544 </varlistentry>
|
Chris@1
|
545 </variablelist>
|
Chris@1
|
546 </refsect1>
|
Chris@1
|
547
|
Chris@1
|
548 <refsect1>
|
Chris@1
|
549 <title>SEE ALSO</title>
|
Chris@1
|
550
|
Chris@1
|
551 <para>flac(1).</para>
|
Chris@1
|
552 </refsect1>
|
Chris@1
|
553 </refentry>
|
Chris@1
|
554
|
Chris@1
|
555 <!-- Keep this comment at the end of the file
|
Chris@1
|
556 Local variables:
|
Chris@1
|
557 mode: sgml
|
Chris@1
|
558 sgml-omittag:t
|
Chris@1
|
559 sgml-shorttag:t
|
Chris@1
|
560 sgml-minimize-attributes:nil
|
Chris@1
|
561 sgml-always-quote-attributes:t
|
Chris@1
|
562 sgml-indent-step:2
|
Chris@1
|
563 sgml-indent-data:t
|
Chris@1
|
564 sgml-parent-document:nil
|
Chris@1
|
565 sgml-default-dtd-file:nil
|
Chris@1
|
566 sgml-exposed-tags:nil
|
Chris@1
|
567 sgml-local-catalogs:nil
|
Chris@1
|
568 sgml-local-ecat-files:nil
|
Chris@1
|
569 End:
|
Chris@1
|
570 -->
|