Another bulk update of copyright dates
[flac.git] / doc / html / documentation_tools_metaflac.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <!-- Copyright (c) 2000-2009  Josh Coalson -->
3 <!-- Copyright (c) 2011-2016  Xiph.Org Foundation -->
4 <!-- Permission is granted to copy, distribute and/or modify this document -->
5 <!-- under the terms of the GNU Free Documentation License, Version 1.1 -->
6 <!-- or any later version published by the Free Software Foundation; -->
7 <!-- with no invariant sections. -->
8 <!-- A copy of the license can be found at http://www.gnu.org/copyleft/fdl.html -->
9 <html>
10 <head>
11         <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
12         <meta name="author" content="Josh Coalson" />
13         <meta name="description" content="A free, open source codec for lossless audio compression and decompression" />
14         <meta name="keywords" content="free,lossless,audio,codec,encoder,decoder,compression,compressor,archival,archive,archiving,backup,music" />
15         <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
16         <link rel="stylesheet" type="text/css" href="flac.css" />
17         <title>FLAC - documentation</title>
18 </head>
19
20 <body>
21
22 <div class="logo">
23         <a href="index.html"><img src="images/logo130.gif" alt="FLAC Logo" align="middle" border="0" hspace="0" /></a>
24 </div>
25
26 <div class="above_nav"></div>
27
28 <div class="navbar">
29         &nbsp;<a href="index.html">home</a>&nbsp;&nbsp;|
30         &nbsp;<a href="faq.html">faq</a>&nbsp;&nbsp;|
31         &nbsp;<a href="documentation.html">documentation</a>&nbsp;&nbsp;|
32         &nbsp;<a href="developers.html">developers</a>&nbsp;&nbsp;|
33         &nbsp;<a href="changelog.html">changelog</a>&nbsp;&nbsp;|
34         &nbsp;<a href="http://xiph.org/flac">more</a>
35 </div>
36
37 <div class="below_nav"></div>
38
39 <div class="box">
40         <div class="box_title">
41                 <a name="metaflac">metaflac</a>
42         </div>
43         <div class="box_header"></div>
44         <div class="box_body">
45                 <a name="toc"><font size="+1"><b><u>Table of Contents</u></b></font></a>
46                 <ul>
47                         <li><a href="#usage">General Usage</a></li>
48                         <li><a href="#global_options">Global Options</a></li>
49                         <li><a href="#shorthand_operations">Shorthand Operations</a></li>
50                         <li><a href="#major_operations">Major Operations</a></li>
51                         <li><a href="#option_index">Option Index</a></li>
52                 </ul>
53                 <a name="usage"><font size="+1"><b><u>General Usage</u></b></font></a><br />
54                 <br />
55                 <span class="commandname">metaflac</span> is the command-line <span class="code">.flac</span> file metadata editor.  You can use it to list the contents of metadata blocks, edit, delete or insert blocks, and manage padding.<br />
56                 <br />
57                 <span class="commandname">metaflac</span> takes a set of "options" (though some are not optional) and a set of FLAC files to operate on.  There are three kinds of "options":
58                 <ul>
59                         <li>
60                                 Major operations, which specify a mode of operation like listing blocks, removing blocks, etc.  These will have sub-operations describing exactly what is to be done.
61                         </li>
62                         <li>
63                                 Shorthand operations, which are convenient synonyms for major operations.  For example, there is a shorthand operation <span class="argument">--show-sample-rate</span> that shows just the sample rate field from the <span class="code">STREAMINFO</span> metadata block.
64                         </li>
65                         <li>
66                                 Global options, which affect all the operations.
67                         </li>
68                 </ul>
69                 All of these are described in the tables below.  At least one shorthand or major operation must be supplied.  You can use multiple shorthand operations to do more than one thing to a file or set of files.  Most of the common things to do to metadata have shorthand operations.  As an example, here is how to show the MD5 signatures for a set of three FLAC files:<br />
70                 <br />
71                 <span class="code">metaflac --show-md5sum file1.flac file2.flac file3.flac</span><br />
72                 <br />
73                 Another example; this removes all DESCRIPTION and COMMENT tags in a set of FLAC files, and uses the <span class="argument">--preserve-modtime</span> global option to keep the FLAC file modification times the same (usually when files are edited the modification time is set to the current time):<br />
74                 <br />
75                 <span class="code">metaflac --preserve-modtime --remove-tag=DESCRIPTION --remove-tag=COMMENT file1.flac file2.flac file3.flac</span><br />
76                 <br />
77
78                 <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#EEEED4"><tr><td>
79                 <table width="100%" border="1" bgcolor="#EEEED4">
80                         <tr>
81                                 <td colspan="2" bgcolor="#D3D4C5">
82                                         <a name="global_options"><font size="+1"><b>Global Options</b></font></a>
83                                 </td>
84                         </tr>
85                         <tr>
86                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
87                                         <a name="metaflac_options_preserve_modtime" />
88                                         <span class="argument">--preserve-modtime</span>
89                                 </td>
90                                 <td>
91                                         Preserve the original modification time in spite of edits.
92                                 </td>
93                         </tr>
94                         <tr>
95                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
96                                         <a name="metaflac_options_with_filename" />
97                                         <span class="argument">--with-filename</span>
98                                 </td>
99                                 <td>
100                                         Prefix each output line with the FLAC file name (the default if more than one FLAC file is specified).
101                                 </td>
102                         </tr>
103                         <tr>
104                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
105                                         <a name="metaflac_options_no_filename" />
106                                         <span class="argument">--no-filename</span>
107                                 </td>
108                                 <td>
109                                         Do not prefix each output line with the FLAC file name (the default if only one FLAC file is specified)
110                                 </td>
111                         </tr>
112                         <tr>
113                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
114                                         <a name="metaflac_options_no_utf8_convert" />
115                                         <span class="argument">--no-utf8-convert</span>
116                                 </td>
117                                 <td>
118                                         Do not convert tags from UTF-8 to local charset, or vice versa.  This is useful for scripts, and setting tags in situations where the locale is wrong.
119                                 </td>
120                         </tr>
121                         <tr>
122                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
123                                         <a name="metaflac_options_dont_use_padding" />
124                                         <span class="argument">--dont-use-padding</span>
125                                 </td>
126                                 <td>
127                                         By default <span class="commandname">metaflac</span> tries to use padding where possible to avoid rewriting the entire file if the metadata size changes.  Use this option to tell metaflac to not take advantage of padding this way.
128                                 </td>
129                         </tr>
130                 </table>
131                 </td></tr></table>
132
133                 <br />
134
135                 <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#EEEED4"><tr><td>
136                 <table width="100%" border="1" bgcolor="#EEEED4">
137                         <tr>
138                                 <td colspan="2" bgcolor="#D3D4C5">
139                                         <a name="shorthand_operations"><font size="+1"><b>Shorthand Operations</b></font></a>
140                                 </td>
141                         </tr>
142                         <tr>
143                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
144                                         <a name="metaflac_shorthand_show_md5sum" />
145                                         <span class="argument">--show-md5sum</span>
146                                 </td>
147                                 <td>
148                                         Show the MD5 signature from the <span class="code">STREAMINFO</span> block.
149                                 </td>
150                         </tr>
151                         <tr>
152                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
153                                         <a name="metaflac_shorthand_show_min_blocksize" />
154                                         <span class="argument">--show-min-blocksize</span>
155                                 </td>
156                                 <td>
157                                         Show the minimum block size from the <span class="code">STREAMINFO</span> block.
158                                 </td>
159                         </tr>
160                         <tr>
161                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
162                                         <a name="metaflac_shorthand_show_max_blocksize" />
163                                         <span class="argument">--show-max-blocksize</span>
164                                 </td>
165                                 <td>
166                                         Show the maximum block size from the <span class="code">STREAMINFO</span> block.
167                                 </td>
168                         </tr>
169                         <tr>
170                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
171                                         <a name="metaflac_shorthand_show_min_framesize" />
172                                         <span class="argument">--show-min-framesize</span>
173                                 </td>
174                                 <td>
175                                         Show the minimum frame size from the <span class="code">STREAMINFO</span> block.
176                                 </td>
177                         </tr>
178                         <tr>
179                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
180                                         <a name="metaflac_shorthand_show_max_framesize" />
181                                         <span class="argument">--show-max-framesize</span>
182                                 </td>
183                                 <td>
184                                         Show the maximum frame size from the <span class="code">STREAMINFO</span> block.
185                                 </td>
186                         </tr>
187                         <tr>
188                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
189                                         <a name="metaflac_shorthand_show_sample_rate" />
190                                         <span class="argument">--show-sample-rate</span>
191                                 </td>
192                                 <td>
193                                         Show the sample rate from the <span class="code">STREAMINFO</span> block.
194                                 </td>
195                         </tr>
196                         <tr>
197                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
198                                         <a name="metaflac_shorthand_show_channels" />
199                                         <span class="argument">--show-channels</span>
200                                 </td>
201                                 <td>
202                                         Show the number of channels from the <span class="code">STREAMINFO</span> block.
203                                 </td>
204                         </tr>
205                         <tr>
206                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
207                                         <a name="metaflac_shorthand_show_bps" />
208                                         <span class="argument">--show-bps</span>
209                                 </td>
210                                 <td>
211                                         Show the # of bits per sample from the <span class="code">STREAMINFO</span> block.
212                                 </td>
213                         </tr>
214                         <tr>
215                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
216                                         <a name="metaflac_shorthand_show_total_samples" />
217                                         <span class="argument">--show-total-samples</span>
218                                 </td>
219                                 <td>
220                                         Show the total # of samples from the <span class="code">STREAMINFO</span> block.
221                                 </td>
222                         </tr>
223                         <tr>
224                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
225                                         <a name="metaflac_shorthand_show_vendor_tag" />
226                                         <span class="argument">--show-vendor-tag</span>
227                                 </td>
228                                 <td>
229                                         Show the vendor string from the <span class="code">VORBIS_COMMENT</span> block.
230                                 </td>
231                         </tr>
232                         <tr>
233                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
234                                         <a name="metaflac_shorthand_show_tag" />
235                                         <span class="argument">--show-tag=NAME</span>
236                                 </td>
237                                 <td>
238                                         Show all tags where the field name matches <span class="argument">NAME</span>.
239                                 </td>
240                         </tr>
241                         <tr>
242                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
243                                         <a name="metaflac_shorthand_remove_tag" />
244                                         <span class="argument">--remove-tag=NAME</span>
245                                 </td>
246                                 <td>
247                                         Remove all tags whose field name is <span class="argument">NAME</span>.
248                                 </td>
249                         </tr>
250                         <tr>
251                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
252                                         <a name="metaflac_shorthand_remove_first_tag" />
253                                         <span class="argument">--remove-first-tag=NAME</span>
254                                 </td>
255                                 <td>
256                                         Remove first tag whose field name is <span class="argument">NAME</span>.
257                                 </td>
258                         </tr>
259                         <tr>
260                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
261                                         <a name="metaflac_shorthand_remove_all_tags" />
262                                         <span class="argument">--remove-all-tags</span>
263                                 </td>
264                                 <td>
265                                         Remove all tags, leaving only the vendor string.
266                                 </td>
267                         </tr>
268                         <tr>
269                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
270                                         <a name="metaflac_shorthand_set_tag" />
271                                         <span class="argument">--set-tag=FIELD</span>
272                                 </td>
273                                 <td>
274                                         Add a tag.  The <span class="argument">FIELD</span> must comply with the Vorbis comment spec, of the form <span class="argument">NAME=VALUE</span>.  If there is currently no tag block, one will be created.
275                                 </td>
276                         </tr>
277                         <tr>
278                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
279                                         <a name="metaflac_shorthand_set_tag_from_file" />
280                                         <span class="argument">--set-tag-from-file=FIELD</span>
281                                 </td>
282                                 <td>
283                                         Like <a href="#metaflac_shorthand_set_tag"><span class="argument">--set-tag</span></a>, except the VALUE is a filename whose contents will be read verbatim to set the tag value.  Unless <a href="#metaflac_options_no_utf8_convert"><span class="argument">--no-utf8-convert</span></a> is specified, the contents will be converted to UTF-8 from the local charset.  This can be used to store a cuesheet in a tag (e.g. <span class="argument">--set-tag-from-file="CUESHEET=image.cue"</span>).  Do not try to store binary data in tag fields!  Use APPLICATION blocks for that.
284                                 </td>
285                         </tr>
286                         <tr>
287                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
288                                         <a name="metaflac_shorthand_import_tags_from" />
289                                         <span class="argument">--import-tags-from=FILE</span>
290                                 </td>
291                                 <td>
292                                         Import tags from a file.  Use <span class="argument">-</span> for stdin.  Each line should be of the form <span class="argument">NAME=VALUE</span>.  Multi-line comments are currently not supported.  Specify <span class="argument">--remove-all-tags</span> and/or <a href="#metaflac_options_no_utf8_convert"><span class="argument">--no-utf8-convert</span></a> before <span class="argument">--import-tags-from</span> if necessary.  If <span class="argument">FILE</span> is <span class="argument">-</span> (stdin), only one FLAC file may be specified.
293                                 </td>
294                         </tr>
295                         <tr>
296                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
297                                         <a name="metaflac_shorthand_export_tags_to" />
298                                         <span class="argument">--export-tags-to=FILE</span>
299                                 </td>
300                                 <td>
301                                         Export tags to a file.  Use <span class="argument">-</span> for stdin.  Each line will be of the form <span class="argument">NAME=VALUE</span>.  Specify <a href="#metaflac_options_no_utf8_convert"><span class="argument">--no-utf8-convert</span></a> if necessary.
302                                 </td>
303                         </tr>
304                         <tr>
305                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
306                                         <a name="metaflac_shorthand_import_cuesheet_from" />
307                                         <span class="argument">--import-cuesheet-from=FILE</span>
308                                 </td>
309                                 <td>
310                                         Import a cuesheet from a file.  Use <span class="argument">-</span> for stdin.  Only one FLAC file may be specified.  A seekpoint will be added for each index point in the cuesheet to the <span class="code">SEEKTABLE</span> unless <span class="argument">--no-cued-seekpoints</span> is specified.
311                                 </td>
312                         </tr>
313                         <tr>
314                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
315                                         <a name="metaflac_shorthand_export_cuesheet_to" />
316                                         <span class="argument">--export-cuesheet-to=FILE</span>
317                                 </td>
318                                 <td>
319                                         Export <span class="code">CUESHEET</span> block to a cuesheet file, suitable for use by CD authoring software.  Use <span class="argument">-</span> for stdout.  Only one FLAC file may be specified on the command line.
320                                 </td>
321                         </tr>
322                         <tr>
323                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
324                                         <a name="metaflac_shorthand_import_picture_from" />
325                                         <span class="argument">--import-picture-from={FILENAME|SPECIFICATION}</span>
326                                 </td>
327                                 <td>
328                                         Import a picture and store it in a <a href="format.html#def_PICTURE"><span class="code">PICTURE</span></a> metadata block.  See the <span class="commandname">flac</span> option <span class="argument"><a href="documentation_tools_flac.html#flac_options_picture">--picture</a></span> for an explanation of the <span class="argument">SPECIFICATION</span> syntax.
329                                 </td>
330                         </tr>
331                         <tr>
332                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
333                                         <a name="metaflac_shorthand_export_picture_to" />
334                                         <span class="argument">--export-picture-to=FILE</span>
335                                 </td>
336                                 <td>
337                                         Export <span class="code">PICTURE</span> block to a file.  Use <span class="argument">-</span> for stdout.  Only one FLAC file may be specified on the command line.  The first <span class="code">PICTURE</span> block will be exported unless <span class="argument">--export-picture-to</span> is preceded by a <span class="argument">--block-number=#</span> option to specify the exact metadata block to extract.  Note that the block number is the one shown by --list.
338                                 </td>
339                         </tr>
340                         <tr>
341                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
342                                         <a name="metaflac_shorthand_add_replay_gain" />
343                                         <span class="argument">--add-replay-gain</span>
344                                 </td>
345                                 <td>
346                                         Calculates the title and album gains/peaks of the given FLAC files as if all the files were part of one album, then stores them as FLAC tags.  The tags are the same as those used by <span class="commandname">vorbisgain</span>.  Existing ReplayGain tags will be replaced.  If only one FLAC file is given, the album and title gains will be the same.  Since this operation requires two passes, it is always executed last, after all other operations have been completed and written to disk.  All FLAC files specified must have the same resolution, sample rate, and number of channels.  The sample rate must be one of 8, 11.025, 12, 16, 22.05, 24, 32, 44.1, or 48 kHz.
347                                 </td>
348                         </tr>
349                         <tr>
350                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
351                                         <a name="metaflac_shorthand_add_replay_gain_scan" />
352                                         <span class="argument">--scan-replay-gain</span>
353                                 </td>
354                                 <td>
355                                         Like <span class="argument">--add-replay-gain</span>, but only analyzes the files rather than writing them to the tags.
356                                 </td>
357                         </tr>
358                         <tr>
359                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
360                                         <a name="metaflac_shorthand_remove_replay_gain" />
361                                         <span class="argument">--remove-replay-gain</span>
362                                 </td>
363                                 <td>
364                                         Removes the ReplayGain tags.
365                                 </td>
366                         </tr>
367                         <tr>
368                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
369                                         <a name="metaflac_shorthand_add_seekpoint" />
370                                         <span class="argument">--add-seekpoint={#|X|#x|#s}</span>
371                                 </td>
372                                 <td>
373                                         Add seek points to a <span class="code">SEEKTABLE</span> block:<br />
374                                         <ul>
375                                         <li>
376                                                 <span class="argument">#&nbsp;</span> : a specific sample number for a seek point
377                                         </li>
378                                         <li>
379                                                 <span class="argument">X&nbsp;</span> : a placeholder point (always goes at the end of the <span class="code">SEEKTABLE</span>)
380                                         </li>
381                                         <li>
382                                                 <span class="argument">#x</span> : # evenly spaced seekpoints, the first being at sample 0
383                                         </li>
384                                         <li>
385                                                 <span class="argument">#s</span> : a seekpoint every # seconds; # does not have to be a whole number, it can be, for example, <span class="argument">9.5</span>, meaning a seekpoint every 9.5 seconds
386                                         </li>
387                                         </ul>
388                                         If no <span class="code">SEEKTABLE</span> block exists, one will be created.  If one already exists, points will be added to the existing table, and any duplicates will be turned into placeholder points.<br />
389                                         You may use many <span class="argument">--add-seekpoint</span> options; the resulting <span class="code">SEEKTABLE</span> will be the unique-ified union of all such values.  Example: <span class="argument">--add-seekpoint=100x --add-seekpoint=3.5s</span> will add 100 evenly spaced seekpoints and a seekpoint every 3.5 seconds.<br />
390                                 </td>
391                         </tr>
392                         <tr>
393                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
394                                         <a name="metaflac_shorthand_add_padding" />
395                                         <span class="argument">--add-padding=#</span>
396                                 </td>
397                                 <td>
398                                         Add a padding block of the given length (in bytes).  The overall length of the new block will be 4 + length; the extra 4 bytes is for the metadata block header.
399                                 </td>
400                         </tr>
401                 </table>
402                 </td></tr></table>
403
404                 <br />
405
406                 <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#EEEED4"><tr><td>
407                 <table width="100%" border="1" bgcolor="#EEEED4">
408                         <tr>
409                                 <td colspan="2" bgcolor="#D3D4C5">
410                                         <a name="major_operations"><font size="+1"><b>Major Operations</b></font></a>
411                                 </td>
412                         </tr>
413                         <tr>
414                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
415                                         <a name="metaflac_operations_version" />
416                                         <span class="argument">--version</span>
417                                 </td>
418                                 <td>
419                                         Show the metaflac version number.
420                                 </td>
421                         </tr>
422                         <tr>
423                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
424                                         <a name="metaflac_operations_list" />
425                                         <span class="argument">--list</span>
426                                 </td>
427                                 <td>
428                                         List the contents of one or more metadata blocks to stdout.  By default, all metadata blocks are listed in text format.  Use the following options to change this behavior:<br />
429                                         <br />
430
431                                         <span class="argument">--block-number=#[,#[...]]</span><br />
432                                         An optional comma-separated list of block numbers to display.  The first block, the <span class="code">STREAMINFO</span> block, is block 0.<br />
433                                         <br />
434
435                                         <span class="argument">--block-type=type[,type[...]]</span><br />
436                                         <span class="argument">--except-block-type=type[,type[...]]</span><br />
437                                         An optional comma-separated list of block types to be included or ignored with this option.  Use only one of <span class="argument">--block-type</span> or <span class="argument">--except-block-type</span>.  The valid block types are: <span class="code">STREAMINFO</span>, <span class="code">PADDING</span>, <span class="code">APPLICATION</span>, <span class="code">SEEKTABLE</span>, <span class="code">VORBIS_COMMENT</span>.  You may narrow down the types of <span class="code">APPLICATION</span> blocks displayed as follows:<br />
438                                         <table border="1">
439                                                 <tr>
440                                                         <td><span class="argument">APPLICATION:abcd</span></td>
441                                                         <td>The <span class="code">APPLICATION</span> block(s) whose textual representation of the 4-byte ID is "abcd"</td>
442                                                 </tr>
443                                                 <tr>
444                                                         <td><span class="argument">APPLICATION:0xXXXXXXXX</span></td>
445                                                         <td>The <span class="code">APPLICATION</span> block(s) whose hexadecimal big- endian representation of the 4-byte ID is "0xXXXXXXXX".  For the example "abcd" above the hexadecimal equivalalent is 0x61626364</td>
446                                                 </tr>
447                                         </table>
448                                         <br />
449
450                                         NOTE: if both <span class="argument">--block-number</span> and <span class="argument">--[except-]block-type</span> are specified, the result is the logical AND of both arguments.<br />
451                                         <br />
452
453                                         <span class="argument">--application-data-format=hexdump|text</span><br />
454                                         If the application block you are displaying contains binary data but your <span class="argument">--data-format=text</span>, you can display a hex dump of the application data contents instead using <span class="argument">--application-data-format=hexdump</span>.
455                                 </td>
456                         </tr>
457                         <tr>
458                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
459                                         <a name="metaflac_operations_remove" />
460                                         <span class="argument">--remove</span>
461                                 </td>
462                                 <td>
463                                         Remove one or more metadata blocks from the metadata.  Unless <span class="argument">--dont-use-padding</span> is specified, the blocks will be replaced with padding.  You may not remove the <span class="code">STREAMINFO</span> block.<br />
464                                         <br />
465
466                                         <span class="argument">--block-number=#[,#[...]]</span><br />
467                                         <span class="argument">--block-type=type[,type[...]]</span><br />
468                                         <span class="argument">--except-block-type=type[,type[...]]</span><br />
469                                         See <a href="#metaflac_operations_list"><span class="argument">--list</span></a> above for usage.<br />
470                                         <br />
471
472                                         NOTE: if both <span class="argument">--block-number</span> and <span class="argument">--[except-]block-type</span> are specified, the result is the logical AND of both arguments.
473                                 </td>
474                         </tr>
475                         <tr>
476                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
477                                         <a name="metaflac_operations_remove_all" />
478                                         <span class="argument">--remove-all</span>
479                                 </td>
480                                 <td>
481                                         Remove all metadata blocks (except the <span class="code">STREAMINFO</span> block) from the metadata.  Unless <span class="argument">--dont-use-padding</span> is specified, the blocks will be replaced with padding.
482                                 </td>
483                         </tr>
484                         <tr>
485                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
486                                         <a name="metaflac_operations_merge_padding" />
487                                         <span class="argument">--merge-padding</span>
488                                 </td>
489                                 <td>
490                                         Merge adjacent <span class="code">PADDING</span> blocks into single blocks.
491                                 </td>
492                         </tr>
493                         <tr>
494                                 <td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
495                                         <a name="metaflac_operations_sort_padding" />
496                                         <span class="argument">--sort-padding</span>
497                                 </td>
498                                 <td>
499                                         Move all <span class="code">PADDING</span> blocks to the end of the metadata and merge them into a single block.
500                                 </td>
501                         </tr>
502                 </table>
503                 </td></tr></table>
504
505                 <br />
506                 <a name="option_index"><font size="+1"><b><u>Option Index</u></b></font></a><br />
507                 <br />
508                 <a href="#metaflac_shorthand_add_padding"><span class="argument">--add-padding</span></a><br />
509                 <a href="#metaflac_shorthand_add_replay_gain"><span class="argument">--add-replay-gain</span></a><br />
510                 <a href="#metaflac_shorthand_add_seekpoint"><span class="argument">--add-seekpoint</span></a><br />
511                 <a href="#metaflac_options_dont_use_padding"><span class="argument">--dont-use-padding</span></a><br />
512                 <a href="#metaflac_shorthand_export_cuesheet_to"><span class="argument">--export-cuesheet-to</span></a><br />
513                 <a href="#metaflac_shorthand_export_picture_to"><span class="argument">--export-picture-to</span></a><br />
514                 <a href="#metaflac_shorthand_export_tags_to"><span class="argument">--export-tags-to</span></a><br />
515                 <a href="#metaflac_shorthand_import_cuesheet_from"><span class="argument">--import-cuesheet-from</span></a><br />
516                 <a href="#metaflac_shorthand_import_picture_from"><span class="argument">--import-picture-from</span></a><br />
517                 <a href="#metaflac_shorthand_import_tags_from"><span class="argument">--import-tags-from</span></a><br />
518                 <a href="#metaflac_operations_list"><span class="argument">--list</span></a><br />
519                 <a href="#metaflac_operations_merge_padding"><span class="argument">--merge-padding</span></a><br />
520                 <a href="#metaflac_options_no_filename"><span class="argument">--no-filename</span></a><br />
521                 <a href="#metaflac_options_no_utf8_convert"><span class="argument">--no-utf8-convert</span></a><br />
522                 <a href="#metaflac_options_preserve_modtime"><span class="argument">--preserve-modtime</span></a><br />
523                 <a href="#metaflac_shorthand_remove_all_tags"><span class="argument">--remove-all-tags</span></a><br />
524                 <a href="#metaflac_operations_remove_all"><span class="argument">--remove-all</span></a><br />
525                 <a href="#metaflac_shorthand_remove_first_tag"><span class="argument">--remove-first-tag</span></a><br />
526                 <a href="#metaflac_shorthand_remove_replay_gain"><span class="argument">--remove-replay-gain</span></a><br />
527                 <a href="#metaflac_shorthand_remove_tag"><span class="argument">--remove-tag</span></a><br />
528                 <a href="#metaflac_operations_remove"><span class="argument">--remove</span></a><br />
529                 <a href="#metaflac_shorthand_scan_replay_gain"><span class="argument">--scan-replay-gain</span></a><br />
530                 <a href="#metaflac_shorthand_set_tag_from_file"><span class="argument">--set-tag-from-file</span></a><br />
531                 <a href="#metaflac_shorthand_set_tag"><span class="argument">--set-tag</span></a><br />
532                 <a href="#metaflac_shorthand_show_bps"><span class="argument">--show-bps</span></a><br />
533                 <a href="#metaflac_shorthand_show_channels"><span class="argument">--show-channels</span></a><br />
534                 <a href="#metaflac_shorthand_show_max_blocksize"><span class="argument">--show-max-blocksize</span></a><br />
535                 <a href="#metaflac_shorthand_show_max_framesize"><span class="argument">--show-max-framesize</span></a><br />
536                 <a href="#metaflac_shorthand_show_md5sum"><span class="argument">--show-md5sum</span></a><br />
537                 <a href="#metaflac_shorthand_show_min_blocksize"><span class="argument">--show-min-blocksize</span></a><br />
538                 <a href="#metaflac_shorthand_show_min_framesize"><span class="argument">--show-min-framesize</span></a><br />
539                 <a href="#metaflac_shorthand_show_sample_rate"><span class="argument">--show-sample-rate</span></a><br />
540                 <a href="#metaflac_shorthand_show_tag"><span class="argument">--show-tag</span></a><br />
541                 <a href="#metaflac_shorthand_show_total_samples"><span class="argument">--show-total-samples</span></a><br />
542                 <a href="#metaflac_shorthand_show_vendor_tag"><span class="argument">--show-vendor-tag</span></a><br />
543                 <a href="#metaflac_operations_sort_padding"><span class="argument">--sort-padding</span></a><br />
544                 <a href="#metaflac_operations_version"><span class="argument">--version</span></a><br />
545                 <a href="#metaflac_options_with_filename"><span class="argument">--with-filename</span></a><br />
546
547         </div>
548         <div class="box_footer"></div>
549 </div>
550
551
552 <div class="copyright">
553         <!-- @@@ oh so hacky -->
554         <table>
555                 <tr>
556                         <td align="left">
557                                 Copyright (c) 2000-2009  Josh Coalson
558                                 <br/>
559                                 Copyright (c) 2011-2016  Xiph.Org Foundation
560                         </td>
561                         <td width="1%" align="right">
562                                 <a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" border="0" hspace="0" /></a>
563                         </td>
564                 </tr>
565         </table>
566 </div>
567
568 </body>
569 </html>