📄 metaflac.1
字号:
.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at:.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng <steve@ggi-project.org>..TH "METAFLAC" "1" "02 February 2005" "" "".SH NAMEmetaflac \- program to list, add, remove, or edit metadata in one or more FLAC files..SH SYNOPSIS\fBmetaflac\fR [ \fB\fIoptions\fB\fR ] [ \fB\fIoperations\fB\fR ] \fB\fIFLACfile\fB\fR\fI ...\fR.SH "DESCRIPTION".PPUse \fBmetaflac\fR to list, add, remove, or editmetadata in one or more FLAC files. You may perform one major operation,or many shorthand operations at a time..SH "OPTIONS".TP\fB--preserve-modtime\fRPreserve the original modification time in spite of edits..TP\fB--with-filename\fRPrefix each output line with the FLAC file name (the default ifmore than one FLAC file is specified)..TP\fB--no-filename\fRDo not prefix each output line with the FLAC file name (the defaultif only one FLAC file is specified)..TP\fB--dont-use-padding\fRBy default metaflac tries to use padding where possible to avoidrewriting the entire file if the metadata size changes. Use thisoption to tell metaflac to not take advantage of padding this way..SH "SHORTHAND OPERATIONS".TP\fB--show-md5sum\fRShow the MD5 signature from the STREAMINFO block..TP\fB--show-min-blocksize\fRShow the minimum block size from the STREAMINFO block..TP\fB--show-max-blocksize\fRShow the maximum block size from the STREAMINFO block..TP\fB--show-min-framesize\fRShow the minimum frame size from the STREAMINFO block..TP\fB--show-max-framesize\fRShow the maximum frame size from the STREAMINFO block..TP\fB--show-sample-rate\fRShow the sample rate from the STREAMINFO block..TP\fB--show-channels\fRShow the number of channels from the STREAMINFO block..TP\fB--show-bps\fRShow the # of bits per sample from the STREAMINFO block..TP\fB--show-total-samples\fRShow the total # of samples from the STREAMINFO block..TP\fB--show-vendor-tag\fRShow the vendor string from the VORBIS_COMMENT block..TP\fB--show-tag=name\fRShow all tags where the the field name matches 'name'..TP\fB--remove-tag=name\fRRemove all tags whose field name is 'name'..TP\fB--remove-first-tag=name\fRRemove first tag whose field name is 'name'..TP\fB--remove-all-tags\fRRemove all tags, leaving only the vendor string..TP\fB--set-tag=field\fRAdd a tag. The field must comply with theVorbis comment spec, of the form "NAME=VALUE". If there iscurrently no tag block, one will be created..TP\fB--import-tags-from=file\fRImport tags from a file. Use '-' for stdin. Eachline should be of the form NAME=VALUE. Multi-line commentsare currently not supported. Specify --remove-all-tags and/or--no-utf8-convert before --import-tags-from if necessary..TP\fB--export-tags-to=file\fRExport tags to a file. Use '-' for stdin. Eachline will be of the form NAME=VALUE. Specify--no-utf8-convert if necessary..TP\fB--import-cuesheet-from=file\fRImport a cuesheet from a file. Use '-' for stdin. Only oneFLAC file may be specified. A seekpoint will be added for eachindex point in the cuesheet to the SEEKTABLE unless--no-cued-seekpoints is specified..TP\fB--export-cuesheet-to=file\fRExport CUESHEET block to a cuesheet file, suitable for use byCD authoring software. Use '-' for stdout. Only one FLAC filemay be specified on the command line..TP\fB--add-replay-gain\fRCalculates the title and album gains/peaks of the given FLACfiles as if all the files were part of one album, then storesthem in the VORBIS_COMMENT block. The tags are the same asthose used by vorbisgain. Existing ReplayGain tags will bereplaced. If only one FLAC file is given, the album and titlegains will be the same. Since this operation requires twopasses, it is always executed last, after all other operationshave been completed and written to disk. All FLAC filesspecified must have the same resolution, sample rate, andnumber of channels. The sample rate must be one of 8, 11.025,12, 16, 22.05, 24, 32, 44.1, or 48 kHz..TP\fB--add-seekpoint={\fI#\fB|\fIX\fB|\fI#x\fB|\fI#s\fB}\fRAdd seek points to a SEEKTABLE block. Using #, a seek point atthat sample number is added. Using X, a placeholder point isadded at the end of a the table. Using #x, # evenly spaced seekpoints will be added, the first being at sample 0. Using #s, aseekpoint will be added every # seconds (# does not have to be awhole number; it can be, for example, 9.5, meaning a seekpointevery 9.5 seconds). If no SEEKTABLE block exists, one will becreated. If one already exists, points will be added to theexisting table, and any duplicates will be turned into placeholderpoints. You may use many --add-seekpoint options; the resultingSEEKTABLE will be the unique-ified union of all such values.Example: --add-seekpoint=100x --add-seekpoint=3.5s will add 100evenly spaced seekpoints and a seekpoint every 3.5 seconds..TP\fB--add-padding=length\fRAdd a padding block of the given length (in bytes). The overalllength of the new block will be 4 + length; the extra 4 bytes isfor the metadata block header..SH "MAJOR OPERATIONS".TP\fB--list\fRList the contents of one or more metadata blocks to stdout. Bydefault, all metadata blocks are listed in text format. Use thefollowing options to change this behavior:.RS.TP\fB--block-number=#[,#[...]]\fRAn optional comma-separated list of block numbers to display.The first block, the STREAMINFO block, is block 0..TP\fB--block-type=type[,type[...]]\fR.TP\fB--except-block-type=type[,type[...]]\fRAn optional comma-separated list of block types to be includedor ignored with this option. Use only one of --block-type or--except-block-type. The valid block types are: STREAMINFO,PADDING, APPLICATION, SEEKTABLE, VORBIS_COMMENT. You maynarrow down the types of APPLICATION blocks displayed asfollows:APPLICATION:abcd The APPLICATION block(s) whose textual repre-sentation of the 4-byte ID is "abcd"APPLICATION:0xXXXXXXXX The APPLICATION block(s) whose hexadecimal big-endian representation of the 4-byte ID is"0xXXXXXXXX". For the example "abcd" above thehexadecimal equivalalent is 0x61626364.sp.RS.B "Note:"if both --block-number and --[except-]block-type arespecified, the result is the logical AND of botharguments..RE.TP\fB--application-data-format=hexdump|text\fRIf the application block you are displaying contains binarydata but your --data-format=text, you can display a hex dumpof the application data contents instead using--application-data-format=hexdump..RE.TP\fB--remove\fRRemove one or more metadata blocks from the metadata. Unless--dont-use-padding is specified, the blocks will be replaced withpadding. You may not remove the STREAMINFO block..RS.TP\fB--block-number=#[,#[...]]\fR.TP\fB--block-type=type[,type[...]]\fR.TP\fB--except-block-type=type[,type[...]]\fRSee --list above for usage..sp.RS.B "Note:"if both --block-number and --[except-]block-type arespecified, the result is the logical AND of both arguments..RE.RE.TP\fB--remove-all\fRRemove all metadata blocks (except the STREAMINFO block) from themetadata. Unless --dont-use-padding is specified, the blocks willbe replaced with padding..TP\fB--merge-padding\fRMerge adjacent PADDING blocks into single blocks..TP\fB--sort-padding\fRMove all PADDING blocks to the end of the metadata and merge theminto a single block..SH "SEE ALSO".PPflac(1).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -