Skip to content

Commit d6d0a4c

Browse files
authored
Update flac.md : fix -q, some reshuffling, minor rephrasing.
1 parent 4c57829 commit d6d0a4c

File tree

1 file changed

+33
-30
lines changed

1 file changed

+33
-30
lines changed

man/flac.md

Lines changed: 33 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -324,11 +324,6 @@ negated, see the **Negative options** section below.
324324
sign means that the \--until point is taken relative to the \--skip
325325
point. For other considerations, see \--skip.
326326

327-
**\--no-utf8-convert**
328-
: Do not convert tags from local charset to UTF-8. This is useful for
329-
scripts, and setting tags in situations where the locale is wrong.
330-
This option must appear before any tag options!
331-
332327
**-s**, **\--silent**
333328
: Silent mode (do not write runtime encode/decode statistics to stderr)
334329

@@ -426,10 +421,12 @@ Encoding will default to -5, -A "tukey(5e-1)" and one CPU thread.
426421
for subset streams with higher samplerates it must be \<= 16384.
427422

428423
**-m**, **\--mid-side**
429-
: Try mid-side coding for each frame (stereo only, otherwise ignored).
424+
: Try mid-side coding for each frame in addition to left and right, and
425+
select the best compression. (Stereo only, ignored otherwise.)
430426

431427
**-M**, **\--adaptive-mid-side**
432-
: Adaptive mid-side coding for all frames (stereo only, otherwise ignored).
428+
: Adaptive choice of mid-side coding (stereo only, ignored otherwise);
429+
faster than -m, but slightly weaker compression.
433430

434431
**-r** \[\#,\]\#, **\--rice-partition-order**=\[\#,\]\#
435432
: Set the \[min,\]max residual partition order (0..15). For subset
@@ -445,20 +442,19 @@ Encoding will default to -5, -A "tukey(5e-1)" and one CPU thread.
445442
: Do exhaustive model search (expensive!).
446443

447444
**-q** \#, **\--qlp-coeff-precision**=\#
448-
: Precision of the quantized linear-predictor coefficients. This number
449-
must be in between 5 and 16, or 0 (the default) to let encoder decide.
450-
Does nothing if using -l 0.
445+
: Set precision (in bits) of the quantized linear-predictor
446+
coefficients, 5\<=\#\<=15 or the default 0 to let encoder decide.
447+
Does nothing if using -l 0. The encoder may reduce the actual
448+
quantization below the \# number by signal and prediction order.
451449

452450
**-p**, **\--qlp-coeff-precision-search**
453-
: Do exhaustive search of LP coefficient quantization (expensive!).
451+
: Do exhaustive search of LP coefficient precision (expensive!).
454452
Overrides -q; does nothing if using -l 0.
455453

456454
**\--lax**
457-
: Allow encoder to generate non-Subset files. The resulting FLAC file
458-
may not be streamable or might have trouble being played in all
459-
players (especially hardware devices), so you should only use this
460-
option in combination with custom encoding options meant for
461-
archival.
455+
: Allow encoding to non-*subset* FLAC files (see format specification).
456+
WARNING: may cause some applications (especially legacy hardware
457+
devices) to fail streaming or playback.
462458

463459
**\--limit-min-bitrate**
464460
: Limit minimum bitrate by not allowing frames consisting of only
@@ -513,6 +509,27 @@ Encoding will default to -5, -A "tukey(5e-1)" and one CPU thread.
513509
Specifying only *FILENAME* is just shorthand for "\|\|\|\|FILENAME".
514510
See the section **Picture specification** for *SPECIFICATION* format.
515511

512+
**\--no-utf8-convert**
513+
: Upon tagging, do not convert tags from local charset to UTF-8. This
514+
is useful for scripts, and for setting tags in situations where the
515+
locale is wrong. This option must appear *before* any tag options!
516+
517+
**-T** "*FIELD=VALUE*"**, \--tag**="*FIELD=VALUE*"
518+
: Add a FLAC tag. The comment must adhere to the Vorbis comment spec;
519+
i.e. the FIELD must contain only legal characters, terminated by an
520+
'equals' sign. Make sure to quote the content if necessary. This
521+
option may appear more than once to add several Vorbis comments.
522+
NOTE: all tags will be added to all encoded files. Upon re-encoding,
523+
all existing tags will be lost, not only those set with -T / \--tag.
524+
525+
**\--tag-from-file**="*FIELD=FILENAME*"
526+
: Like \--tag, except FILENAME is a file whose contents will be read
527+
verbatim to set the tag value. The contents will be converted to
528+
UTF-8 from the local charset. This can be used to store a cuesheet
529+
in a tag (e.g. \--tag-from-file="CUESHEET=image.cue").
530+
NOTE: Do not try to store binary data in tag fields! Use PICTURE
531+
blocks for pictures and APPLICATION blocks for other binary data.
532+
516533
**-S** {\#\|X\|\#x\|\#s}, **\--seekpoint**={\#\|X\|\#x\|\#s}
517534
: Specifies point(s) to include in SEEKTABLE, to override the encoder's
518535
default choice of one per ten seconds ('-s 10s'). Using \#, a seek point
@@ -538,20 +555,6 @@ Encoding will default to -5, -A "tukey(5e-1)" and one CPU thread.
538555
of having to rewrite the entire file. Note that a block header
539556
of 4 bytes will come on top of the length specified.
540557

541-
**-T** "*FIELD=VALUE*"**, \--tag**="*FIELD=VALUE*"
542-
: Add a FLAC tag. The comment must adhere to the Vorbis comment spec;
543-
i.e. the FIELD must contain only legal characters, terminated by an
544-
'equals' sign. Make sure to quote the content if necessary. This
545-
option may appear more than once to add several Vorbis comments.
546-
NOTE: all tags will be added to all encoded files.
547-
548-
**\--tag-from-file**="*FIELD=FILENAME*"
549-
: Like \--tag, except FILENAME is a file whose contents will be read
550-
verbatim to set the tag value. The contents will be converted to
551-
UTF-8 from the local charset. This can be used to store a cuesheet
552-
in a tag (e.g. \--tag-from-file="CUESHEET=image.cue"). Do not try to
553-
store binary data in tag fields! Use APPLICATION blocks for that.
554-
555558

556559
## FORMAT OPTIONS
557560

0 commit comments

Comments
 (0)