2016-08-26 14:19:03 +02:00
|
|
|
.\" Automatically generated by Pandoc 1.17.1
|
|
|
|
.\"
|
|
|
|
.TH "FDKAAC" "1" "November, 2013" "" ""
|
|
|
|
.hy
|
2013-11-04 04:14:52 +01:00
|
|
|
.SH NAME
|
2013-11-04 07:33:01 +01:00
|
|
|
.PP
|
2013-11-18 05:55:07 +01:00
|
|
|
fdkaac \- command line frontend for libfdk\-aac encoder
|
2013-11-04 04:14:52 +01:00
|
|
|
.SH SYNOPSIS
|
2013-11-04 07:33:01 +01:00
|
|
|
.PP
|
2016-08-26 14:19:03 +02:00
|
|
|
\f[B]fdkaac\f[] [OPTIONS] [FILE]
|
2013-11-04 04:14:52 +01:00
|
|
|
.SH DESCRIPTION
|
2013-11-04 07:33:01 +01:00
|
|
|
.PP
|
|
|
|
\f[B]fdkaac\f[] reads linear PCM audio in either WAV, raw PCM, or CAF
|
|
|
|
format, and encodes it into either M4A / AAC file.
|
|
|
|
.PP
|
2013-11-18 05:55:07 +01:00
|
|
|
If the input file is "\-", data is read from stdin.
|
|
|
|
Likewise, if the output file is "\-", data is written to stdout if one
|
|
|
|
of streamable AAC transport formats are selected by \f[B]\-f\f[].
|
2013-11-04 07:33:01 +01:00
|
|
|
.PP
|
2013-11-04 04:14:52 +01:00
|
|
|
When CAF input and M4A output is used, tags in CAF file are copied into
|
|
|
|
the resulting M4A.
|
|
|
|
.SH OPTIONS
|
2013-11-04 07:33:01 +01:00
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-h, \-\-help
|
2013-11-04 04:14:52 +01:00
|
|
|
Show command help
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-o <FILE>
|
2013-11-04 04:14:52 +01:00
|
|
|
Output filename.
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-p, \-\-profile <n>
|
2013-11-04 04:14:52 +01:00
|
|
|
Target profile (MPEG4 audio object type, AOT)
|
|
|
|
.RS
|
2013-11-04 07:33:01 +01:00
|
|
|
.TP
|
|
|
|
.B 2
|
2013-11-18 05:55:07 +01:00
|
|
|
MPEG\-4 AAC LC (default)
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 5
|
2013-11-18 05:55:07 +01:00
|
|
|
MPEG\-4 HE\-AAC (SBR)
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 29
|
2013-11-18 05:55:07 +01:00
|
|
|
MPEG\-4 HE\-AAC v2 (SBR+PS)
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 23
|
2013-11-18 05:55:07 +01:00
|
|
|
MPEG\-4 AAC LD
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 39
|
2013-11-18 05:55:07 +01:00
|
|
|
MPEG\-4 AAC ELD
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-b, \-\-bitrate <n>
|
2013-11-04 04:14:52 +01:00
|
|
|
Target bitrate (for CBR)
|
|
|
|
.RS
|
2013-11-04 07:33:01 +01:00
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-m, \-\-bitrate\-mode <n>
|
2013-11-04 07:33:01 +01:00
|
|
|
Bitrate configuration mode.
|
|
|
|
Available VBR quality value depends on other parameters such as profile,
|
|
|
|
sample rate, or number of channels.
|
|
|
|
.RS
|
|
|
|
.TP
|
|
|
|
.B 0
|
2013-11-04 04:14:52 +01:00
|
|
|
CBR (default)
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B 1\-5
|
|
|
|
VBR (higher value \-> higher bitrate)
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
2013-11-04 04:14:52 +01:00
|
|
|
.RE
|
2013-11-04 07:33:01 +01:00
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-w, \-\-bandwidth <n>
|
|
|
|
Frequency bandwidth (lowpass cut\-off frequency) in Hz.
|
2013-11-04 07:33:01 +01:00
|
|
|
Available on AAC LC only.
|
2013-11-04 04:14:52 +01:00
|
|
|
.RS
|
2013-11-04 07:33:01 +01:00
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-a, \-\-afterburner <n>
|
2013-11-04 07:33:01 +01:00
|
|
|
Configure afterburner mode.
|
|
|
|
When enabled, quality is increased at the expense of additional
|
|
|
|
computational workload.
|
|
|
|
.RS
|
|
|
|
.TP
|
|
|
|
.B 0
|
2013-11-04 04:14:52 +01:00
|
|
|
Off
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 1
|
2013-11-04 04:14:52 +01:00
|
|
|
On (default)
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
2013-11-04 04:14:52 +01:00
|
|
|
.RE
|
2013-11-04 07:33:01 +01:00
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-L, \-\-lowdelay\-sbr <n>
|
2013-11-04 04:14:52 +01:00
|
|
|
Configure SBR activity on AAC ELD.
|
|
|
|
.RS
|
2013-11-04 07:33:01 +01:00
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-1
|
2013-11-04 04:14:52 +01:00
|
|
|
Use ELD SBR auto configuration
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 0
|
2013-11-04 04:14:52 +01:00
|
|
|
Disable SBR on ELD (default)
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 1
|
2013-11-04 04:14:52 +01:00
|
|
|
Enable SBR on ELD
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
2013-11-04 04:14:52 +01:00
|
|
|
.RE
|
2013-11-04 07:33:01 +01:00
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-s, \-\-sbr\-ratio <n>
|
2013-11-04 07:33:01 +01:00
|
|
|
Controls activation of downsampled SBR.
|
2013-11-04 04:14:52 +01:00
|
|
|
.RS
|
2013-11-04 07:33:01 +01:00
|
|
|
.TP
|
|
|
|
.B 0
|
2013-11-04 04:14:52 +01:00
|
|
|
Use lib default (default)
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 1
|
2013-11-04 04:14:52 +01:00
|
|
|
Use downsampled SBR (default for ELD+SBR)
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
2013-11-04 04:14:52 +01:00
|
|
|
.RE
|
2013-11-04 07:33:01 +01:00
|
|
|
.TP
|
|
|
|
.B 2
|
2013-11-18 05:55:07 +01:00
|
|
|
Use dual\-rate SBR (default for HE\-AAC)
|
2013-11-04 04:14:52 +01:00
|
|
|
.RS
|
2013-11-04 07:33:01 +01:00
|
|
|
.RE
|
2013-11-04 04:14:52 +01:00
|
|
|
.PP
|
2013-11-18 05:55:07 +01:00
|
|
|
Dual\-rate SBR is what is normally used for HE\-AAC, where AAC is
|
|
|
|
encoded at half the sample rate of SBR, hence "dual rate".
|
2013-11-04 07:33:01 +01:00
|
|
|
On the other hand, downsampled SBR uses same sample rate for both of AAC
|
|
|
|
and SBR (single rate), therefore downsampled SBR typically consumes more
|
|
|
|
bitrate.
|
2013-11-04 04:14:52 +01:00
|
|
|
.PP
|
2013-11-04 07:33:01 +01:00
|
|
|
Downsampled SBR is newly introduced feature in FDK encoder library
|
|
|
|
version 3.4.12.
|
2013-11-18 05:55:07 +01:00
|
|
|
When libfdk\-aac in the system doesn\[aq]t support this, dual\-rate SBR
|
2013-11-04 07:33:01 +01:00
|
|
|
will be used.
|
2013-11-18 05:55:07 +01:00
|
|
|
When available, dual\-rate SBR is the default for HE\-AAC and
|
|
|
|
downsampled SBR is the default for ELD+SBR.
|
2013-11-04 04:14:52 +01:00
|
|
|
.PP
|
2013-11-18 05:55:07 +01:00
|
|
|
Note that downsampled HE\-AAC is not so common as dual\-rate one.
|
|
|
|
When downsampled HE\-AAC is selected, \f[B]fdkaac\f[] is forced to
|
|
|
|
choose explicit hierarchical SBR signaling, which (at least) iTunes
|
|
|
|
doesn\[aq]t accept.
|
2013-11-04 04:14:52 +01:00
|
|
|
.RE
|
2013-11-04 07:33:01 +01:00
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-f, \-\-transport\-format <n>
|
2013-11-04 04:14:52 +01:00
|
|
|
Transport format.
|
2013-11-04 07:33:01 +01:00
|
|
|
Tagging and gapless playback is only available on M4A.
|
|
|
|
Streaming to stdout is only available on others.
|
2013-11-04 04:14:52 +01:00
|
|
|
.RS
|
2013-11-04 07:33:01 +01:00
|
|
|
.TP
|
|
|
|
.B 0
|
2013-11-04 04:14:52 +01:00
|
|
|
M4A (default)
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 1
|
2013-11-04 04:14:52 +01:00
|
|
|
ADIF
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 2
|
2013-11-04 04:14:52 +01:00
|
|
|
ADTS
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 6
|
2013-11-04 04:14:52 +01:00
|
|
|
LATM MCP=1
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 7
|
2013-11-04 04:14:52 +01:00
|
|
|
LATM MCP=0
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 10
|
2013-11-04 04:14:52 +01:00
|
|
|
LOAS/LATM (LATM within LOAS)
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
2013-11-04 04:14:52 +01:00
|
|
|
.RE
|
2013-11-04 07:33:01 +01:00
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-C, \-\-adts\-crc\-check
|
2013-11-04 04:14:52 +01:00
|
|
|
Add CRC protection on ADTS header.
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-h, \-\-header\-period <n>
|
2013-11-08 15:18:20 +01:00
|
|
|
StreamMuxConfig/PCE repetition period in the transport layer.
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-G, \-\-gapless\-mode <n>
|
2013-11-04 07:33:01 +01:00
|
|
|
Method to declare amount of encoder delay (and padding) in M4A
|
|
|
|
container.
|
2013-11-04 04:14:52 +01:00
|
|
|
These values are mandatory for proper gapless playback on player side.
|
|
|
|
.RS
|
2013-11-04 07:33:01 +01:00
|
|
|
.TP
|
|
|
|
.B 0
|
2013-11-04 04:14:52 +01:00
|
|
|
iTunSMPB (default)
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 1
|
2013-11-04 04:14:52 +01:00
|
|
|
ISO standard (edts and sgpd)
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 2
|
2013-11-04 04:14:52 +01:00
|
|
|
Both
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
2013-11-04 04:14:52 +01:00
|
|
|
.RE
|
2013-11-04 07:33:01 +01:00
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-\-include\-sbr\-delay
|
2013-11-04 04:14:52 +01:00
|
|
|
When specified, count SBR decoder delay in encoder delay.
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.PP
|
2013-11-04 04:14:52 +01:00
|
|
|
This is not iTunes compatible and will lead to gapless playback issue on
|
|
|
|
LC only decoder, but this is the default behavior of FDK library.
|
2013-11-04 07:33:01 +01:00
|
|
|
.PP
|
2013-11-04 04:14:52 +01:00
|
|
|
Whether counting SBR decoder delay in encoder delay or not result in
|
2013-11-04 07:33:01 +01:00
|
|
|
incompatibility in gapless playback.
|
|
|
|
You should pick which one will work for your favorite player.
|
|
|
|
.PP
|
|
|
|
However, it\[aq]s better not to choose SBR at all if you want gapless
|
|
|
|
playback.
|
|
|
|
LC doesn\[aq]t have such issues.
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-I, \-\-ignorelength
|
2013-11-04 04:14:52 +01:00
|
|
|
Ignore length field of data chunk in input WAV file.
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-S, \-\-silent
|
2013-11-04 07:33:01 +01:00
|
|
|
Don\[aq]t print progress messages.
|
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-\-moov\-before\-mdat
|
2013-11-04 04:14:52 +01:00
|
|
|
Place moov box before mdat box in M4A container.
|
2013-11-04 07:33:01 +01:00
|
|
|
This option might be important for some hardware players, that are known
|
|
|
|
to refuse moov box placed after mdat box.
|
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-R, \-\-raw
|
2013-11-04 04:14:52 +01:00
|
|
|
Regard input as raw PCM.
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-\-raw\-channels <n>
|
2013-11-04 04:14:52 +01:00
|
|
|
Specify number of channels of raw input (default: 2)
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-\-raw\-rate <n>
|
2013-11-04 04:14:52 +01:00
|
|
|
Specify sample rate of raw input (default: 44100)
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-\-raw\-format <spec>
|
2013-11-04 04:14:52 +01:00
|
|
|
Specify sample format of raw input (default: "S16L").
|
2013-11-04 07:33:01 +01:00
|
|
|
\f[B]Spec\f[] is as the following (case insensitive):
|
|
|
|
.RS
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B 1st char \-\- type of sample
|
2013-11-04 07:33:01 +01:00
|
|
|
\f[B]S\f[] (igned) | \f[B]U\f[] (nsigned) | \f[B]F\f[] (loat)
|
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 2nd part (in digits)
|
2013-11-04 04:14:52 +01:00
|
|
|
bits per channel
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B Last char \-\- endianness (can be omitted)
|
2013-11-04 07:33:01 +01:00
|
|
|
\f[B]L\f[] (ittle, default) | \f[B]B\f[] (ig)
|
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-\-title <string>
|
2013-11-04 04:14:52 +01:00
|
|
|
Set title tag.
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-\-artist <string>
|
2013-11-04 04:14:52 +01:00
|
|
|
Set artist tag.
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-\-album <string>
|
2013-11-04 04:14:52 +01:00
|
|
|
Set album tag.
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-\-genre <string>
|
2013-11-04 04:14:52 +01:00
|
|
|
Set genre tag.
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-\-date <string>
|
2013-11-04 04:14:52 +01:00
|
|
|
Set date tag.
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-\-composer <string>
|
2013-11-04 04:14:52 +01:00
|
|
|
Set composer tag.
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-\-grouping <string>
|
2013-11-04 04:14:52 +01:00
|
|
|
Set grouping tag.
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-\-comment <string>
|
2013-11-04 04:14:52 +01:00
|
|
|
Set comment tag.
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-\-album\-artist <string>
|
2013-11-04 04:14:52 +01:00
|
|
|
Set album artist tag.
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-\-track <number[/total]>
|
2013-11-04 04:14:52 +01:00
|
|
|
Set track tag, with or without number of total tracks.
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-\-disk <number[/total]>
|
2013-11-04 04:14:52 +01:00
|
|
|
Set disk tag, with or without number of total discs.
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-\-tempo <n>
|
2013-11-04 04:14:52 +01:00
|
|
|
Set tempo (BPM) tag.
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-\-tag <fcc>:<value>
|
2013-11-04 04:14:52 +01:00
|
|
|
Set iTunes predefined tag with explicit fourcc key and value.
|
2013-11-18 05:55:07 +01:00
|
|
|
See <https://code.google.com/p/mp4v2/wiki/iTunesMetadata> for known
|
|
|
|
predefined keys.
|
2013-11-04 07:33:01 +01:00
|
|
|
You can omit first char of \f[B]fcc\f[] when it is the copyright sign.
|
2013-11-04 04:14:52 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
2013-11-04 07:33:01 +01:00
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-\-tag\-from\-file <fcc>:<filename>
|
|
|
|
Same as \-\-tag, but set content of file as tag value.
|
2013-11-04 04:14:52 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
2013-11-04 07:33:01 +01:00
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-\-long\-tag <name>:<value>
|
2013-11-04 07:33:01 +01:00
|
|
|
Set arbitrary tag as iTunes custom metadata.
|
|
|
|
Stored in com.apple.iTunes field.
|
2013-11-04 04:14:52 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
2013-11-04 07:33:01 +01:00
|
|
|
.TP
|
2013-11-18 05:55:07 +01:00
|
|
|
.B \-\-tag\-from\-json <filename[?dot_notation]>
|
2013-11-04 07:33:01 +01:00
|
|
|
Read tags from JSON.
|
|
|
|
By default, tags are assumed to be direct children of the root object in
|
|
|
|
JSON.
|
2013-11-08 15:18:20 +01:00
|
|
|
Optionally you can specify arbitrary dot notation to locate the object
|
2013-11-04 07:33:01 +01:00
|
|
|
containing tags.
|
2013-11-04 04:14:52 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
2013-11-04 07:33:01 +01:00
|
|
|
.SH EXAMPLES
|
|
|
|
.PP
|
|
|
|
Encode WAV file into a M4A file.
|
|
|
|
MPEG4 AAC LC, VBR quality 3:
|
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
\f[C]
|
2013-11-18 05:55:07 +01:00
|
|
|
fdkaac\ \-m3\ foo.wav
|
2013-11-04 07:33:01 +01:00
|
|
|
\f[]
|
|
|
|
.fi
|
|
|
|
.PP
|
|
|
|
Encode WAV file into a M4A file.
|
2013-11-18 05:55:07 +01:00
|
|
|
MPEG4 HE\-AAC, bitrate 64kbps:
|
2013-11-04 07:33:01 +01:00
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
\f[C]
|
2013-11-18 05:55:07 +01:00
|
|
|
fdkaac\ \-p5\ \-b64\ foo.wav
|
2013-11-04 07:33:01 +01:00
|
|
|
\f[]
|
|
|
|
.fi
|
|
|
|
.PP
|
|
|
|
Piping from \f[B]ffmpeg\f[] (you need version supporting CAF output):
|
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
\f[C]
|
2013-11-18 05:55:07 +01:00
|
|
|
ffmpeg\ \-i\ foo.flac\ \-f\ caf\ \-\ |\ fdkaac\ \-b128\ \-\ \-o\ foo.m4a
|
2013-11-04 07:33:01 +01:00
|
|
|
\f[]
|
|
|
|
.fi
|
|
|
|
.PP
|
|
|
|
Import tags via json:
|
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
\f[C]
|
2013-11-18 05:55:07 +01:00
|
|
|
ffprobe\ \-v\ 0\ \-of\ json\ \-show_format\ foo.flac\ >foo.json
|
2013-11-04 07:33:01 +01:00
|
|
|
|
2013-11-18 05:55:07 +01:00
|
|
|
flac\ \-dc\ foo.flac\ |\ \\
|
|
|
|
fdkaac\ \-\ \-ox.m4a\ \-m2\ \-\-import\-tag\-from\-json=foo.json?format.tags
|
2013-11-04 07:33:01 +01:00
|
|
|
\f[]
|
|
|
|
.fi
|
2013-11-04 04:14:52 +01:00
|
|
|
.SH NOTES
|
|
|
|
.PP
|
|
|
|
Upto 32bit integer or 64bit floating point format is supported as input.
|
2013-11-04 07:33:01 +01:00
|
|
|
However, FDK library is implemented based on fixed point math and only
|
|
|
|
supports 16bit integer PCM.
|
2013-11-08 15:18:20 +01:00
|
|
|
Therefore, be wary of clipping.
|
2013-11-04 07:33:01 +01:00
|
|
|
You might want to dither/noise shape beforehand when your input has
|
|
|
|
higher resolution.
|
2013-11-04 04:14:52 +01:00
|
|
|
.PP
|
|
|
|
Following channel layouts are supported by the encoder.
|
2013-11-04 07:33:01 +01:00
|
|
|
.TP
|
|
|
|
.B 1ch
|
2013-11-04 04:14:52 +01:00
|
|
|
C
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 2ch
|
2013-11-04 04:14:52 +01:00
|
|
|
L R
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 3ch
|
2013-11-04 04:14:52 +01:00
|
|
|
C L R
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 4ch
|
2013-11-04 04:14:52 +01:00
|
|
|
C L R Cs
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 5ch
|
2013-11-04 04:14:52 +01:00
|
|
|
C L R Ls Rs
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 5.1ch
|
2013-11-04 04:14:52 +01:00
|
|
|
C L R Ls Rs LFE
|
2013-11-04 07:33:01 +01:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 7.1ch (front)
|
|
|
|
C Lc Rc L R Ls Rs LFE
|
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B 7.1ch (rear)
|
|
|
|
C L R Ls Rs Rls Rrs LFE
|
|
|
|
.RS
|
2013-11-04 04:14:52 +01:00
|
|
|
.RE
|
|
|
|
.SH AUTHORS
|
2013-11-04 07:33:01 +01:00
|
|
|
nu774 <honeycomb77@gmail.com>.
|